Pārlūkot izejas kodu

Finalisation edition produit

develop
Fab pirms 3 gadiem
vecāks
revīzija
f098daf30d
2 mainītis faili ar 4 papildinājumiem un 4 dzēšanām
  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 Parādīt failu

@@ -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 Parādīt failu

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

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

static applyReductionAmount(price, amount)

Notiek ielāde…
Atcelt
Saglabāt