mirror of
https://github.com/devcode-it/openstamanager.git
synced 2025-02-22 22:37:37 +01:00
Migliorie minori
This commit is contained in:
parent
4361787092
commit
8025bce4c7
@ -20,7 +20,7 @@ if ($bilancio_gia_aperto) {
|
||||
|
||||
<?php
|
||||
// Livello 1
|
||||
$query1 = 'SELECT * FROM `co_pianodeiconti1` ORDER BY id DESC';
|
||||
$query1 = 'SELECT * FROM `co_pianodeiconti1` ORDER BY id ASC';
|
||||
$primo_livello = $dbo->fetchArray($query1);
|
||||
|
||||
foreach ($primo_livello as $conto_primo) {
|
||||
|
@ -8,14 +8,14 @@ include_once __DIR__.'/../../core.php';
|
||||
echo '
|
||||
<table class="table table-bordered">
|
||||
<tr>
|
||||
<th colspan="4" style="font-size:13pt;" class="text-center">'.tr('Rapporto operazioni e interventi', [], ['upper' => true]).'</th>
|
||||
<th colspan="4" style="font-size:13pt;" class="text-center">'.tr('Rapporto attività e interventi', [], ['upper' => true]).'</th>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td class="text-left" style="width:30%">'.tr('Intervento num.').': <b>'.$documento['codice'].'</b></td>
|
||||
<td class="text-left" style="width:20%">'.tr('Data').': <b>'.Translator::dateToLocale($documento['data_richiesta']).'</b></td>
|
||||
<td class="text-left" style="width:25%">'.tr('Preventivo num.').': <b>'.(!empty($preventivo) ? $preventivo['numero'] : '').'</b></td>
|
||||
<td class="text-left" style="width:25%">'.tr('Contratto num.').': <b>'.(!empty($contratto) ? $contratto['numero'] : '').'</b></td>
|
||||
<td class="text-left" style="width:30%">'.tr('Intervento n.').': <b>'.$documento['codice'].'</b></td>
|
||||
<td class="text-left" style="width:20%">'.tr('Data richiesta').': <b>'.Translator::dateToLocale($documento['data_richiesta']).'</b></td>
|
||||
<td class="text-left" style="width:25%">'.tr('Preventivo n.').': <b>'.(!empty($preventivo) ? $preventivo['numero'] : '').'</b></td>
|
||||
<td class="text-left" style="width:25%">'.tr('Contratto n.').': <b>'.(!empty($contratto) ? $contratto['numero'] : '').'</b></td>
|
||||
</tr>';
|
||||
|
||||
// Dati cliente
|
||||
@ -301,7 +301,7 @@ foreach ($sessioni as $i => $sessione) {
|
||||
if ($i == 0) {
|
||||
echo '
|
||||
<td class="text-center" style="font-size:8pt;">
|
||||
'.tr('Si dichiara che i lavori sono stati eseguiti ed i materiali installati').'
|
||||
'.tr('Si dichiara che i lavori sono stati eseguiti ed i materiali installati nel rispetto delle vigenti normative tecniche').'
|
||||
</td>';
|
||||
} else {
|
||||
echo '
|
||||
|
@ -186,7 +186,7 @@ if (($options['pricing'] && !isset($options['hide_total'])) || $options['show_on
|
||||
<b>'.tr('Imponibile', [], ['upper' => true]).':</b>
|
||||
</td>
|
||||
|
||||
<th colspan="'.($options['show_only_total'] ? 2 : 3).'" class="text-right">
|
||||
<th colspan="'.($options['show_only_total'] ? 1 : 3).'" class="text-right">
|
||||
<b>'.moneyFormat($show_sconto ? $imponibile : $totale_imponibile, 2).'</b>
|
||||
</th>
|
||||
</tr>';
|
||||
@ -199,7 +199,7 @@ if (($options['pricing'] && !isset($options['hide_total'])) || $options['show_on
|
||||
<b>'.tr('Sconto', [], ['upper' => true]).':</b>
|
||||
</td>
|
||||
|
||||
<th colspan="'.($options['show_only_total'] ? 2 : 3).'" class="text-right">
|
||||
<th colspan="'.($options['show_only_total'] ? 1 : 3).'" class="text-right">
|
||||
<b>'.moneyFormat($sconto, 2).'</b>
|
||||
</th>
|
||||
</tr>';
|
||||
@ -211,7 +211,7 @@ if (($options['pricing'] && !isset($options['hide_total'])) || $options['show_on
|
||||
<b>'.tr('Totale imponibile', [], ['upper' => true]).':</b>
|
||||
</td>
|
||||
|
||||
<th colspan="'.($options['show_only_total'] ? 2 : 3).'" class="text-right">
|
||||
<th colspan="'.($options['show_only_total'] ? 1 : 3).'" class="text-right">
|
||||
<b>'.moneyFormat($totale_imponibile, 2).'</b>
|
||||
</th>
|
||||
</tr>';
|
||||
@ -224,7 +224,7 @@ if (($options['pricing'] && !isset($options['hide_total'])) || $options['show_on
|
||||
<b>'.tr('Totale IVA', [], ['upper' => true]).':</b>
|
||||
</td>
|
||||
|
||||
<th colspan="'.($options['show_only_total'] ? 2 : 3).'" class="text-right">
|
||||
<th colspan="'.($options['show_only_total'] ? 1 : 3).'" class="text-right">
|
||||
<b>'.moneyFormat($totale_iva, 2).'</b>
|
||||
</th>
|
||||
</tr>';
|
||||
@ -235,7 +235,7 @@ if (($options['pricing'] && !isset($options['hide_total'])) || $options['show_on
|
||||
<td colspan="'.($options['show_only_total'] ? 2 : 4).'" class="text-right border-top">
|
||||
<b>'.tr('Totale documento', [], ['upper' => true]).':</b>
|
||||
</td>
|
||||
<th colspan="'.($options['show_only_total'] ? 2 : 3).'" class="text-right">
|
||||
<th colspan="'.($options['show_only_total'] ? 1 : 3).'" class="text-right">
|
||||
<b>'.moneyFormat($totale, 2).'</b>
|
||||
</th>
|
||||
</tr>';
|
||||
|
Loading…
x
Reference in New Issue
Block a user