Bladeren bron

fix report

ifah
Siti Hajar Ibrahim 5 jaren geleden
bovenliggende
commit
bbf66a19df
1 gewijzigde bestanden met toevoegingen van 3 en 3 verwijderingen
  1. 3
    3
      app/Http/Controllers/Api/FormController.php

+ 3
- 3
app/Http/Controllers/Api/FormController.php Bestand weergeven

@@ -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,

Laden…
Annuleren
Opslaan