corregido typo en papelInteriorDiferente

This commit is contained in:
2025-04-02 10:22:11 +02:00
parent c2b61a3d99
commit ecbd762c7f
2 changed files with 3 additions and 3 deletions

View File

@ -547,7 +547,7 @@ class Importadorpresupuestos extends \App\Controllers\BaseResourceController
"clienteId" => intval($this->request->getPost('cliente_id') ?? 0),
"isColor" => $isColor,
"isHq" => $isHq,
"papelDiferente" => $papel_interior_diferente,
"papelInteriorDiferente" => $papel_interior_diferente,
"paginasColor" => $paginas_color,
"paginasCuadernillo" => 32,

View File

@ -428,7 +428,7 @@ class DatosLibro {
// para que se actualice el comparador
if ($('#compGramajeSobrecubierta').select2('data').length > 0)
if ($('#compGramajeSobrecubierta').select2('data') && $('#compGramajeSobrecubierta').select2('data').length > 0)
$('#compGramajeSobrecubierta').trigger('change');
if (this.cargando)
@ -446,7 +446,7 @@ class DatosLibro {
changeAnchoSolapasFaja() {
// para que se actualice el comparador
if ($('#compGramajeFaja').select2('data').length > 0) {
if ($('#compGramajeFaja').select2('data') && $('#compGramajeFaja').select2('data').length > 0) {
$('#compGramajeFaja').trigger('change');
}