Compare commits

..

2 Commits

Author SHA1 Message Date
valentina 959fbe8774 Fix minore 2024-09-26 11:58:40 +02:00
valentina 688cc05f4b Fix stampa situazione patrimoniale 2024-09-26 10:35:49 +02:00
2 changed files with 10 additions and 10 deletions

View File

@ -147,7 +147,7 @@ class FieldManager implements ManagerInterface
if (isset($options['place']) && $options['place'] == 'add') {
$query .= ' AND `on_add` = 1';
}
$query .= ' AND `zz_fields`.`title` = '.prepare($name);
$query .= ' AND `zz_fields`.`name` = '.prepare($name);
$results = $database->fetchArray($query);

View File

@ -31,13 +31,15 @@ if (get('lev') == '2' || get('lev') == '3') {
}
}
echo '
<tr>
<th></th>
<th>SALDO FINALE</th>
<th class="text-right">'.moneyFormat(abs($dare), 2).'</th>
<th class="text-right">'.moneyFormat(abs($avere), 2).'</th>
<th class="text-right">'.moneyFormat(abs($scalare), 2).'</th>
</tr>';
<tr>
<th></th>
<th>SALDO FINALE</th>
<th class="text-right">'.moneyFormat(abs($dare), 2).'</th>
<th class="text-right">'.moneyFormat(abs($avere), 2).'</th>
<th class="text-right">'.moneyFormat(abs($scalare), 2).'</th>
</tr>
</tbody>
</table>';
} elseif (get('lev') == '1') {
$totale_attivo = 0;
$totale_passivo = 0;
@ -86,5 +88,3 @@ if (get('lev') == '2' || get('lev') == '3') {
</tr>
</table>';
}
echo '</tbody></table>';