浏览代码

fix report

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

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

@@ -140,7 +140,7 @@ class FormController extends BaseController
$address = $f->Subscriber->postcode. ' , '.$f->Subscriber->city. ' , '.$f->Subscriber->state;
}

$woD = '-'; $woId = 'none'; $natureWork = ''; $doId = ''; $woRate="";$installerId="";
$woD = '-'; $woId = 'none'; $natureWork = ''; $doId = ''; $woRate=""; $installerId="";
if(!empty($f->WorkOrder)){
$woId = $f->WorkOrder->wo;
$natureWork = $f->WorkOrder->nature_work;
@@ -148,7 +148,7 @@ class FormController extends BaseController
if(!empty($f->WorkOrder->Docket)){
$woD = $f->WorkOrder->Docket->end_job;
$woRate = $f->WorkOrder->Docket->Rating1;
$installerId = $f->WordOrder->Docket->installer_id;
// $installerId = $f->WordOrder->Docket->installer_id;

// array_push($result,array(
// 'type_application' => $f->type_application,
@@ -184,7 +184,7 @@ class FormController extends BaseController
// 'activated_date' => $woD,
// ));
array_push($result,array(
'Installer' => $installerId,
// 'Installer' => $installerId,
'Dealer Name' => $labelD,
"Customer Name"=> $name,
"Contact Number"=> $contact_no,

正在加载...
取消
保存