Procházet zdrojové kódy

Merge branch 'dev'

master
Guillaume Bourgeois před 5 roky
rodič
revize
ea3cf03aa6
1 změnil soubory, kde provedl 3 přidání a 3 odebrání
  1. +3
    -3
      producer/controllers/OrderController.php

+ 3
- 3
producer/controllers/OrderController.php Zobrazit soubor

@@ -353,9 +353,9 @@ class OrderController extends ProducerBaseController
$amountRemaining = $order->getAmount(Order::AMOUNT_REMAINING) ;
if($credit && $pointSale->credit &&
( ($pointSale->credit_functioning == Producer::CREDIT_FUNCTIONING_OPTIONAL && $posts['use_credit']) ||
$pointSale->credit_functioning == Producer::CREDIT_FUNCTIONING_MANDATORY ||
($pointSale->credit_functioning == Producer::CREDIT_FUNCTIONING_USER && $userProducer->credit_active)
( ($creditFunctioning == Producer::CREDIT_FUNCTIONING_OPTIONAL && $posts['use_credit']) ||
$creditFunctioning == Producer::CREDIT_FUNCTIONING_MANDATORY ||
($creditFunctioning == Producer::CREDIT_FUNCTIONING_USER && $userProducer->credit_active)
)) {

// à payer

Načítá se…
Zrušit
Uložit