refactor: add type status

This commit is contained in:
Thanaphon Frappet 2024-11-07 12:51:15 +07:00
parent f09cbd3a78
commit 9ff50e94a3

View file

@ -56,6 +56,14 @@ export const useQuotationStore = defineStore('quotation-store', () => {
| 'BillFull'
| 'BillSplit'
| 'BillSplitCustom';
status?:
| 'Issued'
| 'Accepted'
| 'PaymentPending'
| 'PaymentInProcess'
| 'PaymentSuccess'
| 'ProcessComplete'
| 'Canceled';
query?: string;
}) {
const res = await api.get<PaginationResult<Quotation>>('/quotation', {