Merge branch 'bug/eventos_cob_rot' into 'main'

corregido el replace para el tipo de linea

See merge request jjimenez/safekat!175
This commit is contained in:
2024-03-05 10:05:24 +00:00

View File

@ -2900,8 +2900,7 @@ function eventos_lp_rot_bn(){
$('#lp_rot_bn_defecto').bind("click", por_defecto_lp_rot_bn);
$('#lp_rot_bn_checkPapel').bind("change", {id_linea: 'lp_rot_bn'}, update_total_linea);
$('#lp_rot_bn_checkClicks').bind("change", {id_linea: 'lp_rot_bn'}, update_total_linea);
}
<?= $this->endSection() ?>
@ -4188,7 +4187,8 @@ function fill_lp_from_bbdd(){
lp['areaPaginas'] = lp['rotativa_superficie']
data = processRowData(lp, lp.tipo, lp.tipo.replace('_', '-'));
data = processRowData(lp, lp.tipo, lp.tipo.replace(/_/g, '-'));
var row = tableLineasPresupuesto.row("#" + lp.tipo);