adminReportModule

adminReportModule

class to handle report functions

Constructor

new adminReportModule()

Source:

Methods

(async, static) allEmailLogsAdmin(data) → {object}

Source:

Get All Logs data report

Parameters:
Name Type Description
data object

req.body object

Returns:

sql response

Type
object

(async, static) allTemplatesAdmin(data) → {object}

Source:

Get All Templates data report

Parameters:
Name Type Description
data object

req.body object

Returns:

sql response

Type
object

(async, static) allVehicleListUser(req, type, count) → {object}

Source:

Get All Product User Related Report

Parameters:
Name Type Description
req object

req object

type string

report type

count number

count for the pagination

Returns:

sql response

Type
object

(async, static) employeeRelatedExport(data) → {object}

Source:

Get All Employees data report

Parameters:
Name Type Description
data object

req.body object

Returns:

sql response

Type
object

(async, static) productRelatedReport(req, type, count) → {object}

Source:

Get Product Related Report

Parameters:
Name Type Description
req object

req object

type string

report type

count number

count for the pagination

Returns:

sql response

Type
object

(async, static) userRelatedExport(data) → {object}

Source:

Get All User Related data report

Parameters:
Name Type Description
data object

req.body object

Returns:

sql response

Type
object

(async, static) userRelatedReport(req, type, count) → {object}

Source:

Get User Related Report

Parameters:
Name Type Description
req object

req object

type string

report type

count number

count for the pagination

Returns:

sql response

Type
object