1
0
mirror of https://github.com/devcode-it/openstamanager.git synced 2025-01-29 07:02:41 +01:00

Aggiornamento versione fullcalendar

Fix minori
This commit is contained in:
Luca 2023-02-21 18:16:21 +01:00
parent 4816e8e499
commit add1bcf48d
5 changed files with 12 additions and 5 deletions

View File

@ -130,7 +130,7 @@ if (Auth::check()) {
echo '
allegati: {
messaggio: "'.tr('Clicca o trascina qui per caricare uno o più file').'",
maxFilesize: "'.tr('Max upload: _SIZE_ MB').'",
maxFilesize: "'.tr('Dimensione massima: _SIZE_ MB').'",
errore: "'.tr('Errore').'",
modifica: "'.tr('Modifica allegato').'",
elimina: "'.tr('Vuoi eliminare questo file?').'",

View File

@ -31,7 +31,7 @@ function renderChecklist($check, $level = 0)
if (intval($check->assignedUsers->pluck('id')->toArray())>0){
$result .= '<span class="label label-default">'. implode(',', $check->assignedUsers->pluck('username')->toArray()).'</span>';
}else{
$result .= '<span class="label label-danger">'. tr('Nessun utente asseganto').'</span>';
$result .= '<span class="label label-danger">'. tr('Nessun utente assegnato').'</span>';
}
if (empty($check->user) || $check->user->id == $user->id) {

View File

@ -2,7 +2,7 @@
"private": true,
"main": "gulpfile.js",
"dependencies": {
"@fullcalendar/moment": "^6.0.3",
"@fullcalendar/moment": "^6.1.4",
"admin-lte": "^2.4.18",
"autocompleter": "^6.1.1",
"autonumeric": "^4.6.0",

View File

@ -198,7 +198,7 @@ switch (filter('op')) {
redirect(base_path().'/editor.php?id_module='.$id_module.'&id_record='.$id_fattura);
} elseif (!empty($file)) {
redirect(base_path().'/editor.php?id_module='.$id_module.'&id_plugin='.$id_plugin.'&id_record='.$id_record.'&sequence=1');
flash()->warning(tr('È stata appena creata la fattura numero _NUM_ del _DATA_ (_ANAGRAFICA_)', [
flash()->info(tr('La fattura numero _NUM_ del _DATA_ (_ANAGRAFICA_) è stata importata correttamente', [
'_NUM_' => $fattura->numero,
'_DATA_' => dateFormat($fattura->data),
'_ANAGRAFICA_' => $fattura->anagrafica->ragione_sociale,

View File

@ -48,7 +48,14 @@ class FileManager implements ManagerInterface
// ID del form
$attachment_id = 'attachments_'.$options['id_module'].'_'.$options['id_plugin'];
$upload_max_filesize = ini_get('upload_max_filesize');
if (ini_get('upload_max_filesize') < ini_get('post_max_size')){
$upload_max_filesize = ini_get('upload_max_filesize');
}else if (ini_get('upload_max_filesize') > ini_get('post_max_size')){
$upload_max_filesize = ini_get('post_max_size');
}else{
$upload_max_filesize = ini_get('upload_max_filesize');
}
$upload_max_filesize = substr($upload_max_filesize, 0, -1);
$dbo = database();