mirror of
https://github.com/devcode-it/openstamanager.git
synced 2025-03-10 08:10:14 +01:00
Dimensione font header preso da impostazioni
This commit is contained in:
parent
a32735f2fa
commit
72d19670c5
templates/base
@ -10,11 +10,11 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
return '
|
return '
|
||||||
<div class="row">
|
<div class="row" >
|
||||||
<div class="col-xs-6">
|
<div class="col-xs-6">
|
||||||
<img src="$logo$" alt="Logo" border="0"/>
|
<img src="$logo$" alt="Logo" border="0"/>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-xs-6 text-right small">
|
<div class="col-xs-6 text-right style="'.((!empty($settings['header-font-size'])) ? "font-size:".($settings['header-font-size'])."px;" : "").'" ">
|
||||||
<p><b>'.$f_ragionesociale.'</b></p>
|
<p><b>'.$f_ragionesociale.'</b></p>
|
||||||
<p>'.$f_indirizzo.'</p>
|
<p>'.$f_indirizzo.'</p>
|
||||||
<p>'.$f_citta_full.'</p>
|
<p>'.$f_citta_full.'</p>
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
return [
|
$settings = [
|
||||||
'orientation' => 'P',
|
'orientation' => 'P',
|
||||||
'format' => 'A4',
|
'format' => 'A4',
|
||||||
'font-size' => 10,
|
'font-size' => 10,
|
||||||
@ -12,4 +12,7 @@ return [
|
|||||||
],
|
],
|
||||||
'header-height' => 35,
|
'header-height' => 35,
|
||||||
'footer-height' => 5,
|
'footer-height' => 5,
|
||||||
|
'header-font-size' => 8,
|
||||||
];
|
];
|
||||||
|
|
||||||
|
return $settings;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user