Merge pull request 'fix/tabla_unidades_medida' (#66) from fix/tabla_unidades_medida into development

Reviewed-on: ADUANASOFT/anexo76#66
This commit is contained in:
2026-01-21 22:35:20 +00:00
9 changed files with 178 additions and 82 deletions

View File

@@ -183,7 +183,7 @@ export interface UnitOfMeasureGeneralUpdate {
}
export interface UnitOfMeasureGeneralListResponse {
items: UnitOfMeasureGeneral[];
items: UnitOfMeasureGeneral[];
total: number;
page: number;
page_size: number;
@@ -214,7 +214,7 @@ export async function updateUnitOfMeasureGeneral(id: number, data: UnitOfMeasure
}
export async function deleteUnitOfMeasureGeneral(id: number, companyId: number): Promise<ApiResponse<void>> {
return await api.delete(`/v1/a76/units-of-measure/general/${id}/?company_id=${companyId}`);
return await api.delete(`/v1/a76/units-of-measure/general/${id}?company_id=${companyId}`);
}
// --- Customs ---