|
|
|
|
@ -1075,56 +1075,62 @@ class LineasPresupuesto {
|
|
|
|
|
'<td></td>' +
|
|
|
|
|
'<td></td>' +
|
|
|
|
|
'<td colspan="10">' +
|
|
|
|
|
'<div class="row flex-grow-1 d-flex align-items-end">' +
|
|
|
|
|
'<div class="col-md-12 col-lg-1">' +
|
|
|
|
|
window.language.Presupuestos.numeroPliegos +
|
|
|
|
|
'<div class="lp-row">' +
|
|
|
|
|
'<div class="lp-cell-auto">' +
|
|
|
|
|
'<label>' + window.language.Presupuestos.numeroPliegos + '</label>' +
|
|
|
|
|
'<input readonly id="' + d.row_id + '_numeroPliegos" name="' + d.row_id + '_numeroPliegos" class="lp-input lp-cell lp-cell-disabled ' + d.row_class + '-input" type="text" value="' + d.numeroPliegos + '">' +
|
|
|
|
|
'</div>' +
|
|
|
|
|
'<div class="col-md-12 col-lg-1">' +
|
|
|
|
|
window.language.Presupuestos.pliegosPedido +
|
|
|
|
|
'<div class="lp-cell-auto">' +
|
|
|
|
|
'<label>' + window.language.Presupuestos.pliegosPedido + '</label>' +
|
|
|
|
|
'<input readonly id="' + d.row_id + '_pliegosPedido" name="' + d.row_id + '_pliegosPedido" class="lp-input lp-cell lp-cell-disabled ' + d.row_class + '-input" type="text" value="' + d.pliegosPedido + '">' +
|
|
|
|
|
'</div>' +
|
|
|
|
|
'<div class="col-md-12 col-lg-1">' +
|
|
|
|
|
window.language.Presupuestos.precioPliego +
|
|
|
|
|
'<div class="lp-cell-auto">' +
|
|
|
|
|
'<label>' + window.language.Presupuestos.precioPliego + '</label>' +
|
|
|
|
|
'<input readonly id="' + d.row_id + '_precioPliego" name="' + d.row_id + '_precioPliego" class="lp-input lp-cell lp-cell-disabled ' + d.row_class + '-input" type="text" value="' + d.precioPliego + '">' +
|
|
|
|
|
'</div>' +
|
|
|
|
|
'<div class="col-md-12 col-lg-1">' +
|
|
|
|
|
window.language.Presupuestos.libro +
|
|
|
|
|
'<div class="lp-cell-auto">' +
|
|
|
|
|
'<label>' + window.language.Presupuestos.libro + '</label>' +
|
|
|
|
|
'<input readonly id="' + d.row_id + '_libro" name="' + d.row_id + '_libro" class="lp-input lp-cell lp-cell-disabled ' + d.row_class + '-input" type="text" value="' + d.libro + '">' +
|
|
|
|
|
'</div>' +
|
|
|
|
|
'<div class="col-md-12 col-lg-1">' +
|
|
|
|
|
window.language.Presupuestos.totalPapelPedido +
|
|
|
|
|
'<div class="lp-cell-auto">' +
|
|
|
|
|
'<label>' + window.language.Presupuestos.totalPapelPedido + '</label>' +
|
|
|
|
|
'<input readonly id="' + d.row_id + '_totalPapelPedido" name="' + d.row_id + '_totalPapelPedido" class="lp-input lp-cell lp-cell-disabled ' + d.row_class + '-input" type="text" value="' + d.totalPapelPedido + '">' +
|
|
|
|
|
'</div>' +
|
|
|
|
|
'<input id="' + d.row_id + '_margenPapelPedido" name="' + d.row_id + '_margenPapelPedido" readonly class="lp-input lp-cell lp-cell-disabled ' + d.row_class + '-input" type="text" value="' + d.margenPapelPedido + '" style="display: none;">' +
|
|
|
|
|
'<div class="d-flex col-md-auto justify-content-center align-items-center">' +
|
|
|
|
|
'<input id="' + d.row_id + '_checkPapel" name="' + d.row_id + '_checkPapel" class="update-totales" style="bottom:0;width: 15px; padding: 0; margin:0;" type="checkbox" ' + (d.check_papel_total == true ? 'checked' : '') + '>' +
|
|
|
|
|
'</div>' +
|
|
|
|
|
'<div class="col-md-1 col-lg-1">' +
|
|
|
|
|
window.language.Presupuestos.click +
|
|
|
|
|
'<div class="lp-cell-auto">' +
|
|
|
|
|
'<label>' + window.language.Presupuestos.click + '</label>' +
|
|
|
|
|
'<input readonly id="' + d.row_id + '_click" name="' + d.row_id + '_click" class="lp-input lp-cell lp-cell-disabled ' + d.row_class + '-input" type="text" value="' + d.click + '">' +
|
|
|
|
|
'</div>' +
|
|
|
|
|
'<div class="col-md-12 col-lg-1">' +
|
|
|
|
|
window.language.Presupuestos.totalClicks +
|
|
|
|
|
'<input readonly id="' + d.row_id + '_totalClicks" name="' + d.row_id + '_totalClicks" class="lp-input lp-cell lp-cell-disabled ' + d.row_class + '-input" type="text" value="' + d.totalClicks + '">' +
|
|
|
|
|
'<div class="lp-cell-auto">' +
|
|
|
|
|
'<label>' + window.language.Presupuestos.costeClicks + '</label>' +
|
|
|
|
|
'<input readonly id="' + d.row_id + '_totalClicks" name="' + d.row_id + '_totalClicks" class="lp-input lp-cell lp-cell-coste ' + d.row_class + '-input" type="text" value="' + (parseFloat(d.totalClicks) - parseFloat(d.margenClicks)).toFixed(2) + '">' +
|
|
|
|
|
'</div>' +
|
|
|
|
|
'<div class="col-md-12 col-lg-1">' +
|
|
|
|
|
window.language.Presupuestos.horas +
|
|
|
|
|
'<div class="lp-cell-auto">' +
|
|
|
|
|
'<label>' + window.language.Presupuestos.totalClicksMargen + '</label>' +
|
|
|
|
|
'<input id="' + d.row_id + '_margenClicks" name="' + d.row_id + '_margenClicks" readonly class="lp-input lp-cell lp-cell-margen ' + d.row_class + '-input" type="text" value="' + d.margenClicks + '" style="">' +
|
|
|
|
|
'</div>' +
|
|
|
|
|
'<div class="lp-cell-auto">' +
|
|
|
|
|
'<label>' + window.language.Presupuestos.horas + '</label>' +
|
|
|
|
|
'<input readonly id="' + d.row_id + '_horasMaquina" name="' + d.row_id + '_horasMaquina" class="lp-input lp-cell lp-cell-disabled ' + d.row_class + '-input" type="text" value="' + d.horasMaquina + '">' +
|
|
|
|
|
'</div>' +
|
|
|
|
|
'<div class="col-md-12 col-lg-1">' +
|
|
|
|
|
window.language.Presupuestos.precioHora +
|
|
|
|
|
'<div class="lp-cell-auto">' +
|
|
|
|
|
'<label>' + window.language.Presupuestos.precioHora + '</label>' +
|
|
|
|
|
'<input readonly id="' + d.row_id + '_precioHora" name="' + d.row_id + '_precioHora" class="lp-input lp-cell lp-cell-disabled ' + d.row_class + '-input" type="text" value="' + d.precioHora + '">' +
|
|
|
|
|
'</div>' +
|
|
|
|
|
'<div class="col-md-12 col-lg-1">' +
|
|
|
|
|
window.language.Presupuestos.precioImpresion +
|
|
|
|
|
'<input readonly id="' + d.row_id + '_precioImpresion" name="' + d.row_id + '_precioImpresion" class="lp-input lp-cell lp-cell-disabled ' + d.row_class + '-input" type="text" value="' + d.precioImpresion + '">' +
|
|
|
|
|
'<div class="lp-cell-auto">' +
|
|
|
|
|
'<label>' + window.language.Presupuestos.precioImpresion + '</label>' +
|
|
|
|
|
'<input readonly id="' + d.row_id + '_precioImpresion" name="' + d.row_id + '_precioImpresion" class="lp-input lp-cell lp-cell-margen ' + d.row_class + '-input" type="text" value="' + (parseFloat(d.precioImpresion) - parseFloat(d.margenImpresion)).toFixed(2) + '">' +
|
|
|
|
|
'</div>' +
|
|
|
|
|
'<div class="lp-cell-auto">' +
|
|
|
|
|
'<label>' + window.language.Presupuestos.precioImpresionMargen + '</label>' +
|
|
|
|
|
'<input id="' + d.row_id + '_margenImpresion" name="' + d.row_id + '_margenImpresion" readonly class="lp-input lp-cell lp-cell-margen ' + d.row_class + '-input" type="text" value="' + d.margenImpresion + '" style="">' +
|
|
|
|
|
'</div>' +
|
|
|
|
|
'<div class="d-flex col-md-auto justify-content-center align-items-center">' +
|
|
|
|
|
'<input id="' + d.row_id + '_checkClicks" name="' + d.row_id + '_checkClicks" class="update-totales" style="bottom:0;width: 15px; padding: 0; margin:0;" type="checkbox" ' + (d.check_impresion_total == true ? 'checked' : '') + '>' +
|
|
|
|
|
'</div>' +
|
|
|
|
|
'<input id="' + d.row_id + '_margenImpresion" name="' + d.row_id + '_margenImpresion" readonly class="lp-input lp-cell lp-cell-disabled ' + d.row_class + '-input" type="text" value="' + d.margenImpresion + '" style="display: none;">' +
|
|
|
|
|
'<input id="' + d.row_id + '_margenClicks" name="' + d.row_id + '_margenClicks" readonly class="lp-input lp-cell lp-cell-disabled ' + d.row_class + '-input" type="text" value="' + d.margenClicks + '" style="display: none;">' +
|
|
|
|
|
'</div>' +
|
|
|
|
|
'</td>'
|
|
|
|
|
|
|
|
|
|
@ -1332,11 +1338,11 @@ class LineasPresupuesto {
|
|
|
|
|
'</div>' +
|
|
|
|
|
'<div class="col-md-12 col-lg-1">' +
|
|
|
|
|
window.language.Presupuestos.totalTinta +
|
|
|
|
|
'<input readonly type="text" id="' + d.row_id + '_totalTinta" name="' + d.row_id + '_totalTinta" class="lp-cell lp-cell-disabled lp-input ' + d.row_class + '-input" readonly value="' + d.totalTinta + '">' +
|
|
|
|
|
'<input readonly type="text" id="' + d.row_id + '_totalTinta" name="' + d.row_id + '_totalTinta" class="lp-cell lp-cell-coste lp-input ' + d.row_class + '-input" readonly value="' + d.totalTinta + '">' +
|
|
|
|
|
'</div>' +
|
|
|
|
|
(d.row_id.includes('rot') ? '<div class="col-md-12 col-lg-1">' : '<div class="col-md-12 col-lg-1" style="display:none;">') +
|
|
|
|
|
window.language.Presupuestos.totalCorte +
|
|
|
|
|
'<input readonly type="text" id="' + d.row_id + '_totalCorte" name="' + d.row_id + '_totalCorte" class="lp-cell lp-cell-disabled lp-input ' + d.row_class + '-input" readonly value="' + d.totalCorte + '">' +
|
|
|
|
|
'<input readonly type="text" id="' + d.row_id + '_totalCorte" name="' + d.row_id + '_totalCorte" class="lp-cell lp-cell-coste lp-input ' + d.row_class + '-input" readonly value="' + d.totalCorte + '">' +
|
|
|
|
|
'</div>' +
|
|
|
|
|
'<div class="col-md-12 col-lg-1">' +
|
|
|
|
|
window.language.Presupuestos.totalImpresion +
|
|
|
|
|
|