瀏覽代碼

update calculation incentives august

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

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

@@ -2776,7 +2776,7 @@ class DealerController extends Controller

// Store to combineData New Incentive August
foreach ($combineData as $key => $d) {
if(count($combineData) > 50){
if(count($combineData) >= 50){
if(date('m/Y', strtotime($d['activation'])) == $month.'/'.$year){

if($d['contract'] == '12'){
@@ -2869,7 +2869,6 @@ class DealerController extends Controller
$nested_data = array();
if(!empty($combineData)){
foreach ($combineData as $c){
info(count($combineData));
$update_dealer = DealerClaim::where('wo',$c['wo'])->first();
if(!empty($update_dealer)){
$update_dealer->incentives1 = $c['incentives1'];

Loading…
取消
儲存