Siti Hajar Ibrahim 5 роки тому
джерело
коміт
ba3d068371
1 змінених файлів з 6 додано та 6 видалено
  1. 6
    6
      app/Http/Controllers/DS/DealerController.php

+ 6
- 6
app/Http/Controllers/DS/DealerController.php Переглянути файл

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

Завантаження…
Відмінити
Зберегти