Browse Source

edit calculation claim Sept

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

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

} }


foreach ($dataSeptemberR as $key => $d) { foreach ($dataSeptemberR as $key => $d) {
if(((date('m/Y', strtotime($d['submission'])) == '8/2020') && (date('d/m/Y', strtotime($d['submission'])) >= '11/8/2020')) || (date('m/Y', strtotime($d['submission'])) == $month.'/'.$year)){
if(((date('m/Y', strtotime($d['submission'])) == '08/2020') && (date('d/m/Y', strtotime($d['submission'])) >= '11/8/2020')) || (date('m/Y', strtotime($d['submission'])) == $month.'/'.$year)){
$countSeptemberR[] = $d; $countSeptemberR[] = $d;
}else { }else {
if(date('m/Y', strtotime($d['activation'])) == $month.'/'.$year){ if(date('m/Y', strtotime($d['activation'])) == $month.'/'.$year){
} }


foreach ($dataSeptemberB as $key => $d) { foreach ($dataSeptemberB as $key => $d) {
if(((date('m/Y', strtotime($d['submission'])) == '8/2020') && (date('d/m/Y', strtotime($d['submission'])) >= '11/8/2020')) || (date('m/Y', strtotime($d['submission'])) == $month.'/'.$year)){
if(((date('m/Y', strtotime($d['submission'])) == '08/2020') && (date('d/m/Y', strtotime($d['submission'])) >= '11/8/2020')) || (date('m/Y', strtotime($d['submission'])) == $month.'/'.$year)){
$countSeptemberB[] = $d; $countSeptemberB[] = $d;
}else { }else {
if(date('m/Y', strtotime($d['activation'])) == $month.'/'.$year){ if(date('m/Y', strtotime($d['activation'])) == $month.'/'.$year){

Loading…
Cancel
Save