fix/invoices-return-cancelar

This commit is contained in:
2026-04-24 15:47:03 -06:00
parent 34095be3e8
commit 38233a9a62
3 changed files with 9 additions and 4 deletions

View File

@@ -955,6 +955,7 @@
"loading_item_data": "Cargando datos de la partida...",
"close": "Cerrar",
"cancel": "Cancelar",
"save": "Guardar",
"select_line_title": "Seleccionar línea",
"import_title": "Partidas de Importación",
"import_description": "Selecciona una línea con saldo disponible para realizar la descarga.",
@@ -1191,8 +1192,8 @@
"cancel": "Cancelar",
"close": "Cerrar",
"saving": "Guardando...",
"update": "Actualizar",
"create": "Crear"
"update": "Guardar",
"create": "Guardar"
},
"prerequisites": {
"title": "Aviso",

View File

@@ -740,7 +740,7 @@
{m['invoice_item_fa.repair.loading_line']()}
{:else}
<Save class="w-3 h-3 mr-1" />
{isEditMode ? m['invoice_item_fa.repair.cancel']() : m['invoice_item_fa.repair.close']()}
{m['invoice_item_fa.repair.save']()}
{/if}
</Button>
{/if}

View File

@@ -725,7 +725,11 @@
}
function handleBack() {
goto(invoicesListPath());
if (browser && window.history.length > 1) {
window.history.back();
} else {
goto(invoicesListPath());
}
}
function getOperationColor(type?: string | null): 'default' | 'secondary' {