mirror of
https://git.imnavajas.es/jjimenez/safekat.git
synced 2025-07-25 22:52:08 +00:00
terminando servicios manipulados y preimpresion
This commit is contained in:
@ -1,30 +0,0 @@
|
||||
/**
|
||||
* 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
|
||||
});
|
||||
});
|
||||
}
|
||||
})();
|
||||
Reference in New Issue
Block a user