1
0
mirror of https://github.com/devcode-it/openstamanager.git synced 2024-12-23 05:54:03 +01:00

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 ' 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;"> <table class="table" style="width:100%;margin-top:5mm;">
<tr> <tr>
<td colspan=2 class="border-full" style="height:16mm;"> <td colspan=2 class="border-full" style="height:16mm;">

View File

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

View File

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

View File

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

View File

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

View File

@ -17,7 +17,7 @@ echo '
</div> </div>
</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;"> <table class="table" style="width:100%;margin-top:5mm;">
<tr> <tr>
<td colspan=2 class="border-full" style="height:16mm;"> <td colspan=2 class="border-full" style="height:16mm;">