mirror of
https://git.imnavajas.es/jjimenez/safekat.git
synced 2025-07-25 22:52:08 +00:00
fix pdf tables encuadernacion. Add tarifa acabado configuration for ots
This commit is contained in:
48
ci4/app/Views/themes/vuexy/pdfs/encuadernados/TDCF.php
Normal file
48
ci4/app/Views/themes/vuexy/pdfs/encuadernados/TDCF.php
Normal file
@ -0,0 +1,48 @@
|
||||
<table>
|
||||
<tr>
|
||||
<th class="encuadernacion">Encuadernacion</th>
|
||||
<th class="cell-50">Pliegos</th>
|
||||
<th class="cell-50">Pliegos</th>
|
||||
<th class="cell-50">Guardas</th>
|
||||
<th class="cell-50">Guardas Impresion</th>
|
||||
<th class="cell-50">Cabezada</th>
|
||||
<th class="cell-50">Lomo</th>
|
||||
</tr>
|
||||
<?php if (count($encuadernaciones) > 0): ?>
|
||||
<tr style="color: red;">
|
||||
<td><?= $encuadernacion->tarifa()->nombre ?></td>
|
||||
<?php if ($tareaCosido): ?>
|
||||
<td><?= $tareaCosido->pliego_1 . " de " . $tareaCosido->pliego_1_total ?></td>
|
||||
<td><?= $tareaCosido->pliego_2 . " de " . $tareaCosido->pliego_2_total ?></td>
|
||||
<?php else: ?>
|
||||
<td><?= "___de___" ?></td>
|
||||
<td><?= "___de___" ?></td>
|
||||
<?php endif; ?>
|
||||
|
||||
<!-- Guardas -->
|
||||
<?php if ($presupuesto->presupuestoLineaGuarda()): ?>
|
||||
<td><?= $presupuesto->presupuestoLineaGuarda()->papel_generico()?->code ?></td>
|
||||
<td><?= $presupuesto->presupuestoLineaGuarda()->paginas_impresion > 0 ? "SI" : "NO" ?></td>
|
||||
<?php else: ?>
|
||||
<td>?</td>
|
||||
<td><?= $presupuesto->presupuestoLineaGuarda()->paginas_impresion > 0 ? "SI" : "NO" ?>></td>
|
||||
<?php endif; ?>
|
||||
<!-- Cabezada -->
|
||||
<td><?= $presupuesto->cabezada ? "COLOR" : "NO" ?></td>
|
||||
<!-- Lomo -->
|
||||
<td><?= $presupuesto->lomo_redondo ? "REDONDO" : "RECTO" ?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="encuadernacion" colspan="1">Sobrecubierta</td>
|
||||
<td style="color:red" colspan="2"><?= $linea_impresion->isSobreCubierta() ? "SI" : "NO" ?></td>
|
||||
<td class="encuadernacion">Retractilado</td>
|
||||
<td style="color:red"><?= $presupuesto->retractilado ? "SI" : "NO" ?></td>
|
||||
<td class="encuadernacion">Marcapáginas</td>
|
||||
<td style="color:red"><?= $presupuesto->marcapaginas ? "SI" : "NO" ?></td>
|
||||
</tr>
|
||||
<?php else: ?>
|
||||
<tr style="color: red;">
|
||||
<td colspan="7">Sin encuadernación</td>
|
||||
</tr>
|
||||
<?php endif; ?>
|
||||
</table>
|
||||
Reference in New Issue
Block a user