mirror of
https://git.imnavajas.es/jjimenez/safekat.git
synced 2025-07-25 22:52:08 +00:00
trabajando
This commit is contained in:
@ -83,10 +83,6 @@ class PresupuestoAdminEdit {
|
||||
// Autonumeric
|
||||
AutoNumeric.multiple('.autonumeric-currency', { decimalPlaces: 2, currencySymbol: '€', currencySymbolPlacement: 's', digitGroupSeparator: '.', decimalCharacter: ',' });
|
||||
|
||||
$('#total_aceptado_revisado').on('change', function () {
|
||||
AutoNumeric.getAutoNumericElement(this).set(this.value);
|
||||
});
|
||||
|
||||
const impresion_id = $('#tipo_impresion_id').val();
|
||||
let tipoLibro = '';
|
||||
if (impresion_id == 1 || impresion_id == 2) {
|
||||
@ -124,6 +120,11 @@ class PresupuestoAdminEdit {
|
||||
this.tiradasAlternativas.init();
|
||||
this.resumen.init();
|
||||
|
||||
$('#btn_aceptar_revisado').on('click', function () {
|
||||
|
||||
this.resumen.updateTotales({ updateLP: true, updateServicios: true, updateEnvio: true });
|
||||
}.bind(this));
|
||||
|
||||
if (window.location.href.includes("edit")) {
|
||||
|
||||
setTimeout(() => {
|
||||
|
||||
Reference in New Issue
Block a user