feat: Add company certificate upload API and fields, and remove purchase order and delivery date from invoice mapping.

This commit is contained in:
Galindo97
2026-02-18 11:08:57 -06:00
parent f19f051e59
commit c29dd299bc
2 changed files with 64 additions and 8 deletions

View File

@@ -127,7 +127,7 @@ function buildInvoicePayload(formData: FormDataSet): CreateInvoiceData | UpdateI
vu_observations: othersFormData?.observations_vu || undefined,
comments_status: othersFormData?.comments_status || undefined,
option_iv18: othersFormData?.option_iv18 || undefined,
purchase_order: continuationFormData?.purchase_order || undefined,
payment_terms: continuationFormData?.payment_terms || undefined,
handling_fees: continuationFormData?.handling_fees || undefined,
cfdi_uuid: continuationFormData?.cfdi_uuid || undefined,
@@ -292,7 +292,7 @@ function buildLogisticsData(generalFormData: any, observationFormData: any, othe
// Fechas Logísticas de OthersTabForm (se pasan en othersFormData)
entry_exit_date: othersFormData?.entry_exit_date || null,
payment_date: othersFormData?.payment_date || null,
delivery_date: othersFormData?.delivery_date || null,
vehicle_data: continuationFormData?.vehicle_data || null,
};
}