Преглед на файлове

Merge branch 'dev'

prodstable
Guillaume преди 2 години
родител
ревизия
6afa61e6d4
променени са 1 файла, в които са добавени 4 реда и са изтрити 4 реда
  1. +4
    -4
      backend/controllers/DistributionController.php

+ 4
- 4
backend/controllers/DistributionController.php Целия файл

} }


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

Loading…
Отказ
Запис