瀏覽代碼

update calculation incentives august

ifah
Siti Hajar Ibrahim 5 年之前
父節點
當前提交
30f9335278
共有 1 個檔案被更改,包括 2 行新增2 行删除
  1. 2
    2
      app/Http/Controllers/DS/DealerController.php

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

@@ -2779,8 +2779,8 @@ class DealerController extends Controller
foreach ($combineData as $key => $d) {
if(count($combineData) >= 50){
if(date('m/Y', strtotime($d['activation'])) == $month.'/'.$year){
info("1". $d['wo']);
if($d['contract'] == '12'){
info("1". $d['wo']);
array_push($combineData, array(
'index' => $d['index'],
'contract' => $d['contract'],
@@ -2817,8 +2817,8 @@ class DealerController extends Controller
}
}else if(count($combineData) < 50){
if(date('m/Y', strtotime($d['activation'])) == $month.'/'.$year){
info("3". $d['wo']);
if($d['contract'] == '12'){
info("3". $d['wo']);
array_push($combineData, array(
'index' => $d['index'],
'contract' => $d['contract'],

Loading…
取消
儲存