fixers of day end sales and sales
This commit is contained in:
@@ -13,6 +13,9 @@ export interface ListCustomersParams {
|
||||
/** The system cash customer (walk-in / one-time buyers) is left out by default — pass true only
|
||||
* where the list is used to resolve names for existing documents. */
|
||||
includeCashCustomer?: boolean
|
||||
/** Branch-wise list (same as Sales / GRN): only customers created under this branch, plus the
|
||||
* shared cash customer. Omit for every branch. */
|
||||
branchId?: number
|
||||
}
|
||||
|
||||
export const customersApi = {
|
||||
|
||||
@@ -35,6 +35,12 @@ export interface ListSalesInvoicesParams extends SalesListFilterParams {
|
||||
/** yyyy-MM-dd, inclusive; filters on InvoiceDate. */
|
||||
from?: string
|
||||
to?: string
|
||||
/** UserId who created the invoice — Day End's cashier match. */
|
||||
createdBy?: number
|
||||
/** true = fully paid, false = balance still due. */
|
||||
paid?: boolean
|
||||
/** Matches invoice number or customer name. */
|
||||
q?: string
|
||||
}
|
||||
|
||||
export interface ListSalesSlipsParams extends SalesListFilterParams {
|
||||
|
||||
Reference in New Issue
Block a user