Selaa lähdekoodia

[Backend] Tiller : correctif mean payment

refactoring
Guillaume 2 vuotta sitten
vanhempi
commit
dc4d6d5a41
1 muutettua tiedostoa jossa 4 lisäystä ja 4 poistoa
  1. +4
    -4
      backend/controllers/DistributionController.php

+ 4
- 4
backend/controllers/DistributionController.php Näytä tiedosto

@@ -1285,13 +1285,13 @@ class DistributionController extends BackendController
}

$typePaymentTiller = '';
if ($order->mean_payment == MeanPayment::MONEY
if ($order->mean_payment == MeanPayment::MONEY) {
$typePaymentTiller = 'CASH';
}
if ($order->mean_payment == MeanPayment::CREDIT_CARD
|| $order->mean_payment == MeanPayment::CREDIT
|| $order->mean_payment == MeanPayment::TRANSFER
|| $order->mean_payment == MeanPayment::OTHER) {
$typePaymentTiller = 'CASH';
}
if ($order->mean_payment == MeanPayment::CREDIT_CARD) {
$typePaymentTiller = 'CARD';
}
if ($order->mean_payment == MeanPayment::CHEQUE) {

Loading…
Peruuta
Tallenna