Update grid column width in finance manager and modify date input handling in operation edit template

This commit is contained in:
2024-12-04 10:46:05 +01:00
parent bf5c0f94c9
commit f882fe32e1
13 changed files with 7531 additions and 2060 deletions

View File

@@ -138,8 +138,8 @@ THE SOFTWARE.
}).get(0) ||
'body';
picker.widget = $(getTemplate());
if (picker.options.inline) {
picker.widget = $(getTemplate());
if (picker.options.inline) {
picker.widget.appendTo(picker.element);
} else {
picker.widget.appendTo(picker.options.widgetParent);
@@ -196,7 +196,7 @@ THE SOFTWARE.
if((!picker.options.inline && getPickerInput().val() == '') || (picker.options.inline)) {
picker.setValue(picker.options.defaultDate);
}
}
}
if (picker.options.minuteStepping !== 1) {
rInterval = picker.options.minuteStepping;
picker.date.minutes((Math.round(picker.date.minutes() / rInterval) * rInterval) % 60).seconds(0);
@@ -380,11 +380,11 @@ THE SOFTWARE.
picker.element.change();
}
},
notifySelected = function (date) {
notifySelected = function (date) {
picker.element.trigger({
type: 'dp.selected',
date: moment(picker.date)
});
});
},
notifyError = function (date) {
errored = true;