Update Docker Compose files for production environment and enhance unit of measure handling
- Changed the default environment variable from 'development' to 'production' in docker-compose.prod.yml and docker-compose.yml. - Added SITAR API credentials to the environment variables in both Docker Compose files. - Updated the seed data for customs units of measure to include a76_unit_code. - Refactored the UnitOfMeasureCustoms model and related DTOs to replace scaii_unit_code with a76_unit_code for consistency. - Adjusted frontend components to reflect the updated unit of measure structure and ensure proper handling of the new a76_unit_code field.
This commit is contained in:
@@ -8,6 +8,7 @@ export interface UMCustomsMex {
|
||||
id: number;
|
||||
code: string;
|
||||
description: string | null;
|
||||
a76_unit_code: string | null;
|
||||
created_at: string | null;
|
||||
updated_at: string | null;
|
||||
}
|
||||
@@ -15,11 +16,13 @@ export interface UMCustomsMex {
|
||||
export interface UMCustomsMexCreate {
|
||||
code: string;
|
||||
description?: string | null;
|
||||
a76_unit_code?: string | null;
|
||||
}
|
||||
|
||||
export interface UMCustomsMexUpdate {
|
||||
code?: string;
|
||||
description?: string | null;
|
||||
a76_unit_code?: string | null;
|
||||
}
|
||||
|
||||
export interface UMCustomsMexListResponse {
|
||||
|
||||
@@ -222,7 +222,7 @@ export interface UnitOfMeasureCustoms {
|
||||
id: number;
|
||||
code: string;
|
||||
description: string | null;
|
||||
scaii_unit_code: string | null;
|
||||
a76_unit_code: string | null;
|
||||
created_at: string | null;
|
||||
updated_at: string | null;
|
||||
}
|
||||
@@ -230,13 +230,13 @@ export interface UnitOfMeasureCustoms {
|
||||
export interface UnitOfMeasureCustomsCreate {
|
||||
code: string;
|
||||
description?: string | null;
|
||||
scaii_unit_code?: string | null;
|
||||
a76_unit_code?: string | null;
|
||||
}
|
||||
|
||||
export interface UnitOfMeasureCustomsUpdate {
|
||||
code?: string;
|
||||
description?: string | null;
|
||||
scaii_unit_code?: string | null;
|
||||
a76_unit_code?: string | null;
|
||||
}
|
||||
|
||||
export interface UnitOfMeasureCustomsListResponse {
|
||||
|
||||
@@ -208,7 +208,7 @@ export interface Invoice {
|
||||
invoice_date?: string | null;
|
||||
capture_date: string;
|
||||
emission_date?: string | null;
|
||||
status?: boolean | null;
|
||||
status?: "pending" | "processed" | "reversed" | boolean | null;
|
||||
processed_date?: string | null;
|
||||
who_processed?: string | null;
|
||||
capture_user?: string | null;
|
||||
@@ -266,7 +266,7 @@ export interface CreateInvoiceData {
|
||||
proforma_number?: string | null;
|
||||
invoice_date?: string | null;
|
||||
emission_date?: string | null;
|
||||
status?: boolean | null;
|
||||
status?: "pending" | "processed" | "reversed" | boolean | null;
|
||||
processed_date?: string | null;
|
||||
who_processed?: string | null;
|
||||
capture_user?: string | null;
|
||||
@@ -319,7 +319,7 @@ export interface UpdateInvoiceData {
|
||||
cfdi_uuid?: string | null;
|
||||
path_pdf?: string | null;
|
||||
path_xml?: string | null;
|
||||
status?: boolean | null;
|
||||
status?: "pending" | "processed" | "reversed" | boolean | null;
|
||||
compliance_mx?: Partial<InvoiceComplianceMx> | null;
|
||||
financials?: Partial<InvoiceFinancials> | null;
|
||||
logistics?: Partial<InvoiceLogistics>[] | null;
|
||||
|
||||
Reference in New Issue
Block a user