Selaa lähdekoodia

check claim

ifah
Siti Hajar Ibrahim 6 vuotta sitten
vanhempi
commit
b2f5ac2da9
1 muutettua tiedostoa jossa 7 lisäystä ja 4 poistoa
  1. 7
    4
      app/Http/Controllers/DS/DealerController.php

+ 7
- 4
app/Http/Controllers/DS/DealerController.php Näytä tiedosto

if(date('m/Y', strtotime($d['submission'])) == $month.'/'.$year){ if(date('m/Y', strtotime($d['submission'])) == $month.'/'.$year){
if(date('d/m/Y', strtotime($d['submission'])) >= '11/8/2020'){ if(date('d/m/Y', strtotime($d['submission'])) >= '11/8/2020'){
$countAugustR[] = $d; $countAugustR[] = $d;
info ($d['submission']);
} }
} }
} }
// Store to combineData New Incentive August // Store to combineData New Incentive August
foreach ($countAugustR as $key => $d) { foreach ($countAugustR as $key => $d) {
info('R '. $d['wo']);
if(count($countAugustR) >= 50){ if(count($countAugustR) >= 50){
if(date('m/Y', strtotime($d['activation'])) == $month.'/'.$year){ if(date('m/Y', strtotime($d['activation'])) == $month.'/'.$year){
if($d['contract'] == '12'){ if($d['contract'] == '12'){
} }


foreach ($dataAugustB as $key => $d) { foreach ($dataAugustB as $key => $d) {
if(date('d/m/Y', strtotime($d['submission'])) >= '11/8/2020'){
$countAugustB[] = $d;
if(date('m/Y', strtotime($d['submission'])) == $month.'/'.$year){
if(date('d/m/Y', strtotime($d['submission'])) >= '11/8/2020'){
$countAugustB[] = $d;
}
} }
} }
// Store to combineData New Incentive August // Store to combineData New Incentive August
foreach ($countAugustB as $key => $d) { foreach ($countAugustB as $key => $d) {
info('B ' . $d['wo']);
if(count($countAugustB) >= 50){ if(count($countAugustB) >= 50){
if(date('m/Y', strtotime($d['activation'])) == $month.'/'.$year){ if(date('m/Y', strtotime($d['activation'])) == $month.'/'.$year){
if($d['contract'] == '12'){ if($d['contract'] == '12'){

Loading…
Peruuta
Tallenna