Migliorie minori

This commit is contained in:
Luca 2024-05-14 16:29:55 +02:00
parent 22960059f2
commit 3c013380df
3 changed files with 8 additions and 9 deletions

View File

@ -55,7 +55,7 @@ $id_files = $dbo->select('zz_files_print', 'id_file', [], ['id_print' => $id_rec
</div> </div>
<div class="col-md-6"> <div class="col-md-6">
{[ "type": "select", "multiple": "1", "label": "<?php echo tr('File da accodare'); ?>", "name": "id_files[]", "value": "<?php echo implode(',', array_column($id_files, 'id_file')); ?>", "ajax-source": "allegati", "select-options": <?php echo json_encode(['id_module' => $id_module, 'id_record' => $id_record]); ?>, "link": "allegato" ]} {[ "type": "select", "multiple": "1", "label": "<?php echo tr('File da accodare'); ?>", "name": "id_files[]", "value": "<?php echo implode(',', array_column($id_files, 'id_file')); ?>", "help": "<?php echo tr('I file selezionati saranno accodati in fase di generazione della stampa'); ?>", "ajax-source": "allegati", "select-options": <?php echo json_encode(['id_module' => $id_module, 'id_record' => $id_record]); ?>, "link": "allegato" ]}
</div> </div>
</div> </div>

View File

@ -93,5 +93,5 @@ if (setting('Attiva notifica di presenza utenti sul record')) {
</tbody> </tbody>
</table>'; </table>';
} else { } else {
echo '<span>Non è possibile monitorare la presenta degli utenti.</span>'; echo '<span>'.tr('Non è possibile monitorare la presenta degli utenti, attiva l\'impostazione di notifica di presenza utenti sul record').'.</span>';
} }

View File

@ -36,7 +36,7 @@ $(document).ready(function() {
url: globals.rootdir + "/actions.php", url: globals.rootdir + "/actions.php",
type: "get", type: "get",
data: { data: {
id_module: '.$id_module.', id_module: '.$id_module. ',
op: "sizes", op: "sizes",
}, },
success: function(data) { success: function(data) {
@ -90,17 +90,16 @@ function crea_grafico(values){
} }
$labels.push(element.description + " (" + element.formattedSize + ")" + " [" + element.count + "]" ) $labels.push(element.description + " (" + element.formattedSize + ")" + " [" + element.count + "]" )
}); });
options = { options = {
responsive: true,
maintainAspectRatio: false,
legend: { legend: {
display: true, display: true,
position: "right" position: "right",
}, },
animation:{ animation:{
animateScale: true, animateScale: true,
@ -164,6 +163,6 @@ function crea_grafico(values){
} }
</script> </script>
<div id="message" class="pull-right"></div> <div id="message" class="pull-right"></div>
<div class="chart-container" style="width:35em;"> <div class="chart-container">
<canvas id="chart"></canvas> <canvas id="chart"></canvas>
</div>'; </div>';