Aggiunto nuovo periodo calendario

This commit is contained in:
MatteoPistorello 2024-03-19 17:11:54 +01:00
parent 82204f66dc
commit c9a3731378
2 changed files with 2 additions and 0 deletions

View File

@ -129,6 +129,7 @@ function start_complete_calendar(id, callback) {
ranges[globals.translations.nextMonth] = [moment().add(1, 'month').startOf('month'), moment().add(1, 'month').endOf('month')];
ranges[globals.translations.thisYear] = [moment().startOf('year'), moment().endOf('year')];
ranges[globals.translations.lastYear] = [moment().subtract(1, 'year').startOf('year'), moment().subtract(1, 'year').endOf('year')];
ranges[globals.translations.lastYear_thisYear] = [moment().subtract(1, 'year').startOf('year'), moment().endOf('year')];
var format = dateFormatMoment(globals.date_format);
$(id).daterangepicker({

View File

@ -98,6 +98,7 @@ if (Auth::check()) {
'nextMonth' => tr('Mese prossimo'),
'thisYear' => tr("Quest'anno"),
'lastYear' => tr('Anno scorso'),
'lastYear_thisYear' => tr("Quest'anno + prec."),
'apply' => tr('Applica'),
'cancel' => tr('Annulla'),
'from' => tr('Da'),