From 15eae0bdf15bf616123cfe1c32187a88ebdc676c Mon Sep 17 00:00:00 2001 From: Luca Date: Tue, 24 Apr 2018 00:03:25 +0200 Subject: [PATCH] Migliorata visualizzazione box TECNICI + MAGAZZINO AUTOMEZZO --- modules/automezzi/add_tecnico.php | 4 +- modules/automezzi/edit.php | 90 +++++++++++++++----------- modules/automezzi/row-list-tecnici.php | 4 +- 3 files changed, 57 insertions(+), 41 deletions(-) diff --git a/modules/automezzi/add_tecnico.php b/modules/automezzi/add_tecnico.php index 9f193f2eb..5ac137a12 100644 --- a/modules/automezzi/add_tecnico.php +++ b/modules/automezzi/add_tecnico.php @@ -22,13 +22,13 @@ echo ' // Data di partenza echo '
- {[ "type": "date", "label": "'.tr('Data dal').'", "name": "data_inizio", "required": 1, "class": "text-center", "value": "-now-" ]} + {[ "type": "date", "label": "'.tr('Data dal').'", "name": "data_inizio", "required": 1, "maxlength": 10, "value": "-now-" ]}
'; // Data di fine echo '
- {[ "type": "date", "label": "'.tr('Data al').'", "name": "data_fine", "value": "", "min-date": "-now-" ]} + {[ "type": "date", "label": "'.tr('Data al').'", "name": "data_fine", "value": "", "maxlength": 10, "min-date": "-now-" ]}
'; echo ' diff --git a/modules/automezzi/edit.php b/modules/automezzi/edit.php index 2e4f367ef..414df77a7 100644 --- a/modules/automezzi/edit.php +++ b/modules/automezzi/edit.php @@ -32,57 +32,73 @@ include_once __DIR__.'/../../core.php'; - -
+ +