浏览代码

check claim

ifah
父节点
当前提交
b2f5ac2da9
共有 1 个文件被更改,包括 7 次插入 和 4 次删除
  1. 7
    4
      app/Http/Controllers/DS/DealerController.php

+ 7
- 4
app/Http/Controllers/DS/DealerController.php 查看文件

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'){

正在加载...
取消
保存