Formattazione codice

This commit is contained in:
valentina 2024-07-17 08:58:19 +02:00
parent 211e1f279f
commit 3225ce744a
7 changed files with 20 additions and 22 deletions

View File

@ -138,7 +138,6 @@ switch (post('op')) {
$operations = [];
$operations['delete-bulk'] = [
'text' => '<span><i class="fa fa-trash"></i> '.tr('Elimina selezionati').'</span>',
'data' => [
@ -148,7 +147,6 @@ $operations['delete-bulk'] = [
],
];
$operations['export-csv'] = [
'text' => '<span><i class="fa fa-download"></i> '.tr('Esporta selezionati').'</span>',
'data' => [

View File

@ -47,7 +47,7 @@ $utilizza_codice_barcode = setting('Utilizza codice articolo come barcode');
</div>
<div class="col-md-6">
{[ "type": "text", "label": "<?php echo tr('Barcode'); ?>", "name": "barcode", "value": "<?php echo ($utilizza_codice_barcode ? '$codice$' : '$barcode$'); ?>", "disabled": "<?php echo $utilizza_codice_barcode; ?>" ]}
{[ "type": "text", "label": "<?php echo tr('Barcode'); ?>", "name": "barcode", "value": "<?php echo $utilizza_codice_barcode ? '$codice$' : '$barcode$'; ?>", "disabled": "<?php echo $utilizza_codice_barcode; ?>" ]}
</div>
</div>

View File

@ -61,13 +61,13 @@ if (!function_exists('renderChecklist')) {
$result .= '
<td style="width:500px;border-top:0px;">
'.input([
'type' => 'textarea',
'name' => '',
'id' => 'note_'.$check->id,
'class' => 'unblockable',
'placeholder' => tr('Note').'...',
'value' => $check->note,
]).'
'type' => 'textarea',
'name' => '',
'id' => 'note_'.$check->id,
'class' => 'unblockable',
'placeholder' => tr('Note').'...',
'value' => $check->note,
]).'
</td>';
$result .= '

View File

@ -128,11 +128,11 @@ if (!empty($sessioni)) {
<td>
'.$sessione['descrizione_tipo'].' '.(($sessione['tipo_deleted_at']) ? '<small class="text-danger"><em>('.tr('Eliminato').')</em></small>' : '');
if ($sessione['note']) {
echo '
<br><small class="text-muted">'.$sessione['note'].'</small>';
}
if ($sessione['note']) {
echo '
<br><small class="text-muted">'.$sessione['note'].'</small>';
}
echo '
</td>';
// Orario di inizio

View File

@ -93,7 +93,7 @@ foreach ($liv2_patrimoniale as $liv2_p) {
echo '
<tr>
<td colspan="2"><h6><b>Totale Attività</b></h6></td>
<td class="text-right" style="font-size:8pt;"><b>'.($totale_attivita ? numberFormat(abs($totale_attivita), 2): '').'</b></td>
<td class="text-right" style="font-size:8pt;"><b>'.($totale_attivita ? numberFormat(abs($totale_attivita), 2) : '').'</b></td>
</tr>';
if ($utile_perdita > 0) {
echo '
@ -182,7 +182,7 @@ foreach ($liv2_patrimoniale as $liv2_p) {
echo '
<tr>
<td colspan="2"><h6><b>Totale Passività</b></h6></td>
<td class="text-right" style="font-size:8pt;"><b>'.($totale_passivita ? numberFormat(abs($totale_passivita), 2):'').'</b></td>
<td class="text-right" style="font-size:8pt;"><b>'.($totale_passivita ? numberFormat(abs($totale_passivita), 2) : '').'</b></td>
</tr>';
if ($utile_perdita < 0) {
echo '