Browse Source

edit error dealer claim calculation

ifah
Siti Hajar Ibrahim 5 years ago
parent
commit
899f98e66b
1 changed files with 3 additions and 3 deletions
  1. 3
    3
      app/Http/Controllers/DS/DealerController.php

+ 3
- 3
app/Http/Controllers/DS/DealerController.php View File

'name' => $d['name'], 'name' => $d['name'],
'address' => $d['address'], 'address' => $d['address'],
'package' => $d['package'], 'package' => $d['package'],
'retail_price' => 'RM '.$finalprice,
'retail_price' => $d['retail_price'],
'incentives1' => '250%', 'incentives1' => '250%',
'incentives2' => $d['incentives2'], 'incentives2' => $d['incentives2'],
'total' => 'RM '.$total, 'total' => 'RM '.$total,
} }


if(date('d/m/Y', strtotime($d['activation'])) >= '11/8/2020'){ if(date('d/m/Y', strtotime($d['activation'])) >= '11/8/2020'){
$countAugustR[] = $d;
$countAugustB[] = $d;
} }
}else { }else {
if(date('d/m/Y', strtotime($d['activation'])) >= '11/8/2020'){ if(date('d/m/Y', strtotime($d['activation'])) >= '11/8/2020'){
$countAugustR[] = $d;
$countAugustB[] = $d;
}else { }else {
$combineData[] = $d; $combineData[] = $d;
} }

Loading…
Cancel
Save