This commit is contained in:
parent
d6e8b4ddc3
commit
24e9ca8ccd
|
|
@ -57,7 +57,7 @@ return [
|
|||
'engine' => 'InnoDB',
|
||||
'host' => 'localhost',
|
||||
'port' => 3306,
|
||||
'database' => 'gok_bakja_from_server',
|
||||
'database' => 'gok_bakja_01_24',
|
||||
'username' => 'root',
|
||||
'password' => 'bt110226',
|
||||
'charset' => 'utf8mb4',
|
||||
|
|
|
|||
|
|
@ -290,10 +290,11 @@ class Order extends ComponentBase
|
|||
|
||||
$mustPay = '';
|
||||
$mustPayCalc = number_format(($orderDatas[$x]->order_all_price - $orderDatas[$x]->all_payments), 2);
|
||||
$mustPayCalcQQ = ($orderDatas[$x]->order_all_price - $orderDatas[$x]->all_payments);
|
||||
|
||||
if($mustPayCalc < 0){
|
||||
if($mustPayCalcQQ < 0){
|
||||
$mustPay = 'artykmaç '.abs($mustPayCalc).' $';
|
||||
}else if($mustPayCalc == 0){
|
||||
}else if($mustPayCalcQQ == 0){
|
||||
$mustPay = '';
|
||||
} else{
|
||||
$mustPay = $mustPayCalc.' $';
|
||||
|
|
|
|||
Loading…
Reference in New Issue