Explorar el Código

Merge branch 'dev'

prodstable
Guillaume hace 2 años
padre
commit
6afa61e6d4
Se han modificado 1 ficheros con 4 adiciones y 4 borrados
  1. +4
    -4
      backend/controllers/DistributionController.php

+ 4
- 4
backend/controllers/DistributionController.php Ver fichero

@@ -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) {

Cargando…
Cancelar
Guardar