feat: add date range search functionality to invoice management

This commit is contained in:
puriphatt 2025-04-17 17:22:31 +07:00
parent 7897103a1b
commit 73562a59c1
2 changed files with 46 additions and 18 deletions

View file

@ -162,6 +162,8 @@ export const useInvoice = defineStore('invoice-store', () => {
debitNoteOnly?: boolean;
quotationId?: string;
debitNoteId?: string;
startDate?: string;
endDate?: string;
}) {
const res = await api.get<PaginationResult<Invoice>>('/invoice', {
params,