Merge branch 'fix/importador_erpold_gramajes' into 'main'

modificado error de obtener gramajes en comparador cubierta. tambien corregido...

See merge request jjimenez/safekat!866
This commit is contained in:
2025-06-28 09:51:28 +00:00
3 changed files with 5 additions and 3 deletions

View File

@ -42,7 +42,7 @@ class Kint extends BaseConfig
*/
public string $richTheme = 'aante-light.css';
public bool $richFolder = false;
public int $richSort = AbstractRenderer::SORT_FULL;
public int $richSort = 0; //AbstractRenderer::SORT_FULL;
/**
* @var array<string, class-string<ValuePluginInterface>>|null

View File

@ -73,6 +73,7 @@ class Importador {
sopalas: () => $('#compSolapasCubierta').val(),
lomo: 0,
tipo: 'colorhq',
uso: 'cubierta',
});
this.compSobrecubiertaSelected = new ClassSelect($("#compPapelSobrecubiertaSelected"), '/presupuestoadmin/papelgenerico', "Seleccione un papel", false,
{
@ -95,6 +96,7 @@ class Importador {
sopalas: () => $('#compSolapasSobrecubierta').val(),
lomo: 0,
tipo: 'colorhq',
uso: 'sobrecubierta',
});
this.acabadoCubierta = new ClassSelect($("#compAcabadoCubiertaSelected"),

View File

@ -169,7 +169,7 @@ class Comparador {
tirada: () => $('#tirada').val(),
ancho: () => this.getDimensionLibro().ancho,
alto: () => this.getDimensionLibro().alto,
sopalas: () => $('#solapas').prop('checked') ? $('#solapas_ancho').val() : 0,
sopalas: () => $('#solapas_sobrecubierta').prop('checked') ? $('#solapas_ancho_sobrecubierta').val() : 0,
lomo: () => $('#lomo_sobrecubierta').val(),
tipo: 'colorhq',
uso: 'sobrecubierta',
@ -183,7 +183,7 @@ class Comparador {
tirada: () => $('#tirada').val(),
ancho: () => this.getDimensionLibro().ancho,
alto: () => this.getDimensionLibro().alto,
sopalas: () => $('#solapas').prop('checked') ? $('#solapas_ancho').val() : 0,
sopalas: () => $('#solapas_sobrecubierta').prop('checked') ? $('#solapas_ancho_sobrecubierta').val() : 0,
lomo: () => $('#lomo_sobrecubierta').val(),
tipo: 'colorhq',
uso: 'sobrecubierta',