Refactor invoice status terminology and update related logic
- Renamed 'is_processed' fields to 'status' in the InvoiceHeader model and updated corresponding attributes in schemas, services, and frontend components for consistency. - Adjusted query filters and validation logic to reflect the new 'status' terminology. - Updated comments and documentation to clarify changes in invoice status handling.
This commit is contained in:
@@ -208,14 +208,14 @@ export interface Invoice {
|
||||
invoice_date?: string | null;
|
||||
capture_date: string;
|
||||
emission_date?: string | null;
|
||||
is_processed?: boolean | null;
|
||||
status?: boolean | null;
|
||||
processed_date?: string | null;
|
||||
who_processed?: string | null;
|
||||
capture_user?: string | null;
|
||||
traffic_light_status?: string | null;
|
||||
process_log?: string | null;
|
||||
is_processed_rec?: number | null;
|
||||
is_processed_rep?: string | null;
|
||||
status_rec?: number | null;
|
||||
status_rep?: string | null;
|
||||
observation_es?: string | null;
|
||||
observation_en?: string | null;
|
||||
comments_status?: string | null;
|
||||
@@ -266,14 +266,14 @@ export interface CreateInvoiceData {
|
||||
proforma_number?: string | null;
|
||||
invoice_date?: string | null;
|
||||
emission_date?: string | null;
|
||||
is_processed?: boolean | null;
|
||||
status?: boolean | null;
|
||||
processed_date?: string | null;
|
||||
who_processed?: string | null;
|
||||
capture_user?: string | null;
|
||||
traffic_light_status?: string | null;
|
||||
process_log?: string | null;
|
||||
is_processed_rec?: number | null;
|
||||
is_processed_rep?: string | null;
|
||||
status_rec?: number | null;
|
||||
status_rep?: string | null;
|
||||
observation_es?: string | null;
|
||||
observation_en?: string | null;
|
||||
comments_status?: string | null;
|
||||
@@ -319,7 +319,7 @@ export interface UpdateInvoiceData {
|
||||
cfdi_uuid?: string | null;
|
||||
path_pdf?: string | null;
|
||||
path_xml?: string | null;
|
||||
is_processed?: boolean | null;
|
||||
status?: boolean | null;
|
||||
compliance_mx?: Partial<InvoiceComplianceMx> | null;
|
||||
financials?: Partial<InvoiceFinancials> | null;
|
||||
logistics?: Partial<InvoiceLogistics>[] | null;
|
||||
|
||||
Reference in New Issue
Block a user