Pārlūkot izejas kodu

edit claim

ifah
Siti Hajar Ibrahim pirms 5 gadiem
vecāks
revīzija
ba3d068371
1 mainītis faili ar 6 papildinājumiem un 6 dzēšanām
  1. 6
    6
      app/Http/Controllers/DS/DealerController.php

+ 6
- 6
app/Http/Controllers/DS/DealerController.php Parādīt failu

@@ -2797,13 +2797,13 @@ class DealerController extends Controller
}else {
if ($d['package']== 50){
$finalprice = 69;
$total = number_format(floatval(69 * 2.5 + 50), 2);
$total = number_format(69 * 2.5 + 50, 2);
} elseif ($d['package']== 100){
$finalprice = 89;
$total = number_format(floatval(89 * 2.5 + 50), 2);
$total = number_format(89 * 2.5 + 50, 2);
} elseif ($d['package']== 500){
$finalprice = 129;
$total = number_format(floatval(129 * 2.5 + 50), 2);
$total = number_format(129 * 2.5 + 50, 2);
} else{
$total = number_format(floatval(str_replace("RM ", "" , $d['retail_price'])) * 2.5 + 50, 2);
$finalprice = number_format(floatval(str_replace("RM ", "" , $d['retail_price'])), 2);
@@ -2844,13 +2844,13 @@ class DealerController extends Controller
}else {
if ($d['package']== 50){
$finalprice = 69;
$total = number_format(floatval(69 * 2.5), 2);
$total = number_format(69 * 2.5, 2);
} elseif ($d['package']== 100){
$finalprice = 89;
$total = number_format(floatval(89 * 2.5), 2);
$total = number_format(89 * 2.5, 2);
} elseif ($d['package']== 500){
$finalprice = 129;
$total = number_format(floatval(129 * 2.5), 2);
$total = number_format(129 * 2.5, 2);
} else{
$total = number_format(floatval(str_replace("RM ", "" , $d['retail_price'])) * 2.5, 2);
$finalprice = number_format(floatval(str_replace("RM ", "" , $d['retail_price'])), 2);

Notiek ielāde…
Atcelt
Saglabāt