瀏覽代碼

Merge branch 'dev'

prodstable
Guillaume 2 年之前
父節點
當前提交
6afa61e6d4
共有 1 個文件被更改,包括 4 次插入4 次删除
  1. +4
    -4
      backend/controllers/DistributionController.php

+ 4
- 4
backend/controllers/DistributionController.php 查看文件

@@ -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…
取消
儲存