Let cheques be received or paid without an invoice, and remind staff three days before due date.
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -873,6 +873,7 @@ export type NotificationType =
|
||||
| "activity_reminder"
|
||||
| "deal_moved"
|
||||
| "note_reminder"
|
||||
| "cheque_due"
|
||||
| "ticket_assigned"
|
||||
| "automation"
|
||||
| "system";
|
||||
@@ -1137,13 +1138,15 @@ export interface InvoiceLineItemDto {
|
||||
}
|
||||
|
||||
export type ChequeStatus = "pending" | "cleared" | "bounced";
|
||||
export type ChequeDirection = "in" | "out";
|
||||
|
||||
export interface ChequeDto {
|
||||
id: string;
|
||||
paymentId: string;
|
||||
invoiceId: string;
|
||||
invoiceNumber: string;
|
||||
invoiceTitle: string;
|
||||
paymentId: string | null;
|
||||
invoiceId: string | null;
|
||||
invoiceNumber: string | null;
|
||||
invoiceTitle: string | null;
|
||||
personId: string | null;
|
||||
personName: string | null;
|
||||
amount: number;
|
||||
currency: string;
|
||||
@@ -1151,6 +1154,7 @@ export interface ChequeDto {
|
||||
bank: string;
|
||||
dueDate: string;
|
||||
status: ChequeStatus | string;
|
||||
direction: ChequeDirection | string;
|
||||
notes: string | null;
|
||||
paidAt: string;
|
||||
createdAt: string;
|
||||
@@ -1165,6 +1169,18 @@ export interface ChequeInput {
|
||||
notes?: string;
|
||||
}
|
||||
|
||||
export interface CreateChequeRequest {
|
||||
personId: string;
|
||||
amount: number;
|
||||
currency?: string;
|
||||
number: string;
|
||||
bank: string;
|
||||
dueDate: string;
|
||||
status?: ChequeStatus | string;
|
||||
direction?: ChequeDirection | string;
|
||||
notes?: string;
|
||||
}
|
||||
|
||||
export interface UpdateChequeRequest {
|
||||
number?: string;
|
||||
bank?: string;
|
||||
|
||||
Reference in New Issue
Block a user