adminInvoiceModule

adminInvoiceModule

class to handle invoice functions

Constructor

new adminInvoiceModule()

Source:

Methods

(async, static) buynowActiveStatusUpdate(action, pid) → {object}

Source:

Update buynow Status

Parameters:
Name Type Description
action string

action that we have to perform

pid number

Project ID which the buynow entry has to be updated

Returns:

sql response

Type
object

(async, static) buynowPartialStatusUpdate(action, pid) → {object}

Source:

Update buynow Status

Parameters:
Name Type Description
action string

action that we have to perform

pid number

Project ID which the buynow entry has to be updated

Returns:

sql response

Type
object

(async, static) fetchInvoicesAll(req, count) → {object}

Source:

Get All Invoices

Parameters:
Name Type Description
req object

request data

count string

count for the pagination

Returns:

sql response

Type
object

(async, static) fetchInvoicesAllNew(req, count) → {object}

Source:

Update buynow Status

Parameters:
Name Type Description
req object

request object

count number

no of invoies to fetch

Returns:

sql response

Type
object

(async, static) invoiceBuynowStatusUpdate(status, pid) → {object}

Source:

Update buynow Status

Parameters:
Name Type Description
status string

Status of which the invoice has to be updated

pid number

Project ID which the buynow entry has to be updated

Returns:

sql response

Type
object

(async, static) invoiceBuynowUserId(pid) → {object}

Source:

Update buynow Status

Parameters:
Name Type Description
pid number

Project ID which the buynow entry has to be updated

Returns:

sql response

Type
object

(async, static) invoiceStatusUpdate(status, pid) → {object}

Source:

Update Invoice status

Parameters:
Name Type Description
status string

Status of which the invoice has to be updated

pid number

Project ID which the invoice entry has to be updated

Returns:

sql response

Type
object