Bläddra i källkod

Finalisation edition produit

develop
Fab 3 år sedan
förälder
incheckning
f098daf30d
2 ändrade filer med 4 tillägg och 4 borttagningar
  1. +3
    -3
      Resources/assets/app/adminlte/main/init.js
  2. +1
    -1
      Resources/assets/functions/prices.js

+ 3
- 3
Resources/assets/app/adminlte/main/init.js Visa fil

@@ -5,7 +5,6 @@ window.addEventListener('load', (event) => {

SovWidgets.setDateRange();

SovTools.log('ncihe');
$('.btn-confirm-js, .action-confirm').click(function () {
return confirm('Êtes-vous sûr de vouloir réaliser cette action ?');
});
@@ -14,9 +13,10 @@ window.addEventListener('load', (event) => {
$('[data-toggle="tooltip"]').tooltip();

/* Select2 */
if ($('.select2, select.form-control').length) {
if ($('.form-select, .select2, select.form-control').length) {

$('form .form-widget>select.form-control, .select2').each(function (i, elm) {

$('form .form-widget>select.form-control, .select2, .form-select').each(function (i, elm) {
if (!$(this).hasClass('disable-select2')) {
SovWidgets.setSelect2($(elm));
}

+ 1
- 1
Resources/assets/functions/prices.js Visa fil

@@ -19,7 +19,7 @@ export class SovPrices {

static applyReductionPercent(price, percentage)
{
return applyPercent(price, -percentage);
return this.applyPercent(price, -percentage);
}

static applyReductionAmount(price, amount)

Laddar…
Avbryt
Spara