. */ include_once __DIR__.'/../../../core.php'; use Carbon\Carbon; use Models\Module; // Trovo id_print della stampa $id_print = Prints::getModulePredefinedPrint(Module::where('name', 'Dashboard')->first()->id)['id']; $date = new Carbon($_SESSION['dashboard']['date']); echo '
{[ "type": "text", "label": "'.tr('Mese e anno').'", "name": "date", "required": "1" ]}
{[ "type": "select", "label": "'.tr('Formato').'", "name": "format", "required": "1", "values": "list=\"A4\": \"'.tr('A4').'\", \"A3\": \"'.tr('A3').'\"", "value": "'.$_SESSION['dashboard']['format'].'" ]}
{[ "type": "select", "label": "'.tr('Orientamento').'", "name": "orientation", "required": "1", "values": "list=\"L\": \"'.tr('Orizzontale').'\", \"P\": \"'.tr('Verticale').'\"", "value": "'.$_SESSION['dashboard']['orientation'].'" ]}

 

'; echo ' ';