Siti Hajar Ibrahim 5 anni fa
parent
commit
d73501e966
1 ha cambiato i file con 2 aggiunte e 4 eliminazioni
  1. 2
    4
      app/Http/Controllers/DS/DealerController.php

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

@@ -2782,10 +2782,8 @@ class DealerController extends Controller
$dataOctober = $this->returnDataR($company,'2020','10');

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

Loading…
Annulla
Salva