arraglado bug con el token cuando se cambiaba tarifa a por horas

This commit is contained in:
2023-12-07 16:49:08 +01:00
parent ab6763aeaa
commit 62f0031630
312 changed files with 58826 additions and 3 deletions

View File

@ -0,0 +1,30 @@
/**
* Add Payment Offcanvas
*/
'use strict';
(function () {
// Invoice amount
const paymentAmount = document.querySelector('.invoice-amount');
// Prefix
if (paymentAmount) {
new Cleave(paymentAmount, {
numeral: true
});
}
// Datepicker
const date = new Date(),
invoiceDateList = document.querySelectorAll('.invoice-date');
if (invoiceDateList) {
invoiceDateList.forEach(function (invoiceDateEl) {
invoiceDateEl.flatpickr({
monthSelectorType: 'static',
defaultDate: date
});
});
}
})();