1
0
mirror of https://github.com/devcode-it/openstamanager.git synced 2025-02-02 08:56:48 +01:00

Dimensione font header preso da impostazioni

This commit is contained in:
Luca 2018-11-15 18:33:57 +01:00
parent a32735f2fa
commit 72d19670c5
2 changed files with 6 additions and 3 deletions

View File

@ -10,11 +10,11 @@
*/
return '
<div class="row">
<div class="row" >
<div class="col-xs-6">
<img src="$logo$" alt="Logo" border="0"/>
</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>'.$f_indirizzo.'</p>
<p>'.$f_citta_full.'</p>

View File

@ -1,6 +1,6 @@
<?php
return [
$settings = [
'orientation' => 'P',
'format' => 'A4',
'font-size' => 10,
@ -12,4 +12,7 @@ return [
],
'header-height' => 35,
'footer-height' => 5,
'header-font-size' => 8,
];
return $settings;