Methods
(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) 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) 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