Methods
(async, static) fetchInvoicesAll(req, count) → {object}
- Source:
fetch All Retunr Invoices
Parameters:
Name | Type | Description |
---|---|---|
req |
object | request data |
count |
string | count for the pagination |
Returns:
sql response
- Type
- object
(async, static) invoiceBuynowStatusUpdate(pid, status) → {object}
- Source:
Update status of the Invoice in Buynow entry
Parameters:
Name | Type | Description |
---|---|---|
pid |
number | return invoice ID which has to be marked as paid |
status |
number | status which has to be updated |
Returns:
sql response
- Type
- object
(async, static) invoiceStatusUpdate(pid, status) → {object}
- Source:
Update status of the Invoice
Parameters:
Name | Type | Description |
---|---|---|
pid |
number | return invoice ID which has to be marked as paid |
status |
number | status which has to be updated |
Returns:
sql response
- Type
- object