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) allPaidReports(req, action, count) → {object}

Source:

all Paid Reports

Parameters:
Name Type Description
req object

req object

action string

action

count number

count for the pagination

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) bidHistory(req) → {object}

Source:

total amount invoice report

Parameters:
Name Type Description
req Object

req.body object

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) employeeReport(req, type, count) → {object}

Source:

employee Report old

Parameters:
Name Type Description
req object

req.body object

type string

requst type

count number

count =1 limit result else fetch all result

Returns:

sql response

Type
object

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

Source:
Deprecated:
  • insted of this we are using employeeReport

employee Report old

Parameters:
Name Type Description
req object

req.body object

type string

requst type

count number

count =1 limit result else fetch all result

Returns:

sql response

Type
object

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

Source:

total amount invoice report

Parameters:
Name Type Description
req Object

req.body object

type string

requst type

count number

count =1 limit result else fetch all result

Returns:

sql response

Type
object

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

Source:
Deprecated:
  • insted of this we are using productRelatedAuctionLotReport

product related auction lot old

Parameters:
Name Type Description
req Object

req.body object

type string

requst type

count number

count =1 limit result else fetch all result

Returns:

sql response

Type
object

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

Source:

total amount invoice report

Parameters:
Name Type Description
req Object

req.body object

type string

requst type

count number

count =1 limit result else fetch all result

Returns:

sql response

Type
object

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

Source:

Get Product Related Report

Parameters:
Name Type Description
req object

req object

action string

action

count number

count for the pagination

Returns:

sql response

Type
object

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

Source:
Deprecated:
  • we are using ProductRelatedReport insted of this.

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) productRelatedSoldReport(req, type, count) → {object}

Source:

Get product related sold report

Parameters:
Name Type Description
req object

req.body object

type string

requst type

count number

no of results which we want to fetch

Returns:

sql response

Type
object

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

Source:

total amount invoice report

Parameters:
Name Type Description
req Object

req.body object

type string

requst type

count number

count =1 limit result else fetch all result

Returns:

sql response

Type
object

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

Source:

user depost report

Parameters:
Name Type Description
req object

req.body object

type string

requst type

count number

count =1 limit result else fetch all result

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

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

Source:
Deprecated:
  • we are using userRelatedReport insted of this

Get User Related Report old

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) userTranscationReport(req, type, count) → {object}

Source:

user Transcation report

Parameters:
Name Type Description
req object

req.body object

type string

requst type

count number

count =1 limit result else fetch all result

Returns:

sql response

Type
object