浏览代码

fix report

ifah
父节点
当前提交
990f977a70
共有 1 个文件被更改,包括 3 次插入4 次删除
  1. 3
    4
      app/Http/Controllers/Api/FormController.php

+ 3
- 4
app/Http/Controllers/Api/FormController.php 查看文件



$name = ''; $contact_no = ''; $name = ''; $contact_no = '';
$address = ''; $building = ''; $address = ''; $building = '';
$labelD = ''; $amount_claim='';
$labelD = '';


if(!empty($f->dealer_id)){ if(!empty($f->dealer_id)){
$c = Company::find($f->company_id); $c = Company::find($f->company_id);
$labelD = ""; $labelD = "";
} }
if (!empty($f->Subscriber->DealerClaim)){
$amount_claim = $f->Subscriber->DealerClaim->total_claim;
}
$amount_claim = $f->Subscriber->DealerClaim->total_claim;


if(!empty($f->Subscriber) && !empty($f->PackageDetail)){ if(!empty($f->Subscriber) && !empty($f->PackageDetail)){
if($f->type_application == 'R'){ if($f->type_application == 'R'){

正在加载...
取消
保存