| 'total' => 'RM '.$total, | 'total' => 'RM '.$total, | ||||
| 'claim' => $d['claim'], | 'claim' => $d['claim'], | ||||
| )); | )); | ||||
| info($finalprice); | |||||
| } | } | ||||
| } | } | ||||
| } | } | ||||
| if(!empty($update_dealer)){ | if(!empty($update_dealer)){ | ||||
| $update_dealer->incentives1 = $c['incentives1']; | $update_dealer->incentives1 = $c['incentives1']; | ||||
| $update_dealer->incentives2 = $c['incentives2']; | $update_dealer->incentives2 = $c['incentives2']; | ||||
| $update_dealer->retail_price = $c['retail_price']; | |||||
| $update_dealer->total_claim = $c['total']; | $update_dealer->total_claim = $c['total']; | ||||
| $update_dealer->save(); | $update_dealer->save(); | ||||
| } | } |