Formattazione stile codice

This commit is contained in:
valentina 2024-09-25 15:11:01 +02:00
parent 37cb653565
commit 3337c78b4e
7 changed files with 18 additions and 18 deletions

View File

@ -172,11 +172,11 @@ if (empty($record) || !$has_access) {
<i class="fa fa-chevron-left"></i> '.tr("Torna all'elenco").' <i class="fa fa-chevron-left"></i> '.tr("Torna all'elenco").'
</a>'; </a>';
if (isMobile()) { if (isMobile()) {
echo'<div>'; echo '<div>';
} else { } else {
echo'<div class="float-right d-none d-sm-inline">'; echo '<div class="float-right d-none d-sm-inline">';
}; }
// Pulsanti personalizzati // Pulsanti personalizzati
$buttons = $structure->filepath('buttons.php'); $buttons = $structure->filepath('buttons.php');

View File

@ -30,7 +30,7 @@ class MessageHandler extends AbstractProcessingHandler
{ {
protected function write(array $record): void protected function write(array $record): void
{ {
// Controlla se la richiesta è AJAX // Controlla se la richiesta è AJAX
if (\Whoops\Util\Misc::isAjaxRequest()) { if (\Whoops\Util\Misc::isAjaxRequest()) {
return; return;
} }

View File

@ -22,8 +22,8 @@ include_once __DIR__.'/../../core.php';
echo ' echo '
<tr> <tr>
<th colspan="4" class="text-right">TOTALE GENERALE</th> <th colspan="4" class="text-right">TOTALE GENERALE</th>
<th class="text-right">'.moneyFormat(abs($totale_dare?:0), 2).'</th> <th class="text-right">'.moneyFormat(abs($totale_dare ?: 0), 2).'</th>
<th class="text-right">'.moneyFormat(abs($totale_avere?:0), 2).'</th> <th class="text-right">'.moneyFormat(abs($totale_avere ?: 0), 2).'</th>
</tr> </tr>
</tbody> </tbody>
</table>'; </table>';