Add toggle controls and payment API fields

This commit is contained in:
2026-09-18 11:56:11 +05:30
parent 4d7b8d8a56
commit 7ced279ad5
4 changed files with 143 additions and 1 deletions
+4
View File
@@ -6,6 +6,7 @@ import type {
InvoiceStatus,
PaymentResponse,
PaymentMethod,
EntryMode,
ShopPOStatus,
} from '@/types/api'
@@ -87,6 +88,9 @@ export const invoices = {
export interface PaymentBody {
amount: number
method: PaymentMethod
entryMode?: EntryMode
chequeNumber?: string | null
chequeDate?: string | null
collectedByUserId?: string | null
}