Selaa lähdekoodia

check claim

ifah
Siti Hajar Ibrahim 5 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

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

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
foreach ($countAugustB as $key => $d) {
info('B ' . $d['wo']);
if(count($countAugustB) >= 50){
if(date('m/Y', strtotime($d['activation'])) == $month.'/'.$year){
if($d['contract'] == '12'){

Loading…
Peruuta
Tallenna