feat: add date range selection to customer and employee management
This commit is contained in:
parent
461dd359b1
commit
36cef7ceb6
3 changed files with 64 additions and 30 deletions
|
|
@ -113,6 +113,8 @@ const useCustomerStore = defineStore('api-customer', () => {
|
|||
includeBranch?: boolean;
|
||||
status?: 'CREATED' | 'ACTIVE' | 'INACTIVE';
|
||||
customerType?: CustomerType;
|
||||
startDate?: string;
|
||||
endDate?: string;
|
||||
},
|
||||
Data extends Pagination<
|
||||
(Customer &
|
||||
|
|
|
|||
|
|
@ -45,6 +45,8 @@ const useEmployeeStore = defineStore('api-employee', () => {
|
|||
customerId?: string;
|
||||
customerBranchId?: string;
|
||||
activeOnly?: boolean;
|
||||
startDate?: string;
|
||||
endDate?: string;
|
||||
payload?: { passport?: string[] };
|
||||
}) {
|
||||
const { payload, ...params } = opts || {};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue