Miglioramenti grafici stampe

This commit is contained in:
Thomas Zilio 2019-07-12 12:56:46 +02:00
parent 7fcc948813
commit dd2966f9fd
6 changed files with 33 additions and 29 deletions

View File

@ -33,7 +33,7 @@ if (!empty($impianti)) {
echo '
</div>
<div class="col-xs-5 col-xs-offset-1">
<div class="col-xs-6" style="margin-left: 10px">
<table class="table" style="width:100%;margin-top:5mm;">
<tr>
<td colspan=2 class="border-full" style="height:16mm;">

View File

@ -3,7 +3,6 @@
echo '
<!-- Intestazione fornitore -->
$default_header$
<br>
<div class="row">
<!-- Dati Ddt -->
@ -34,28 +33,28 @@ $default_header$
<p>{PAGENO}/{nb}</p>
</td>
</tr>
<tr>
<td colspan=2 class="border-bottom border-left" style="height:11mm;">
<td colspan="4" style="height:11mm;">
<p class="small-bold">'.tr('Pagamento', [], ['upper' => true]).'</p>
<p>$pagamento$</p>
</td>
</tr>
<tr>
<td colspan="2">
<p class="small-bold">'.tr('Partita IVA', [], ['upper' => true]).'</p>
<small>$c_piva$</small>
</td>
<td colspan=2 class="border-bottom border-right">
<td colspan="2">
<p class="small-bold">'.tr('Codice fiscale', [], ['upper' => true]).'</p>
<small>$c_codicefiscale$</small>
</td>
</tr>
<tr>
<td colspan="4" class="border-full" style="height:11mm;">
<p class="small-bold">'.tr('Pagamento', [], ['upper' => true]).'</p>
<p>$pagamento$</p>
</td>
</tr>
</table>
</div>
<div class="col-xs-5 col-xs-offset-1">
<div class="col-xs-6" style="margin-left: 10px">
<table class="table" style="width:100%;margin-top:5mm;">
<tr>
<td class="border-full" style="height:20mm;">

View File

@ -20,11 +20,11 @@ echo '
<div class="row">
<!-- Dati Fattura -->
<div class="col-xs-6">
<div class="text-center" style="height:5mm;">
<b>$tipo_doc$</b>
</div>
<div class="text-center" style="height:5mm;">
<b>$tipo_doc$</b>
</div>
<table class="table" style="overflow: visible; width: 100%">
<table class="table">
<tr>
<td valign="top" class="border-full text-center">
<p class="small-bold">'.tr('Nr. documento', [], ['upper' => true]).'</p>
@ -67,11 +67,10 @@ echo '
<p>$bic$</p>
</td>
</tr>
</table>
</div>
<div class="col-xs-6">
<div class="col-xs-6" style="margin-left: 10px">
<table class="table" style="width:100%;margin-top:5mm;">
<tr>
<td colspan=2 class="border-full"'.(!$fattura_accompagnatoria ? ' style="height:20mm;"' : '').'>
@ -103,7 +102,7 @@ echo '
if (!empty($destinazione)) {
echo '
<tr>
<td colspan=2 class="border-full">
<td colspan=2 class="border-full" style="height:16mm;">
<p class="small-bold">'.tr('Destinazione diversa', [], ['upper' => true]).'</p>
<small>$c_destinazione$</small>
</td>

View File

@ -2,7 +2,6 @@
echo '
$default_header$
<br>
<div class="row">
@ -12,7 +11,7 @@ $default_header$
<b>$tipo_doc$</b>
</div>
<table class="table table-bordered">
<table class="table">
<tr>
<td class="border-full text-center">
<p class="small-bold">'.tr('Nr. documento', [], ['upper' => true]).'</p>
@ -24,21 +23,28 @@ $default_header$
<p>$data$</p>
</td>
<td class="border-right border-bottom border-top text-center">
<p class="small-bold">'.tr('Pagamento', [], ['upper' => true]).'</p>
<p>$pagamento$</p>
</td>
<td class="border-right border-bottom border-top text-center">
<p class="small-bold">'.tr('Cliente', [], ['upper' => true]).'</p>
<p>$c_codice$</p>
</td>
<td class="border-right border-bottom border-top center text-center">
<p class="small-bold">'.tr('Foglio', [], ['upper' => true]).'</p>
<p>{PAGENO}/{nb}</p>
</td>
</tr>
<tr>
<td colspan="4" style="height:10mm;padding-top:2mm;">
<p class="small-bold">'.tr('Pagamento', [], ['upper' => true]).'</p>
<p>$pagamento$</p>
</td>
</tr>
</table>
</div>
<!-- Dati Cliente/Fornitore -->
<div class="col-xs-5 col-xs-offset-1">
<div class="col-xs-6" style="margin-left: 10px">
<table class="table" style="width:100%;margin-top:5mm;">
<tr>
<td class="border-full" style="height:20mm;">

View File

@ -1,5 +1,5 @@
<?php
return [
'header-height' => 65,
'header-height' => 60,
];

View File

@ -17,7 +17,7 @@ echo '
</div>
</div>
<div class="col-xs-5 col-xs-offset-1">
<div class="col-xs-6" style="margin-left: 10px">
<table class="table" style="width:100%;margin-top:5mm;">
<tr>
<td colspan=2 class="border-full" style="height:16mm;">