mirror of
https://git.imnavajas.es/jjimenez/safekat.git
synced 2025-07-25 22:52:08 +00:00
hecho el html de las lineas de presupuesto
This commit is contained in:
@ -12,27 +12,784 @@
|
||||
<table id="tableLineasPresupuesto" class="comparator-table table dt-responsive dataTable" style="width: 100%;">
|
||||
<thead>
|
||||
<tr>
|
||||
<th style="padding-right: 0.75em;" width="33px"></th>
|
||||
<th style="padding-right: 0.75em;"><?= lang('Presupuestos.paginas') ?></th>
|
||||
<th style="padding-right: 0.75em;"><?= lang('Presupuestos.papel') ?></th>
|
||||
<th style="padding-right: 0.75em;"><?= lang('Presupuestos.gramaje') ?></th>
|
||||
<th style="padding-right: 0.75em;"><?= lang('Presupuestos.marca') ?></th>
|
||||
<th style="padding-right: 0.75em;"><?= lang('Presupuestos.maquina') ?></th>
|
||||
<th style="padding-right: 0.75em;"><?= lang('Presupuestos.tiempo') ?></th>
|
||||
<th style="padding-right: 0.75em;"><?= lang('Presupuestos.numeroPliegos') ?></th>
|
||||
<th style="padding-right: 0.75em;"><?= lang('Presupuestos.pliegosPedido') ?></th>
|
||||
<th style="padding-right: 0.75em;"><?= lang('Presupuestos.precioPliego') ?></th>
|
||||
<th style="padding-right: 0.75em;"><?= lang('Presupuestos.libro') ?></th>
|
||||
<th style="padding-right: 0.75em;"><?= lang('Presupuestos.totalPapelPedido') ?></th>
|
||||
<th style="padding-right: 0.75em;"></th>
|
||||
<th style="padding-right: 0.75em;"><?= lang('Presupuestos.lomo') ?></th>
|
||||
<th style="padding-right: 0.75em;"><?= lang('Presupuestos.peso') ?></th>
|
||||
<th style="padding-right: 0.75em;"><?= lang('Presupuestos.click') ?></th>
|
||||
<th style="padding-right: 0.75em;"><?= lang('Presupuestos.totalClicks') ?></th>
|
||||
<th style="padding-right: 0.75em;"></th>
|
||||
<th class="lp-header" width="33px"></th>
|
||||
<th class="lp-header"><?= lang('Presupuestos.paginas') ?></th>
|
||||
<th class="lp-header"><?= lang('Presupuestos.papel') ?></th>
|
||||
<th class="lp-header"><?= lang('Presupuestos.gramaje') ?></th>
|
||||
<th class="lp-header"><?= lang('Presupuestos.marca') ?></th>
|
||||
<th class="lp-header"><?= lang('Presupuestos.maquina') ?></th>
|
||||
<th class="lp-header"><?= lang('Presupuestos.tiempo') ?></th>
|
||||
<th class="lp-header"><?= lang('Presupuestos.numeroPliegos') ?></th>
|
||||
<th class="lp-header"><?= lang('Presupuestos.pliegosPedido') ?></th>
|
||||
<th class="lp-header"><?= lang('Presupuestos.precioPliego') ?></th>
|
||||
<th class="lp-header"><?= lang('Presupuestos.libro') ?></th>
|
||||
<th class="lp-header"><?= lang('Presupuestos.totalPapelPedido') ?></th>
|
||||
<th class="lp-header"></th>
|
||||
<th class="lp-header"><?= lang('Presupuestos.lomo') ?></th>
|
||||
<th class="lp-header"><?= lang('Presupuestos.peso') ?></th>
|
||||
<th class="lp-header"><?= lang('Presupuestos.click') ?></th>
|
||||
<th class="lp-header"><?= lang('Presupuestos.totalClicks') ?></th>
|
||||
<th class="lp-header"></th>
|
||||
<th class="lp-header"></th>
|
||||
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr id="lp_bn">
|
||||
<td class="lp-td"> <img style="padding: 0; margin:0;" src="<?= site_url('themes/vuexy/img/safekat/presupuestos/icon_bn.png') ?>" /></td>
|
||||
<td class="lp-td"><input id="lp_bn_paginas" name="lp_bn_paginas" class="lp-cell lp-input" type="text" value="0"></td>
|
||||
<td class="lp-td">
|
||||
<select id="lp_bn_papel" name="lp_bn_papel" class="form-control form-select-sm lp-cell lp-select" style="min-width: 160px;">
|
||||
<?php if (isset($papelGenericoNegroList) && is_array($papelGenericoNegroList) && !empty($papelGenericoNegroList)) :
|
||||
foreach ($papelGenericoNegroList as $k => $v) : ?>
|
||||
<?php if($v->id != 0): ?>
|
||||
<option value="<?= $v->id ?>">
|
||||
<?= $v->nombre ?>
|
||||
</option>
|
||||
<?php endif; ?>
|
||||
<?php endforeach;
|
||||
endif; ?>
|
||||
</select>
|
||||
</td>
|
||||
<td class="lp-td">
|
||||
<select id="lp_bn_gramaje" name="lp_bn_gramaje" class="form-control form-select-sm lp-cell lp-select" style="min-width: 40px;">
|
||||
</select>
|
||||
</td>
|
||||
<td class="lp-td">
|
||||
<select id="lp_bn_papelCompra" name="lp_bn_papelCompra" class="form-control form-select-sm lp-cell lp-select" style="min-width: 160px;">
|
||||
</select>
|
||||
</td>
|
||||
<td class="lp-td">
|
||||
<select id="lp_bn_maquina" name="lp_bn_maquina" class="form-control form-select-sm lp-cell lp-select" style="min-width: 120px;">
|
||||
</select>
|
||||
</td>
|
||||
<td class="lp-td"><input id="lp_bn_tiempo" name="lp_bn_tiempo" class="lp-input lp-cell lp-cell-disabled" type="text" value="0"></td>
|
||||
<td class="lp-td"><input id="lp_bn_numeroPliegos" name="lp_bn_numeroPliegos" class="lp-input lp-cell lp-cell-disabled" type="text" value="0"></td>
|
||||
<td class="lp-td"><input id="lp_bn_pliegosPedido" name="lp_bn_pliegosPedido" class="lp-input lp-cell lp-cell-disabled" type="text" value="0"></td>
|
||||
<td class="lp-td"><input id="lp_bn_precioPliego" name="lp_bn_precioPliego" class="lp-input lp-cell lp-cell-disabled" type="text" value="0"></td>
|
||||
<td class="lp-td"><input id="lp_bn_libro" name="lp_bn_libro" readonly class="lp-input lp-cell lp-cell-disabled" type="text" value="0"></td>
|
||||
<td class="lp-td"><input id="lp_bn_totalPapelPedido" name="lp_bn_totalPapelPedido" readonly class="lp-input lp-cell lp-cell-disabled" type="text" value="0"></td>
|
||||
<td class="lp-td"><input id="lp_bn_checkPapel" name="lp_bn_checkPapel_bn" style="width: 15px; padding: 0; margin:0;" type="checkbox" checked></td>
|
||||
<td class="lp-td"><input id="lp_bn_lomo" name="lp_bn_lomo" readonly class="lp-input lp-cell lp-cell-disabled" type="text" value="0"></td>
|
||||
<td class="lp-td"><input id="lp_bn_peso" name="lp_bn_peso" readonly class="lp-input lp-cell lp-cell-disabled" type="text" value="0"></td>
|
||||
<td class="lp-td"><input id="lp_bn_click" name="lp_bn_click" readonly class="lp-input lp-cell lp-cell-disabled" value="0"></td>
|
||||
<td class="lp-td"><input id="lp_bn_totalClicks" name="lp_bn_totalClicks" class="lp-input lp-cell lp-cell-disabled" type="text" value="0"></td>
|
||||
<td class="lp-td"><input id="lp_bn_checkClicks" name="lp_bn_checkClicks" style="width: 15px; padding: 0; margin:0;" type="checkbox" checked></td>
|
||||
<td style="padding: 0; margin:0;"><a href="javascript:void(0);"><i class="ti ti-trash ti-sm btn-delete mx-2"></i></a></td>
|
||||
</tr>
|
||||
|
||||
<tr id="lp_bnhq">
|
||||
<td class="lp-td"> <img style="padding: 0; margin:0;" src="<?= site_url('themes/vuexy/img/safekat/presupuestos/icon_bnhq.png') ?>" /></td>
|
||||
<td class="lp-td"><input id="lp_bnhq_paginas" name="lp_bnhq_paginas" class="lp-cell lp-input" type="text" value="0"></td>
|
||||
<td class="lp-td">
|
||||
<select id="lp_bnhq_papel" name="lp_bnhq_papel" class="form-control form-select-sm lp-cell lp-select" style="min-width: 160px;">
|
||||
<?php if (isset($papelGenericoNegroHQList) && is_array($papelGenericoNegroHQList) && !empty($papelGenericoNegroHQList)) :
|
||||
foreach ($papelGenericoNegroHQList as $k => $v) : ?>
|
||||
<?php if($v->id != 0): ?>
|
||||
<option value="<?= $v->id ?>">
|
||||
<?= $v->nombre ?>
|
||||
</option>
|
||||
<?php endif; ?>
|
||||
<?php endforeach;
|
||||
endif; ?>
|
||||
</select>
|
||||
</td>
|
||||
<td class="lp-td">
|
||||
<select id="lp_bnhq_gramaje" name="lp_bnhq_gramaje" class="form-control form-select-sm lp-cell lp-select" style="min-width: 40px;">
|
||||
</select>
|
||||
</td>
|
||||
<td class="lp-td">
|
||||
<select id="lp_bnhq_papelCompra" name="lp_bnhq_papelCompra" class="form-control form-select-sm lp-cell lp-select" style="min-width: 160px;">
|
||||
</select>
|
||||
</td>
|
||||
<td class="lp-td">
|
||||
<select id="lp_bnhq_maquina" name="lp_bnhq_maquina" class="form-control form-select-sm lp-cell lp-select" style="min-width: 120px;">
|
||||
</select>
|
||||
</td>
|
||||
<td class="lp-td"><input id="lp_bnhq_tiempo" name="lp_bnhq_tiempo" class="lp-input lp-cell lp-cell-disabled" type="text" value="0"></td>
|
||||
<td class="lp-td"><input id="lp_bnhq_numeroPliegos" name="lp_bnhq_numeroPliegos" class="lp-input lp-cell lp-cell-disabled" type="text" value="0"></td>
|
||||
<td class="lp-td"><input id="lp_bnhq_pliegosPedido" name="lp_bnhq_pliegosPedido" class="lp-input lp-cell lp-cell-disabled" type="text" value="0"></td>
|
||||
<td class="lp-td"><input id="lp_bnhq_precioPliego" name="lp_bnhq_precioPliego" class="lp-input lp-cell lp-cell-disabled" type="text" value="0"></td>
|
||||
<td class="lp-td"><input id="lp_bnhq_libro" name="lp_bnhq_libro" readonly class="lp-input lp-cell lp-cell-disabled" type="text" value="0"></td>
|
||||
<td class="lp-td"><input id="lp_bnhq_totalPapelPedido" name="lp_bnhq_totalPapelPedido" readonly class="lp-input lp-cell lp-cell-disabled" type="text" value="0"></td>
|
||||
<td class="lp-td"><input id="lp_bnhq_checkPapel" name="lp_bnhq_checkPapel_bn" style="width: 15px; padding: 0; margin:0;" type="checkbox" checked></td>
|
||||
<td class="lp-td"><input id="lp_bnhq_lomo" name="lp_bnhq_lomo" readonly class="lp-input lp-cell lp-cell-disabled" type="text" value="0"></td>
|
||||
<td class="lp-td"><input id="lp_bnhq_peso" name="lp_bnhq_peso" readonly class="lp-input lp-cell lp-cell-disabled" type="text" value="0"></td>
|
||||
<td class="lp-td"><input id="lp_bnhq_click" name="lp_bnhq_click" readonly class="lp-input lp-cell lp-cell-disabled" value="0"></td>
|
||||
<td class="lp-td"><input id="lp_bnhq_totalClicks" name="lp_bnhq_totalClicks" class="lp-input lp-cell lp-cell-disabled" type="text" value="0"></td>
|
||||
<td class="lp-td"><input id="lp_bnhq_checkClicks" name="lp_bnhq_checkClicks" style="width: 15px; padding: 0; margin:0;" type="checkbox" checked></td>
|
||||
<td style="padding: 0; margin:0;"><a href="javascript:void(0);"><i class="ti ti-trash ti-sm btn-delete mx-2"></i></a></td>
|
||||
</tr>
|
||||
|
||||
<tr id="lp_color">
|
||||
<td class="lp-td"> <img style="padding: 0; margin:0;" src="<?= site_url('themes/vuexy/img/safekat/presupuestos/icon_color.png') ?>" /></td>
|
||||
<td class="lp-td"><input id="lp_color_paginas" name="lp_color_paginas" class="lp-cell lp-input" type="text" value="0"></td>
|
||||
<td class="lp-td">
|
||||
<select id="lp_color_papel" name="lp_color_papel" class="form-control form-select-sm lp-cell lp-select" style="min-width: 160px;">
|
||||
<?php if (isset($papelGenericoColorList) && is_array($papelGenericoColorList) && !empty($papelGenericoColorList)) :
|
||||
foreach ($papelGenericoColorList as $k => $v) : ?>
|
||||
<?php if($v->id != 0): ?>
|
||||
<option value="<?= $v->id ?>">
|
||||
<?= $v->nombre ?>
|
||||
</option>
|
||||
<?php endif; ?>
|
||||
<?php endforeach;
|
||||
endif; ?>
|
||||
</select>
|
||||
</td>
|
||||
<td class="lp-td">
|
||||
<select id="lp_color_gramaje" name="lp_color_gramaje" class="form-control form-select-sm lp-cell lp-select" style="min-width: 40px;">
|
||||
</select>
|
||||
</td>
|
||||
<td class="lp-td">
|
||||
<select id="lp_color_papelCompra" name="lp_color_papelCompra" class="form-control form-select-sm lp-cell lp-select" style="min-width: 160px;">
|
||||
</select>
|
||||
</td>
|
||||
<td class="lp-td">
|
||||
<select id="lp_color_maquina" name="lp_color_maquina" class="form-control form-select-sm lp-cell lp-select" style="min-width: 120px;">
|
||||
</select>
|
||||
</td>
|
||||
<td class="lp-td"><input id="lp_color_tiempo" name="lp_color_tiempo" class="lp-input lp-cell lp-cell-disabled" type="text" value="0"></td>
|
||||
<td class="lp-td"><input id="lp_color_numeroPliegos" name="lp_color_numeroPliegos" class="lp-input lp-cell lp-cell-disabled" type="text" value="0"></td>
|
||||
<td class="lp-td"><input id="lp_color_pliegosPedido" name="lp_color_pliegosPedido" class="lp-input lp-cell lp-cell-disabled" type="text" value="0"></td>
|
||||
<td class="lp-td"><input id="lp_color_precioPliego" name="lp_color_precioPliego" class="lp-input lp-cell lp-cell-disabled" type="text" value="0"></td>
|
||||
<td class="lp-td"><input id="lp_color_libro" name="lp_color_libro" readonly class="lp-input lp-cell lp-cell-disabled" type="text" value="0"></td>
|
||||
<td class="lp-td"><input id="lp_color_totalPapelPedido" name="lp_color_totalPapelPedido" readonly class="lp-input lp-cell lp-cell-disabled" type="text" value="0"></td>
|
||||
<td class="lp-td"><input id="lp_color_checkPapel" name="lp_color_checkPapel_bn" style="width: 15px; padding: 0; margin:0;" type="checkbox" checked></td>
|
||||
<td class="lp-td"><input id="lp_color_lomo" name="lp_color_lomo" readonly class="lp-input lp-cell lp-cell-disabled" type="text" value="0"></td>
|
||||
<td class="lp-td"><input id="lp_color_peso" name="lp_color_peso" readonly class="lp-input lp-cell lp-cell-disabled" type="text" value="0"></td>
|
||||
<td class="lp-td"><input id="lp_color_click" name="lp_color_click" readonly class="lp-input lp-cell lp-cell-disabled" value="0"></td>
|
||||
<td class="lp-td"><input id="lp_color_totalClicks" name="lp_color_totalClicks" class="lp-input lp-cell lp-cell-disabled" type="text" value="0"></td>
|
||||
<td class="lp-td"><input id="lp_color_checkClicks" name="lp_color_checkClicks" style="width: 15px; padding: 0; margin:0;" type="checkbox" checked></td>
|
||||
<td style="padding: 0; margin:0;"><a href="javascript:void(0);"><i class="ti ti-trash ti-sm btn-delete mx-2"></i></a></td>
|
||||
</tr>
|
||||
|
||||
<tr id="lp_colorhq">
|
||||
<td class="lp-td"> <img style="padding: 0; margin:0;" src="<?= site_url('themes/vuexy/img/safekat/presupuestos/icon_colorhq.png') ?>" /></td>
|
||||
<td class="lp-td"><input id="lp_colorhq_paginas" name="lp_colorhq_paginas" class="lp-cell lp-input" type="text" value="0"></td>
|
||||
<td class="lp-td">
|
||||
<select id="lp_colorhq_papel" name="lp_colorhq_papel" class="form-control form-select-sm lp-cell lp-select" style="min-width: 160px;">
|
||||
<?php if (isset($papelGenericoColorHQList) && is_array($papelGenericoColorHQList) && !empty($papelGenericoColorHQList)) :
|
||||
foreach ($papelGenericoColorHQList as $k => $v) : ?>
|
||||
<?php if($v->id != 0): ?>
|
||||
<option value="<?= $v->id ?>">
|
||||
<?= $v->nombre ?>
|
||||
</option>
|
||||
<?php endif; ?>
|
||||
<?php endforeach;
|
||||
endif; ?>
|
||||
</select>
|
||||
</td>
|
||||
<td class="lp-td">
|
||||
<select id="lp_colorhq_gramaje" name="lp_colorhq_gramaje" class="form-control form-select-sm lp-cell lp-select" style="min-width: 40px;">
|
||||
</select>
|
||||
</td>
|
||||
<td class="lp-td">
|
||||
<select id="lp_colorhq_papelCompra" name="lp_colorhq_papelCompra" class="form-control form-select-sm lp-cell lp-select" style="min-width: 160px;">
|
||||
</select>
|
||||
</td>
|
||||
<td class="lp-td">
|
||||
<select id="lp_colorhq_maquina" name="lp_colorhq_maquina" class="form-control form-select-sm lp-cell lp-select" style="min-width: 120px;">
|
||||
</select>
|
||||
</td>
|
||||
<td class="lp-td"><input id="lp_colorhq_tiempo" name="lp_colorhq_tiempo" class="lp-input lp-cell lp-cell-disabled" type="text" value="0"></td>
|
||||
<td class="lp-td"><input id="lp_colorhq_numeroPliegos" name="lp_colorhq_numeroPliegos" class="lp-input lp-cell lp-cell-disabled" type="text" value="0"></td>
|
||||
<td class="lp-td"><input id="lp_colorhq_pliegosPedido" name="lp_colorhq_pliegosPedido" class="lp-input lp-cell lp-cell-disabled" type="text" value="0"></td>
|
||||
<td class="lp-td"><input id="lp_colorhq_precioPliego" name="lp_colorhq_precioPliego" class="lp-input lp-cell lp-cell-disabled" type="text" value="0"></td>
|
||||
<td class="lp-td"><input id="lp_colorhq_libro" name="lp_colorhq_libro" readonly class="lp-input lp-cell lp-cell-disabled" type="text" value="0"></td>
|
||||
<td class="lp-td"><input id="lp_colorhq_totalPapelPedido" name="lp_colorhq_totalPapelPedido" readonly class="lp-input lp-cell lp-cell-disabled" type="text" value="0"></td>
|
||||
<td class="lp-td"><input id="lp_colorhq_checkPapel" name="lp_colorhq_checkPapel_bn" style="width: 15px; padding: 0; margin:0;" type="checkbox" checked></td>
|
||||
<td class="lp-td"><input id="lp_colorhq_lomo" name="lp_colorhq_lomo" readonly class="lp-input lp-cell lp-cell-disabled" type="text" value="0"></td>
|
||||
<td class="lp-td"><input id="lp_colorhq_peso" name="lp_colorhq_peso" readonly class="lp-input lp-cell lp-cell-disabled" type="text" value="0"></td>
|
||||
<td class="lp-td"><input id="lp_colorhq_click" name="lp_colorhq_click" readonly class="lp-input lp-cell lp-cell-disabled" value="0"></td>
|
||||
<td class="lp-td"><input id="lp_colorhq_totalClicks" name="lp_colorhq_totalClicks" class="lp-input lp-cell lp-cell-disabled" type="text" value="0"></td>
|
||||
<td class="lp-td"><input id="lp_colorhq_checkClicks" name="lp_colorhq_checkClicks" style="width: 15px; padding: 0; margin:0;" type="checkbox" checked></td>
|
||||
<td style="padding: 0; margin:0;"><a href="javascript:void(0);"><i class="ti ti-trash ti-sm btn-delete mx-2"></i></a></td>
|
||||
</tr>
|
||||
|
||||
<tr id="lp_rot_bn" style="border-bottom-color: white;">
|
||||
<td class="lp-td"> <img style="padding: 0; margin:0;" src="<?= site_url('themes/vuexy/img/safekat/presupuestos/icon_rotativa_bn.png') ?>" /></td>
|
||||
<td class="lp-td"><input id="lp_rot_bn_paginas" name="lp_rot_bn_paginas" class="lp-cell lp-input" type="text" value="0"></td>
|
||||
<td class="lp-td">
|
||||
<select id="lp_rot_bn_papel" name="lp_rot_bn_papel" class="form-control form-select-sm lp-cell lp-select" style="min-width: 160px;">
|
||||
<?php if (isset($papelGenericoColorHQList) && is_array($papelGenericoColorHQList) && !empty($papelGenericoColorHQList)) :
|
||||
foreach ($papelGenericoColorHQList as $k => $v) : ?>
|
||||
<?php if($v->id != 0): ?>
|
||||
<option value="<?= $v->id ?>">
|
||||
<?= $v->nombre ?>
|
||||
</option>
|
||||
<?php endif; ?>
|
||||
<?php endforeach;
|
||||
endif; ?>
|
||||
</select>
|
||||
</td>
|
||||
<td class="lp-td">
|
||||
<select id="lp_rot_bn_gramaje" name="lp_rot_bn_gramaje" class="form-control form-select-sm lp-cell lp-select" style="min-width: 40px;">
|
||||
</select>
|
||||
</td>
|
||||
<td class="lp-td">
|
||||
<select id="lp_rot_bn_papelCompra" name="lp_rot_bn_papelCompra" class="form-control form-select-sm lp-cell lp-select" style="min-width: 160px;">
|
||||
</select>
|
||||
</td>
|
||||
<td class="lp-td">
|
||||
<select id="lp_rot_bn_maquina" name="lp_rot_bn_maquina" class="form-control form-select-sm lp-cell lp-select" style="min-width: 120px;">
|
||||
</select>
|
||||
</td>
|
||||
<td class="lp-td"><input id="lp_rot_bn_tiempo" name="lp_rot_bn_tiempo" class="lp-input lp-cell lp-cell-disabled" type="text" value="0"></td>
|
||||
<td class="lp-td"><input id="lp_rot_bn_numeroPliegos" name="lp_rot_bn_numeroPliegos" class="lp-input lp-cell lp-cell-disabled" type="text" value="0"></td>
|
||||
<td class="lp-td"><input id="lp_rot_bn_pliegosPedido" name="lp_rot_bn_pliegosPedido" class="lp-input lp-cell lp-cell-disabled" type="text" value="0"></td>
|
||||
<td class="lp-td"><input id="lp_rot_bn_precioPliego" name="lp_rot_bn_precioPliego" class="lp-input lp-cell lp-cell-disabled" type="text" value="0"></td>
|
||||
<td class="lp-td"><input id="lp_rot_bn_libro" name="lp_rot_bn_libro" readonly class="lp-input lp-cell lp-cell-disabled" type="text" value="0"></td>
|
||||
<td class="lp-td"><input id="lp_rot_bn_totalPapelPedido" name="lp_rot_bn_totalPapelPedido" readonly class="lp-input lp-cell lp-cell-disabled" type="text" value="0"></td>
|
||||
<td class="lp-td"><input id="lp_rot_bn_checkPapel" name="lp_rot_bn_checkPapel_bn" style="width: 15px; padding: 0; margin:0;" type="checkbox" checked></td>
|
||||
<td class="lp-td"><input id="lp_rot_bn_lomo" name="lp_rot_bn_lomo" readonly class="lp-input lp-cell lp-cell-disabled" type="text" value="0"></td>
|
||||
<td class="lp-td"><input id="lp_rot_bn_peso" name="lp_rot_bn_peso" readonly class="lp-input lp-cell lp-cell-disabled" type="text" value="0"></td>
|
||||
<td class="lp-td"><input id="lp_rot_bn_click" name="lp_rot_bn_click" readonly class="lp-input lp-cell lp-cell-disabled" value="0"></td>
|
||||
<td class="lp-td"><input id="lp_rot_bn_totalClicks" name="lp_rot_bn_totalClicks" class="lp-input lp-cell lp-cell-disabled" type="text" value="0"></td>
|
||||
<td class="lp-td"><input id="lp_rot_bn_checkClicks" name="lp_rot_bn_checkClicks" style="width: 15px; padding: 0; margin:0;" type="checkbox" checked></td>
|
||||
<td style="padding: 0; margin:0;"><a href="javascript:void(0);"><i class="ti ti-trash ti-sm btn-delete mx-2"></i></a></td>
|
||||
</tr>
|
||||
<tr id="lp_rot_bn_data" >
|
||||
<td class="lp-td"></td>
|
||||
<td class="lp-td" colspan="18" style="padding-top: 0px;">
|
||||
<div class="row">
|
||||
<div class="col-md-12 col-lg-1">
|
||||
<button id="lp_rot_bn_defecto" name="lp_rot_bn_defecto" type="button" class="btn btn-label-primary waves-effect lp-button"><?= lang('Presupuestos.porDefecto') ?></button>
|
||||
</div>
|
||||
<div class="col-md-12 col-lg-1">
|
||||
<?= lang('Presupuestos.numPagColor') ?>
|
||||
<input type="text" id="lp_rot_bn_numPagColor" name="lp_rot_bn_numPagColor" class="lp-cell lp-input" value="0">
|
||||
</div>
|
||||
<div class="col-md-12 col-lg-1">
|
||||
<?= lang('Presupuestos.saturacion') ?>
|
||||
<input type="text" id="lp_rot_bn_saturacion" name="lp_rot_bn_saturacion" class="lp-cell lp-input" value="0">
|
||||
</div>
|
||||
<div class="col-md-12 col-lg-1">
|
||||
<?= lang('Presupuestos.cobNegro') ?>
|
||||
<input type="text" id="lp_rot_bn_cobNegro" name="lp_rot_bn_cobNegro" class="lp-cell lp-input" value="0">
|
||||
</div>
|
||||
<div class="col-md-12 col-lg-1">
|
||||
<?= lang('Presupuestos.cobCyan') ?>
|
||||
<input type="text" id="lp_rot_bn_cobCyan" name="lp_rot_bn_cobCyan" class="lp-cell lp-input" value="0">
|
||||
</div>
|
||||
<div class="col-md-12 col-lg-1">
|
||||
<?= lang('Presupuestos.cobMagenta') ?>
|
||||
<input type="text" id="lp_rot_bn_cobMagenta" name="lp_rot_bn_cobMagenta" class="lp-cell lp-input" value="0">
|
||||
</div>
|
||||
<div class="col-md-12 col-lg-1">
|
||||
<?= lang('Presupuestos.cobAmarillo') ?>
|
||||
<input type="text" id="lp_rot_bn_cobAmarillo" name="lp_rot_bn_cobAmarillo" class="lp-cell lp-input" value="0">
|
||||
</div>
|
||||
<div class="col-md-12 col-lg-1">
|
||||
<?= lang('Presupuestos.gotaNegro') ?>
|
||||
<input type="text" id="lp_rot_bn_gotaNegro" name="lp_rot_bn_gotaNegro" class="lp-cell lp-input" value="0">
|
||||
</div>
|
||||
<div class="col-md-12 col-lg-1">
|
||||
<?= lang('Presupuestos.gotaColor') ?>
|
||||
<input type="text" id="lp_rot_bn_gotaColor" name="lp_rot_bn_gotaColor" class="lp-cell lp-input" value="0">
|
||||
</div>
|
||||
<div class="col-md-12 col-lg-1" style="display: grid;">
|
||||
<?= lang('Presupuestos.aFavorFibra') ?>
|
||||
<input type="checkbox" id="lp_rot_bn_aFavorFibra" name="lp_rot_bn_aFavorFibra" checked >
|
||||
</div>
|
||||
<div class="col-md-12 col-lg-1">
|
||||
<?= lang('Presupuestos.totalLinea') ?>
|
||||
<input type="text" id="lp_rot_bn_totalLinea" name="lp_rot_bn_totalLinea" class="lp-cell lp-input" value="0">
|
||||
</div>
|
||||
<div class="col-md-12 col-lg-1">
|
||||
<button id="lp_rot_bn_vercalculos" name="lp_rot_bn_vercalculos" type="button" class="btn btn-label-primary waves-effect lp-button"><?= lang('Presupuestos.verCalculos') ?></button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row calculos_rot_bn" style="display: none;">
|
||||
<div class="col-md-12 col-lg-1">
|
||||
<?= lang('Presupuestos.metrosMinuto') ?>
|
||||
<input type="text" id="lp_rot_bn_metrosMinuto" name="lp_rot_bn_metrosMinuto" class="lp-cell lp-input" value="0">
|
||||
</div>
|
||||
<div class="col-md-12 col-lg-1">
|
||||
<?= lang('Presupuestos.resolucion') ?>
|
||||
<input type="text" id="lp_rot_bn_resolucion" name="lp_rot_bn_resolucion" class="lp-cell lp-cell-disabled lp-input" readonly value="0">
|
||||
</div>
|
||||
<div class="col-md-12 col-lg-1">
|
||||
<?= lang('Presupuestos.areaPaginas') ?>
|
||||
<input type="text" id="lp_rot_bn_areaPaginas" name="lp_rot_bn_areaPaginas" class="lp-cell lp-cell-disabled lp-input" readonly value="0">
|
||||
</div>
|
||||
<div class="col-md-12 col-lg-1">
|
||||
<?= lang('Presupuestos.gotasNegro') ?>
|
||||
<input type="text" id="lp_rot_bn_gotasNegro" name="lp_rot_bn_gotasNegro" class="lp-cell lp-cell-disabled lp-input" readonly value="0">
|
||||
</div>
|
||||
<div class="col-md-12 col-lg-1">
|
||||
<?= lang('Presupuestos.gotasCyan') ?>
|
||||
<input type="text" id="lp_rot_bn_gotasCyan" name="lp_rot_bn_gotasCyan" class="lp-cell lp-cell-disabled lp-input" readonly value="0">
|
||||
</div>
|
||||
<div class="col-md-12 col-lg-1">
|
||||
<?= lang('Presupuestos.gotasMagenta') ?>
|
||||
<input type="text" id="lp_rot_bn_gotasMagenta" name="lp_rot_bn_gotasMagenta" class="lp-cell lp-cell-disabled lp-input" readonly value="0">
|
||||
</div>
|
||||
<div class="col-md-12 col-lg-1">
|
||||
<?= lang('Presupuestos.gotasAmarillo') ?>
|
||||
<input type="text" id="lp_rot_bn_gotasAmarillo" name="lp_rot_bn_gotasAmarillo" class="lp-cell lp-cell-disabled lp-input" readonly value="0">
|
||||
</div>
|
||||
<div class="col-md-12 col-lg-1">
|
||||
<?= lang('Presupuestos.precioPagNegro') ?>
|
||||
<input type="text" id="lp_rot_bn_precioPagNegro" name="lp_rot_bn_precioPagNegro" class="lp-cell lp-cell-disabled lp-input" readonly value="0">
|
||||
</div>
|
||||
<div class="col-md-12 col-lg-1">
|
||||
<?= lang('Presupuestos.precioPagColor') ?>
|
||||
<input type="text" id="lp_rot_bn_precioPagColor" name="lp_rot_bn_precioPagColor" class="lp-cell lp-cell-disabled lp-input" readonly value="0">
|
||||
</div>
|
||||
<div class="col-md-12 col-lg-1">
|
||||
<?= lang('Presupuestos.factorAltura') ?>
|
||||
<input type="text" id="lp_rot_bn_factorAltura" name="lp_rot_bn_factorAltura" class="lp-cell lp-cell-disabled lp-input" readonly value="0">
|
||||
</div>
|
||||
<div class="col-md-12 col-lg-1">
|
||||
<?= lang('Presupuestos.factorAnchura') ?>
|
||||
<input type="text" id="lp_rot_bn_factorAnchura" name="lp_rot_bn_factorAnchura" class="lp-cell lp-cell-disabled lp-input" readonly value="0">
|
||||
</div>
|
||||
<div class="col-md-12 col-lg-1">
|
||||
<?= lang('Presupuestos.paginasPliego') ?>
|
||||
<input type="text" id="lp_rot_bn_paginasPliego" name="lp_rot_bn_paginasPliego" class="lp-cell lp-cell-disabled lp-input" readonly value="0">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row calculos_rot_bn" style="display: none;">
|
||||
<div class="col-md-12 col-lg-1">
|
||||
<?= lang('Presupuestos.metrosPapelLibro') ?>
|
||||
<input type="text" id="lp_rot_bn_metrosPapelLibro" name="lp_rot_bn_metrosPapelLibro" class="lp-cell lp-cell-disabled lp-input" readonly value="0">
|
||||
</div>
|
||||
<div class="col-md-12 col-lg-1">
|
||||
<?= lang('Presupuestos.metrosPapelTotal') ?>
|
||||
<input type="text" id="lp_rot_bn_metrosPapelTotal" name="lp_rot_bn_metrosPapelTotal" class="lp-cell lp-cell-disabled lp-input" readonly value="0">
|
||||
</div>
|
||||
<div class="col-md-12 col-lg-1">
|
||||
<?= lang('Presupuestos.clicksLibro') ?>
|
||||
<input type="text" id="lp_rot_bn_clicksLibro" name="lp_rot_bn_clicksLibro" class="lp-cell lp-cell-disabled lp-input" readonly value="0">
|
||||
</div>
|
||||
<div class="col-md-12 col-lg-1">
|
||||
<?= lang('Presupuestos.gTintaNegro') ?>
|
||||
<input type="text" id="lp_rot_bn_gTintaNegro" name="lp_rot_bn_gTintaNegro" class="lp-cell lp-cell-disabled lp-input" readonly value="0">
|
||||
</div>
|
||||
<div class="col-md-12 col-lg-1">
|
||||
<?= lang('Presupuestos.gTintaCyan') ?>
|
||||
<input type="text" id="lp_rot_bn_gTintaCyan" name="lp_rot_bn_gTintaCyan" class="lp-cell lp-cell-disabled lp-input" readonly value="0">
|
||||
</div>
|
||||
<div class="col-md-12 col-lg-1">
|
||||
<?= lang('Presupuestos.gTintaMagenta') ?>
|
||||
<input type="text" id="lp_rot_bn_gTintaMagenta" name="lp_rot_bn_gTintaMagenta" class="lp-cell lp-cell-disabled lp-input" readonly value="0">
|
||||
</div>
|
||||
<div class="col-md-12 col-lg-1">
|
||||
<?= lang('Presupuestos.gTintaAmarillo') ?>
|
||||
<input type="text" id="lp_rot_bn_gTintaAmarillo" name="lp_rot_bn_gTintaAmarillo" class="lp-cell lp-cell-disabled lp-input" readonly value="0">
|
||||
</div>
|
||||
<div class="col-md-12 col-lg-1">
|
||||
<?= lang('Presupuestos.clicksPedido') ?>
|
||||
<input type="text" id="lp_rot_bn_clicksPedido" name="lp_rot_bn_clicksPedido" class="lp-cell lp-cell-disabled lp-input" readonly value="0">
|
||||
</div>
|
||||
<div class="col-md-12 col-lg-1">
|
||||
<?= lang('Presupuestos.totalClicks') ?>
|
||||
<input type="text" id="lp_rot_bn_totalClicks" name="lp_rot_bn_totalClicks" class="lp-cell lp-cell-disabled lp-input" readonly value="0">
|
||||
</div>
|
||||
<div class="col-md-12 col-lg-1">
|
||||
<?= lang('Presupuestos.totalTinta') ?>
|
||||
<input type="text" id="lp_rot_bn_totalTinta" name="lp_rot_bn_totalTinta" class="lp-cell lp-cell-disabled lp-input" readonly value="0">
|
||||
</div>
|
||||
<div class="col-md-12 col-lg-1">
|
||||
<?= lang('Presupuestos.totalCorte') ?>
|
||||
<input type="text" id="lp_rot_bn_totalCorte" name="lp_rot_bn_totalCorte" class="lp-cell lp-cell-disabled lp-input" readonly value="0">
|
||||
</div>
|
||||
<div class="col-md-12 col-lg-1">
|
||||
<?= lang('Presupuestos.totalImpresion') ?>
|
||||
<input type="text" id="lp_rot_bn_totalImpresion" name="lp_rot_bn_totalImpresion" class="lp-cell lp-cell-disabled lp-input" readonly value="0">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row calculos_rot_bn" style="display: none;">
|
||||
<div class="col-md-12 col-lg-1">
|
||||
<?= lang('Presupuestos.velocidadCorte') ?>
|
||||
<input type="text" id="lp_rot_bn_velocidadCorte" name="lp_rot_bn_velocidadCorte" class="lp-cell lp-input" value="0">
|
||||
</div>
|
||||
<div class="col-md-12 col-lg-1">
|
||||
<?= lang('Presupuestos.precioHoraCorte') ?>
|
||||
<input type="text" id="lp_rot_bn_precioHoraCorte" name="lp_rot_bn_precioHoraCorte" class="lp-cell lp-cell-disabled lp-input" readonly value="0">
|
||||
</div>
|
||||
<div class="col-md-12 col-lg-1">
|
||||
<?= lang('Presupuestos.tiempoCorte') ?>
|
||||
<input type="text" id="lp_rot_bn_tiempoCorte" name="lp_rot_bn_tiempoCorte" class="lp-cell lp-cell-disabled lp-input" readonly value="0">
|
||||
</div>
|
||||
<div class="col-md-12 col-lg-1">
|
||||
<?= lang('Presupuestos.gTintaNegroPed') ?>
|
||||
<input type="text" id="lp_rot_bn_gTintaNegroPed" name="lp_rot_bn_gTintaNegroPed" class="lp-cell lp-cell-disabled lp-input" readonly value="0">
|
||||
</div>
|
||||
<div class="col-md-12 col-lg-1">
|
||||
<?= lang('Presupuestos.gTintaCyanPed') ?>
|
||||
<input type="text" id="lp_rot_bn_gTintaCyanPed" name="lp_rot_bn_gTintaCyanPed" class="lp-cell lp-cell-disabled lp-input" readonly value="0">
|
||||
</div>
|
||||
<div class="col-md-12 col-lg-1">
|
||||
<?= lang('Presupuestos.gTintaMagentaPed') ?>
|
||||
<input type="text" id="lp_rot_bn_gTintaMagentaPed" name="lp_rot_bn_gTintaMagentaPed" class="lp-cell lp-cell-disabled lp-input" readonly value="0">
|
||||
</div>
|
||||
<div class="col-md-12 col-lg-1">
|
||||
<?= lang('Presupuestos.gTintaAmarilloPed') ?>
|
||||
<input type="text" id="lp_rot_bn_gTintaAmarilloPed" name="lp_rot_bn_gTintaAmarilloPed" class="lp-cell lp-cell-disabled lp-input" readonly value="0">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</td>
|
||||
<td style="display: none;"></td>
|
||||
<td style="display: none;"></td>
|
||||
<td style="display: none;"></td>
|
||||
<td style="display: none;"></td>
|
||||
<td style="display: none;"></td>
|
||||
<td style="display: none;"></td>
|
||||
<td style="display: none;"></td>
|
||||
<td style="display: none;"></td>
|
||||
<td style="display: none;"></td>
|
||||
<td style="display: none;"></td>
|
||||
<td style="display: none;"></td>
|
||||
<td style="display: none;"></td>
|
||||
<td style="display: none;"></td>
|
||||
<td style="display: none;"></td>
|
||||
<td style="display: none;"></td>
|
||||
<td style="display: none;"></td>
|
||||
<td style="display: none;"></td>
|
||||
</tr>
|
||||
|
||||
|
||||
|
||||
<tr id="lp_rot_color" style="border-bottom-color: white;">
|
||||
<td class="lp-td"> <img style="padding: 0; margin:0;" src="<?= site_url('themes/vuexy/img/safekat/presupuestos/icon_rotativa_color.png') ?>" /></td>
|
||||
<td class="lp-td"><input id="lp_rot_color_paginas" name="lp_rot_color_paginas" class="lp-cell lp-input" type="text" value="0"></td>
|
||||
<td class="lp-td">
|
||||
<select id="lp_rot_color_papel" name="lp_rot_color_papel" class="form-control form-select-sm lp-cell lp-select" style="min-width: 160px;">
|
||||
<?php if (isset($papelGenericoColorHQList) && is_array($papelGenericoColorHQList) && !empty($papelGenericoColorHQList)) :
|
||||
foreach ($papelGenericoColorHQList as $k => $v) : ?>
|
||||
<?php if($v->id != 0): ?>
|
||||
<option value="<?= $v->id ?>">
|
||||
<?= $v->nombre ?>
|
||||
</option>
|
||||
<?php endif; ?>
|
||||
<?php endforeach;
|
||||
endif; ?>
|
||||
</select>
|
||||
</td>
|
||||
<td class="lp-td">
|
||||
<select id="lp_rot_color_gramaje" name="lp_rot_color_gramaje" class="form-control form-select-sm lp-cell lp-select" style="min-width: 40px;">
|
||||
</select>
|
||||
</td>
|
||||
<td class="lp-td">
|
||||
<select id="lp_rot_color_papelCompra" name="lp_rot_color_papelCompra" class="form-control form-select-sm lp-cell lp-select" style="min-width: 160px;">
|
||||
</select>
|
||||
</td>
|
||||
<td class="lp-td">
|
||||
<select id="lp_rot_color_maquina" name="lp_rot_color_maquina" class="form-control form-select-sm lp-cell lp-select" style="min-width: 120px;">
|
||||
</select>
|
||||
</td>
|
||||
<td class="lp-td"><input id="lp_rot_color_tiempo" name="lp_rot_color_tiempo" class="lp-input lp-cell lp-cell-disabled" type="text" value="0"></td>
|
||||
<td class="lp-td"><input id="lp_rot_color_numeroPliegos" name="lp_rot_color_numeroPliegos" class="lp-input lp-cell lp-cell-disabled" type="text" value="0"></td>
|
||||
<td class="lp-td"><input id="lp_rot_color_pliegosPedido" name="lp_rot_color_pliegosPedido" class="lp-input lp-cell lp-cell-disabled" type="text" value="0"></td>
|
||||
<td class="lp-td"><input id="lp_rot_color_precioPliego" name="lp_rot_color_precioPliego" class="lp-input lp-cell lp-cell-disabled" type="text" value="0"></td>
|
||||
<td class="lp-td"><input id="lp_rot_color_libro" name="lp_rot_color_libro" readonly class="lp-input lp-cell lp-cell-disabled" type="text" value="0"></td>
|
||||
<td class="lp-td"><input id="lp_rot_color_totalPapelPedido" name="lp_rot_color_totalPapelPedido" readonly class="lp-input lp-cell lp-cell-disabled" type="text" value="0"></td>
|
||||
<td class="lp-td"><input id="lp_rot_color_checkPapel" name="lp_rot_color_checkPapel_bn" style="width: 15px; padding: 0; margin:0;" type="checkbox" checked></td>
|
||||
<td class="lp-td"><input id="lp_rot_color_lomo" name="lp_rot_color_lomo" readonly class="lp-input lp-cell lp-cell-disabled" type="text" value="0"></td>
|
||||
<td class="lp-td"><input id="lp_rot_color_peso" name="lp_rot_color_peso" readonly class="lp-input lp-cell lp-cell-disabled" type="text" value="0"></td>
|
||||
<td class="lp-td"><input id="lp_rot_color_click" name="lp_rot_color_click" readonly class="lp-input lp-cell lp-cell-disabled" value="0"></td>
|
||||
<td class="lp-td"><input id="lp_rot_color_totalClicks" name="lp_rot_color_totalClicks" class="lp-input lp-cell lp-cell-disabled" type="text" value="0"></td>
|
||||
<td class="lp-td"><input id="lp_rot_color_checkClicks" name="lp_rot_color_checkClicks" style="width: 15px; padding: 0; margin:0;" type="checkbox" checked></td>
|
||||
<td style="padding: 0; margin:0;"><a href="javascript:void(0);"><i class="ti ti-trash ti-sm btn-delete mx-2"></i></a></td>
|
||||
</tr>
|
||||
|
||||
<tr id="lp_rot_color_data" >
|
||||
<td class="lp-td"></td>
|
||||
<td class="lp-td" colspan="18" style="padding-top: 0px;">
|
||||
<div class="row">
|
||||
<div class="col-md-12 col-lg-1">
|
||||
<button id="lp_rot_color_defecto" name="lp_rot_color_defecto" type="button" class="btn btn-label-primary waves-effect lp-button"><?= lang('Presupuestos.porDefecto') ?></button>
|
||||
</div>
|
||||
<div class="col-md-12 col-lg-1">
|
||||
<?= lang('Presupuestos.numPagColor') ?>
|
||||
<input type="text" id="lp_rot_color_numPagColor" name="lp_rot_color_numPagColor" class="lp-cell lp-input" value="0">
|
||||
</div>
|
||||
<div class="col-md-12 col-lg-1">
|
||||
<?= lang('Presupuestos.saturacion') ?>
|
||||
<input type="text" id="lp_rot_color_saturacion" name="lp_rot_color_saturacion" class="lp-cell lp-input" value="0">
|
||||
</div>
|
||||
<div class="col-md-12 col-lg-1">
|
||||
<?= lang('Presupuestos.cobNegro') ?>
|
||||
<input type="text" id="lp_rot_color_cobNegro" name="lp_rot_color_cobNegro" class="lp-cell lp-input" value="0">
|
||||
</div>
|
||||
<div class="col-md-12 col-lg-1">
|
||||
<?= lang('Presupuestos.cobCyan') ?>
|
||||
<input type="text" id="lp_rot_color_cobCyan" name="lp_rot_color_cobCyan" class="lp-cell lp-input" value="0">
|
||||
</div>
|
||||
<div class="col-md-12 col-lg-1">
|
||||
<?= lang('Presupuestos.cobMagenta') ?>
|
||||
<input type="text" id="lp_rot_color_cobMagenta" name="lp_rot_color_cobMagenta" class="lp-cell lp-input" value="0">
|
||||
</div>
|
||||
<div class="col-md-12 col-lg-1">
|
||||
<?= lang('Presupuestos.cobAmarillo') ?>
|
||||
<input type="text" id="lp_rot_color_cobAmarillo" name="lp_rot_color_cobAmarillo" class="lp-cell lp-input" value="0">
|
||||
</div>
|
||||
<div class="col-md-12 col-lg-1">
|
||||
<?= lang('Presupuestos.gotaNegro') ?>
|
||||
<input type="text" id="lp_rot_color_gotaNegro" name="lp_rot_color_gotaNegro" class="lp-cell lp-input" value="0">
|
||||
</div>
|
||||
<div class="col-md-12 col-lg-1">
|
||||
<?= lang('Presupuestos.gotaColor') ?>
|
||||
<input type="text" id="lp_rot_color_gotaColor" name="lp_rot_color_gotaColor" class="lp-cell lp-input" value="0">
|
||||
</div>
|
||||
<div class="col-md-12 col-lg-1" style="display: grid;">
|
||||
<?= lang('Presupuestos.aFavorFibra') ?>
|
||||
<input type="checkbox" id="lp_rot_color_aFavorFibra" name="lp_rot_color_aFavorFibra" checked >
|
||||
</div>
|
||||
<div class="col-md-12 col-lg-1">
|
||||
<?= lang('Presupuestos.totalLinea') ?>
|
||||
<input type="text" id="lp_rot_color_totalLinea" name="lp_rot_color_totalLinea" class="lp-cell lp-input" value="0">
|
||||
</div>
|
||||
<div class="col-md-12 col-lg-1">
|
||||
<button id="lp_rot_color_vercalculos" name="lp_rot_color_vercalculos" type="button" class="btn btn-label-primary waves-effect lp-button"><?= lang('Presupuestos.verCalculos') ?></button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row calculos_rot_color" style="display: none;">
|
||||
<div class="col-md-12 col-lg-1">
|
||||
<?= lang('Presupuestos.metrosMinuto') ?>
|
||||
<input type="text" id="lp_rot_color_metrosMinuto" name="lp_rot_color_metrosMinuto" class="lp-cell lp-input" value="0">
|
||||
</div>
|
||||
<div class="col-md-12 col-lg-1">
|
||||
<?= lang('Presupuestos.resolucion') ?>
|
||||
<input type="text" id="lp_rot_color_resolucion" name="lp_rot_color_resolucion" class="lp-cell lp-cell-disabled lp-input" readonly value="0">
|
||||
</div>
|
||||
<div class="col-md-12 col-lg-1">
|
||||
<?= lang('Presupuestos.areaPaginas') ?>
|
||||
<input type="text" id="lp_rot_color_areaPaginas" name="lp_rot_color_areaPaginas" class="lp-cell lp-cell-disabled lp-input" readonly value="0">
|
||||
</div>
|
||||
<div class="col-md-12 col-lg-1">
|
||||
<?= lang('Presupuestos.gotasNegro') ?>
|
||||
<input type="text" id="lp_rot_color_gotasNegro" name="lp_rot_color_gotasNegro" class="lp-cell lp-cell-disabled lp-input" readonly value="0">
|
||||
</div>
|
||||
<div class="col-md-12 col-lg-1">
|
||||
<?= lang('Presupuestos.gotasCyan') ?>
|
||||
<input type="text" id="lp_rot_color_gotasCyan" name="lp_rot_color_gotasCyan" class="lp-cell lp-cell-disabled lp-input" readonly value="0">
|
||||
</div>
|
||||
<div class="col-md-12 col-lg-1">
|
||||
<?= lang('Presupuestos.gotasMagenta') ?>
|
||||
<input type="text" id="lp_rot_color_gotasMagenta" name="lp_rot_color_gotasMagenta" class="lp-cell lp-cell-disabled lp-input" readonly value="0">
|
||||
</div>
|
||||
<div class="col-md-12 col-lg-1">
|
||||
<?= lang('Presupuestos.gotasAmarillo') ?>
|
||||
<input type="text" id="lp_rot_color_gotasAmarillo" name="lp_rot_color_gotasAmarillo" class="lp-cell lp-cell-disabled lp-input" readonly value="0">
|
||||
</div>
|
||||
<div class="col-md-12 col-lg-1">
|
||||
<?= lang('Presupuestos.precioPagNegro') ?>
|
||||
<input type="text" id="lp_rot_color_precioPagNegro" name="lp_rot_color_precioPagNegro" class="lp-cell lp-cell-disabled lp-input" readonly value="0">
|
||||
</div>
|
||||
<div class="col-md-12 col-lg-1">
|
||||
<?= lang('Presupuestos.precioPagColor') ?>
|
||||
<input type="text" id="lp_rot_color_precioPagColor" name="lp_rot_color_precioPagColor" class="lp-cell lp-cell-disabled lp-input" readonly value="0">
|
||||
</div>
|
||||
<div class="col-md-12 col-lg-1">
|
||||
<?= lang('Presupuestos.factorAltura') ?>
|
||||
<input type="text" id="lp_rot_color_factorAltura" name="lp_rot_color_factorAltura" class="lp-cell lp-cell-disabled lp-input" readonly value="0">
|
||||
</div>
|
||||
<div class="col-md-12 col-lg-1">
|
||||
<?= lang('Presupuestos.factorAnchura') ?>
|
||||
<input type="text" id="lp_rot_color_factorAnchura" name="lp_rot_color_factorAnchura" class="lp-cell lp-cell-disabled lp-input" readonly value="0">
|
||||
</div>
|
||||
<div class="col-md-12 col-lg-1">
|
||||
<?= lang('Presupuestos.paginasPliego') ?>
|
||||
<input type="text" id="lp_rot_color_paginasPliego" name="lp_rot_color_paginasPliego" class="lp-cell lp-cell-disabled lp-input" readonly value="0">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row calculos_rot_color" style="display: none;">
|
||||
<div class="col-md-12 col-lg-1">
|
||||
<?= lang('Presupuestos.metrosPapelLibro') ?>
|
||||
<input type="text" id="lp_rot_color_metrosPapelLibro" name="lp_rot_color_metrosPapelLibro" class="lp-cell lp-cell-disabled lp-input" readonly value="0">
|
||||
</div>
|
||||
<div class="col-md-12 col-lg-1">
|
||||
<?= lang('Presupuestos.metrosPapelTotal') ?>
|
||||
<input type="text" id="lp_rot_color_metrosPapelTotal" name="lp_rot_color_metrosPapelTotal" class="lp-cell lp-cell-disabled lp-input" readonly value="0">
|
||||
</div>
|
||||
<div class="col-md-12 col-lg-1">
|
||||
<?= lang('Presupuestos.clicksLibro') ?>
|
||||
<input type="text" id="lp_rot_color_clicksLibro" name="lp_rot_color_clicksLibro" class="lp-cell lp-cell-disabled lp-input" readonly value="0">
|
||||
</div>
|
||||
<div class="col-md-12 col-lg-1">
|
||||
<?= lang('Presupuestos.gTintaNegro') ?>
|
||||
<input type="text" id="lp_rot_color_gTintaNegro" name="lp_rot_color_gTintaNegro" class="lp-cell lp-cell-disabled lp-input" readonly value="0">
|
||||
</div>
|
||||
<div class="col-md-12 col-lg-1">
|
||||
<?= lang('Presupuestos.gTintaCyan') ?>
|
||||
<input type="text" id="lp_rot_color_gTintaCyan" name="lp_rot_color_gTintaCyan" class="lp-cell lp-cell-disabled lp-input" readonly value="0">
|
||||
</div>
|
||||
<div class="col-md-12 col-lg-1">
|
||||
<?= lang('Presupuestos.gTintaMagenta') ?>
|
||||
<input type="text" id="lp_rot_color_gTintaMagenta" name="lp_rot_color_gTintaMagenta" class="lp-cell lp-cell-disabled lp-input" readonly value="0">
|
||||
</div>
|
||||
<div class="col-md-12 col-lg-1">
|
||||
<?= lang('Presupuestos.gTintaAmarillo') ?>
|
||||
<input type="text" id="lp_rot_color_gTintaAmarillo" name="lp_rot_color_gTintaAmarillo" class="lp-cell lp-cell-disabled lp-input" readonly value="0">
|
||||
</div>
|
||||
<div class="col-md-12 col-lg-1">
|
||||
<?= lang('Presupuestos.clicksPedido') ?>
|
||||
<input type="text" id="lp_rot_color_clicksPedido" name="lp_rot_color_clicksPedido" class="lp-cell lp-cell-disabled lp-input" readonly value="0">
|
||||
</div>
|
||||
<div class="col-md-12 col-lg-1">
|
||||
<?= lang('Presupuestos.totalClicks') ?>
|
||||
<input type="text" id="lp_rot_color_totalClicks" name="lp_rot_color_totalClicks" class="lp-cell lp-cell-disabled lp-input" readonly value="0">
|
||||
</div>
|
||||
<div class="col-md-12 col-lg-1">
|
||||
<?= lang('Presupuestos.totalTinta') ?>
|
||||
<input type="text" id="lp_rot_color_totalTinta" name="lp_rot_color_totalTinta" class="lp-cell lp-cell-disabled lp-input" readonly value="0">
|
||||
</div>
|
||||
<div class="col-md-12 col-lg-1">
|
||||
<?= lang('Presupuestos.totalCorte') ?>
|
||||
<input type="text" id="lp_rot_color_totalCorte" name="lp_rot_color_totalCorte" class="lp-cell lp-cell-disabled lp-input" readonly value="0">
|
||||
</div>
|
||||
<div class="col-md-12 col-lg-1">
|
||||
<?= lang('Presupuestos.totalImpresion') ?>
|
||||
<input type="text" id="lp_rot_color_totalImpresion" name="lp_rot_color_totalImpresion" class="lp-cell lp-cell-disabled lp-input" readonly value="0">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row calculos_rot_color" style="display: none;">
|
||||
<div class="col-md-12 col-lg-1">
|
||||
<?= lang('Presupuestos.velocidadCorte') ?>
|
||||
<input type="text" id="lp_rot_color_velocidadCorte" name="lp_rot_color_velocidadCorte" class="lp-cell lp-input" value="0">
|
||||
</div>
|
||||
<div class="col-md-12 col-lg-1">
|
||||
<?= lang('Presupuestos.precioHoraCorte') ?>
|
||||
<input type="text" id="lp_rot_color_precioHoraCorte" name="lp_rot_color_precioHoraCorte" class="lp-cell lp-cell-disabled lp-input" readonly value="0">
|
||||
</div>
|
||||
<div class="col-md-12 col-lg-1">
|
||||
<?= lang('Presupuestos.tiempoCorte') ?>
|
||||
<input type="text" id="lp_rot_color_tiempoCorte" name="lp_rot_color_tiempoCorte" class="lp-cell lp-cell-disabled lp-input" readonly value="0">
|
||||
</div>
|
||||
<div class="col-md-12 col-lg-1">
|
||||
<?= lang('Presupuestos.gTintaNegroPed') ?>
|
||||
<input type="text" id="lp_rot_color_gTintaNegroPed" name="lp_rot_color_gTintaNegroPed" class="lp-cell lp-cell-disabled lp-input" readonly value="0">
|
||||
</div>
|
||||
<div class="col-md-12 col-lg-1">
|
||||
<?= lang('Presupuestos.gTintaCyanPed') ?>
|
||||
<input type="text" id="lp_rot_color_gTintaCyanPed" name="lp_rot_color_gTintaCyanPed" class="lp-cell lp-cell-disabled lp-input" readonly value="0">
|
||||
</div>
|
||||
<div class="col-md-12 col-lg-1">
|
||||
<?= lang('Presupuestos.gTintaMagentaPed') ?>
|
||||
<input type="text" id="lp_rot_color_gTintaMagentaPed" name="lp_rot_color_gTintaMagentaPed" class="lp-cell lp-cell-disabled lp-input" readonly value="0">
|
||||
</div>
|
||||
<div class="col-md-12 col-lg-1">
|
||||
<?= lang('Presupuestos.gTintaAmarilloPed') ?>
|
||||
<input type="text" id="lp_rot_color_gTintaAmarilloPed" name="lp_rot_color_gTintaAmarilloPed" class="lp-cell lp-cell-disabled lp-input" readonly value="0">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</td>
|
||||
<td style="display: none;"></td>
|
||||
<td style="display: none;"></td>
|
||||
<td style="display: none;"></td>
|
||||
<td style="display: none;"></td>
|
||||
<td style="display: none;"></td>
|
||||
<td style="display: none;"></td>
|
||||
<td style="display: none;"></td>
|
||||
<td style="display: none;"></td>
|
||||
<td style="display: none;"></td>
|
||||
<td style="display: none;"></td>
|
||||
<td style="display: none;"></td>
|
||||
<td style="display: none;"></td>
|
||||
<td style="display: none;"></td>
|
||||
<td style="display: none;"></td>
|
||||
<td style="display: none;"></td>
|
||||
<td style="display: none;"></td>
|
||||
<td style="display: none;"></td>
|
||||
</tr>
|
||||
|
||||
<tr id="lp_cubierta">
|
||||
<td class="lp-td"> <img style="padding: 0; margin:0;" src="<?= site_url('themes/vuexy/img/safekat/presupuestos/icon_cubierta.png') ?>" /></td>
|
||||
<td class="lp-td"><input id="lp_cubierta_paginas" name="lp_cubierta_paginas" class="lp-cell lp-input" type="text" value="0"></td>
|
||||
<td class="lp-td">
|
||||
<select id="lp_cubierta_papel" name="lp_cubierta_papel" class="form-control form-select-sm lp-cell lp-select" style="min-width: 160px;">
|
||||
<?php if (isset($papelGenericoColorHQList) && is_array($papelGenericoColorHQList) && !empty($papelGenericoColorHQList)) :
|
||||
foreach ($papelGenericoColorHQList as $k => $v) : ?>
|
||||
<?php if($v->id != 0): ?>
|
||||
<option value="<?= $v->id ?>">
|
||||
<?= $v->nombre ?>
|
||||
</option>
|
||||
<?php endif; ?>
|
||||
<?php endforeach;
|
||||
endif; ?>
|
||||
</select>
|
||||
</td>
|
||||
<td class="lp-td">
|
||||
<select id="lp_cubierta_gramaje" name="lp_cubierta_gramaje" class="form-control form-select-sm lp-cell lp-select" style="min-width: 40px;">
|
||||
</select>
|
||||
</td>
|
||||
<td class="lp-td">
|
||||
<select id="lp_cubierta_papelCompra" name="lp_cubierta_papelCompra" class="form-control form-select-sm lp-cell lp-select" style="min-width: 160px;">
|
||||
</select>
|
||||
</td>
|
||||
<td class="lp-td">
|
||||
<select id="lp_cubierta_maquina" name="lp_cubierta_maquina" class="form-control form-select-sm lp-cell lp-select" style="min-width: 120px;">
|
||||
</select>
|
||||
</td>
|
||||
<td class="lp-td"><input id="lp_cubierta_tiempo" name="lp_cubierta_tiempo" class="lp-input lp-cell lp-cell-disabled" type="text" value="0"></td>
|
||||
<td class="lp-td"><input id="lp_cubierta_numeroPliegos" name="lp_cubierta_numeroPliegos" class="lp-input lp-cell lp-cell-disabled" type="text" value="0"></td>
|
||||
<td class="lp-td"><input id="lp_cubierta_pliegosPedido" name="lp_cubierta_pliegosPedido" class="lp-input lp-cell lp-cell-disabled" type="text" value="0"></td>
|
||||
<td class="lp-td"><input id="lp_cubierta_precioPliego" name="lp_cubierta_precioPliego" class="lp-input lp-cell lp-cell-disabled" type="text" value="0"></td>
|
||||
<td class="lp-td"><input id="lp_cubierta_libro" name="lp_cubierta_libro" readonly class="lp-input lp-cell lp-cell-disabled" type="text" value="0"></td>
|
||||
<td class="lp-td"><input id="lp_cubierta_totalPapelPedido" name="lp_cubierta_totalPapelPedido" readonly class="lp-input lp-cell lp-cell-disabled" type="text" value="0"></td>
|
||||
<td class="lp-td"><input id="lp_cubierta_checkPapel" name="lp_cubierta_checkPapel_bn" style="width: 15px; padding: 0; margin:0;" type="checkbox" checked></td>
|
||||
<td class="lp-td"><input id="lp_cubierta_lomo" name="lp_cubierta_lomo" readonly class="lp-input lp-cell lp-cell-disabled" type="text" value="0"></td>
|
||||
<td class="lp-td"><input id="lp_cubierta_peso" name="lp_cubierta_peso" readonly class="lp-input lp-cell lp-cell-disabled" type="text" value="0"></td>
|
||||
<td class="lp-td"><input id="lp_cubierta_click" name="lp_cubierta_click" readonly class="lp-input lp-cell lp-cell-disabled" value="0"></td>
|
||||
<td class="lp-td"><input id="lp_cubierta_totalClicks" name="lp_cubierta_totalClicks" class="lp-input lp-cell lp-cell-disabled" type="text" value="0"></td>
|
||||
<td class="lp-td"><input id="lp_cubierta_checkClicks" name="lp_cubierta_checkClicks" style="width: 15px; padding: 0; margin:0;" type="checkbox" checked></td>
|
||||
<td style="padding: 0; margin:0;"><a href="javascript:void(0);"><i class="ti ti-trash ti-sm btn-delete mx-2"></i></a></td>
|
||||
</tr>
|
||||
|
||||
<tr id="lp_sobrecubierta">
|
||||
<td class="lp-td"> <img style="padding: 0; margin:0;" src="<?= site_url('themes/vuexy/img/safekat/presupuestos/icon_sobrecubierta.png') ?>" /></td>
|
||||
<td class="lp-td"><input id="lp_sobrecubierta_paginas" name="lp_sobrecubierta_paginas" class="lp-cell lp-input" type="text" value="0"></td>
|
||||
<td class="lp-td">
|
||||
<select id="lp_sobrecubierta_papel" name="lp_sobrecubierta_papel" class="form-control form-select-sm lp-cell lp-select" style="min-width: 160px;">
|
||||
<?php if (isset($papelGenericoColorHQList) && is_array($papelGenericoColorHQList) && !empty($papelGenericoColorHQList)) :
|
||||
foreach ($papelGenericoColorHQList as $k => $v) : ?>
|
||||
<?php if($v->id != 0): ?>
|
||||
<option value="<?= $v->id ?>">
|
||||
<?= $v->nombre ?>
|
||||
</option>
|
||||
<?php endif; ?>
|
||||
<?php endforeach;
|
||||
endif; ?>
|
||||
</select>
|
||||
</td>
|
||||
<td class="lp-td">
|
||||
<select id="lp_sobrecubierta_gramaje" name="lp_sobrecubierta_gramaje" class="form-control form-select-sm lp-cell lp-select" style="min-width: 40px;">
|
||||
</select>
|
||||
</td>
|
||||
<td class="lp-td">
|
||||
<select id="lp_sobrecubierta_papelCompra" name="lp_sobrecubierta_papelCompra" class="form-control form-select-sm lp-cell lp-select" style="min-width: 160px;">
|
||||
</select>
|
||||
</td>
|
||||
<td class="lp-td">
|
||||
<select id="lp_sobrecubierta_maquina" name="lp_sobrecubierta_maquina" class="form-control form-select-sm lp-cell lp-select" style="min-width: 120px;">
|
||||
</select>
|
||||
</td>
|
||||
<td class="lp-td"><input id="lp_sobrecubierta_tiempo" name="lp_sobrecubierta_tiempo" class="lp-input lp-cell lp-cell-disabled" type="text" value="0"></td>
|
||||
<td class="lp-td"><input id="lp_sobrecubierta_numeroPliegos" name="lp_sobrecubierta_numeroPliegos" class="lp-input lp-cell lp-cell-disabled" type="text" value="0"></td>
|
||||
<td class="lp-td"><input id="lp_sobrecubierta_pliegosPedido" name="lp_sobrecubierta_pliegosPedido" class="lp-input lp-cell lp-cell-disabled" type="text" value="0"></td>
|
||||
<td class="lp-td"><input id="lp_sobrecubierta_precioPliego" name="lp_sobrecubierta_precioPliego" class="lp-input lp-cell lp-cell-disabled" type="text" value="0"></td>
|
||||
<td class="lp-td"><input id="lp_sobrecubierta_libro" name="lp_sobrecubierta_libro" readonly class="lp-input lp-cell lp-cell-disabled" type="text" value="0"></td>
|
||||
<td class="lp-td"><input id="lp_sobrecubierta_totalPapelPedido" name="lp_sobrecubierta_totalPapelPedido" readonly class="lp-input lp-cell lp-cell-disabled" type="text" value="0"></td>
|
||||
<td class="lp-td"><input id="lp_sobrecubierta_checkPapel" name="lp_sobrecubierta_checkPapel_bn" style="width: 15px; padding: 0; margin:0;" type="checkbox" checked></td>
|
||||
<td class="lp-td"><input id="lp_sobrecubierta_lomo" name="lp_sobrecubierta_lomo" readonly class="lp-input lp-cell lp-cell-disabled" type="text" value="0"></td>
|
||||
<td class="lp-td"><input id="lp_sobrecubierta_peso" name="lp_sobrecubierta_peso" readonly class="lp-input lp-cell lp-cell-disabled" type="text" value="0"></td>
|
||||
<td class="lp-td"><input id="lp_sobrecubierta_click" name="lp_sobrecubierta_click" readonly class="lp-input lp-cell lp-cell-disabled" value="0"></td>
|
||||
<td class="lp-td"><input id="lp_sobrecubierta_totalClicks" name="lp_sobrecubierta_totalClicks" class="lp-input lp-cell lp-cell-disabled" type="text" value="0"></td>
|
||||
<td class="lp-td"><input id="lp_sobrecubierta_checkClicks" name="lp_sobrecubierta_checkClicks" style="width: 15px; padding: 0; margin:0;" type="checkbox" checked></td>
|
||||
<td style="padding: 0; margin:0;"><a href="javascript:void(0);"><i class="ti ti-trash ti-sm btn-delete mx-2"></i></a></td>
|
||||
</tr>
|
||||
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
@ -40,4 +797,26 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!------------------------------------------->
|
||||
<!-- Código JS de las lineas de presupuesto. -->
|
||||
<!------------------------------------------->
|
||||
<?= $this->section("additionalInlineJs") ?>
|
||||
|
||||
$('#lp_rot_color_vercalculos').on("click", function () {
|
||||
if($( ".calculos_rot_color" ).css('display') == 'none')
|
||||
$( ".calculos_rot_color" ).css('display', 'flex')
|
||||
else{
|
||||
$( ".calculos_rot_color" ).css('display', 'none')
|
||||
}
|
||||
});
|
||||
|
||||
$('#lp_rot_bn_vercalculos').on("click", function () {
|
||||
if($( ".calculos_rot_bn" ).css('display') == 'none')
|
||||
$( ".calculos_rot_bn" ).css('display', 'flex')
|
||||
else{
|
||||
$( ".calculos_rot_bn" ).css('display', 'none')
|
||||
}
|
||||
});
|
||||
<?= $this->endSection() ?>
|
||||
@ -50,15 +50,19 @@ $('#compPaginasNegrohq').on("change", function () {
|
||||
});
|
||||
|
||||
$('#compPaginasColorhq').on("change", function () {
|
||||
if (document.getElementById('paginas').value < document.getElementById('compPaginasColorhq').value) {
|
||||
document.getElementById('compPaginasColorhq').value = document.getElementById('paginas').value;
|
||||
}
|
||||
const paginas = parseInt(document.getElementById('paginas').value);
|
||||
var color = parseInt(document.getElementById('compPaginasColorhq').value);
|
||||
var negro = parseInt(document.getElementById('compPaginasNegrohq').value);
|
||||
|
||||
if (document.getElementById('compPaginasNegrohq').value + document.getElementById('compPaginasColorhq').value > document.getElementById('paginas').value) {
|
||||
var newValue = document.getElementById('paginas').value - document.getElementById('compPaginasColorhq').value;
|
||||
if (paginas < color) {
|
||||
document.getElementById('compPaginasColorhq').value = paginas;
|
||||
color = paginas
|
||||
}
|
||||
var newValue = paginas - color;
|
||||
if (newValue != negro) {
|
||||
document.getElementById('compPaginasNegrohq').value = newValue >= 0 ? newValue : 0;
|
||||
$('#compPaginasNegrohq').change();
|
||||
}
|
||||
|
||||
});
|
||||
|
||||
$('#paginas').on("change", function () {
|
||||
|
||||
@ -116,6 +116,10 @@
|
||||
allowClear: false,
|
||||
});
|
||||
|
||||
$('#compGramajeColorhq').select2({
|
||||
allowClear: false,
|
||||
});
|
||||
|
||||
$('#compPapelCubierta').select2({
|
||||
allowClear: false,
|
||||
});
|
||||
@ -334,6 +338,9 @@
|
||||
]
|
||||
});
|
||||
|
||||
const papelGenericoNegroList = <?php echo json_encode($papelGenericoNegroList); ?>;
|
||||
|
||||
|
||||
var tableLineasPresupuesto = new DataTable('#tableLineasPresupuesto',{
|
||||
scrollX: true,
|
||||
searching: false,
|
||||
@ -345,73 +352,7 @@
|
||||
language: {
|
||||
url: "//cdn.datatables.net/plug-ins/1.13.4/i18n/<?= config('Basics')->i18n ?>.json"
|
||||
},
|
||||
columns: [
|
||||
{ 'data': 'tipo',
|
||||
'render': function ( data, type, row, meta ) {
|
||||
if(data=='bn')
|
||||
return '<img src=\"<?= site_url("themes/vuexy/img/safekat/presupuestos/icon_bn.png") ?>\" />';
|
||||
else if(data=='bnhq')
|
||||
return '<img src=\"<?= site_url("themes/vuexy/img/safekat/presupuestos/icon_bnhq.png") ?>\" />';
|
||||
else if(data=='color')
|
||||
return '<img src=\"<?= site_url("themes/vuexy/img/safekat/presupuestos/icon_color.png") ?>\" />';
|
||||
else if(data=='colorhq')
|
||||
return '<img src=\"<?= site_url("themes/vuexy/img/safekat/presupuestos/icon_colorhq.png") ?>\" />';
|
||||
else if(data=='rotativabn')
|
||||
return '<img src=\"<?= site_url("themes/vuexy/img/safekat/presupuestos/icon_rotativa_bn.png") ?>\" />';
|
||||
else if(data=='rotativacolor')
|
||||
return '<img src=\"<?= site_url("themes/vuexy/img/safekat/presupuestos/icon_rotativa_color.png") ?>\" />';
|
||||
else
|
||||
return '';
|
||||
}
|
||||
},
|
||||
{ 'data': 'paginas' },
|
||||
{ 'data': 'papel' },
|
||||
{ 'data': 'gramaje' },
|
||||
{ 'data': 'marca' },
|
||||
{ 'data': 'maquina' },
|
||||
{ 'data': 'tiempo' },
|
||||
{ 'data': 'numeroPliegos' },
|
||||
{ 'data': 'pliegosPedido' },
|
||||
{ 'data': 'precioPliego' },
|
||||
{ 'data': 'libro' },
|
||||
{ 'data': 'totalPapelPedido' },
|
||||
{ 'data': 'chekPapel',
|
||||
render: function (data,type,row) {
|
||||
if (data == true) {
|
||||
return '<input type="checkbox" checked>';
|
||||
} else {
|
||||
return '<input type="checkbox">';
|
||||
}
|
||||
return data;
|
||||
}
|
||||
},
|
||||
{ 'data': 'lomo' },
|
||||
{ 'data': 'peso' },
|
||||
{ 'data': 'click' },
|
||||
{ 'data': 'totalClicks' },
|
||||
{ 'data': 'chekClicks',
|
||||
render: function (data,type,row) {
|
||||
if (data == true) {
|
||||
return '<input type="checkbox" checked>';
|
||||
} else {
|
||||
return '<input type="checkbox">';
|
||||
}
|
||||
return data;
|
||||
}
|
||||
},
|
||||
{ 'data': 'maquinaId'},
|
||||
{ 'data': 'tiempoMaquina'},
|
||||
{ 'data': 'maquinaVelocidad'},
|
||||
{ 'data': 'papelGenericoId'},
|
||||
{ 'data': 'papelImpresionId'}
|
||||
],
|
||||
columnDefs: [
|
||||
{
|
||||
target: [18,19,20,21,22],
|
||||
visible: false,
|
||||
searchable: false
|
||||
},
|
||||
]
|
||||
|
||||
});
|
||||
|
||||
|
||||
@ -458,7 +399,7 @@
|
||||
url: "/cosidotapablanda/datatable",
|
||||
data: datos,
|
||||
success: function (data) {
|
||||
|
||||
console.log(data)
|
||||
clearIntLineas(is_color);
|
||||
|
||||
if(data.lineas.length >0){
|
||||
@ -644,8 +585,7 @@
|
||||
|
||||
elementos = getIDsComparador(is_color, is_hq)
|
||||
|
||||
if ($('#compPaginasNegro').val() &&
|
||||
$(''+ elementos.papel).select2('data').length > 0 &&
|
||||
if ($(''+ elementos.papel).select2('data').length > 0 &&
|
||||
$(''+ elementos.gramaje).select2('data').length > 0 &&
|
||||
parseInt($(''+ elementos.paginas).val()) > 0 &&
|
||||
checkDatosPedidoForComp()) {
|
||||
@ -732,7 +672,7 @@
|
||||
data: function (params) {
|
||||
return {
|
||||
tipo: 'gramaje',
|
||||
uso: 'bn',
|
||||
uso: 'bnhq',
|
||||
datos: $('#compPapelNegrohq').select2('data')[0].text.trim() ,
|
||||
<?= csrf_token() ?? "token" ?> : <?= csrf_token() ?>v
|
||||
};
|
||||
@ -820,7 +760,7 @@
|
||||
data: function (params) {
|
||||
return {
|
||||
tipo: 'gramaje',
|
||||
uso: 'color',
|
||||
uso: 'colorhq',
|
||||
datos: $('#compPapelColorhq').select2('data')[0].text.trim() ,
|
||||
<?= csrf_token() ?? "token" ?> : <?= csrf_token() ?>v
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user