Kaynağa Gözat

fix report

ifah
Siti Hajar Ibrahim 5 yıl önce
ebeveyn
işleme
0e2b2bb2f0
1 değiştirilmiş dosya ile 2 ekleme ve 32 silme
  1. 2
    32
      app/Http/Controllers/Api/FormController.php

+ 2
- 32
app/Http/Controllers/Api/FormController.php Dosyayı Görüntüle

@@ -144,40 +144,10 @@ class FormController extends BaseController
if(!empty($f->WorkOrder->Docket)){
$woD = $f->WorkOrder->Docket->end_job;
$woRate = $f->WorkOrder->Docket->Rating1;
$amount_claim = $f->Subscriber->DealerClaim->total_claim;
// array_push($result,array(
// 'type_application' => $f->type_application,
// "type_service" => $f->type_service,
// "customer_name"=> $name,
// "contact_no"=> $contact_no,
// "unit_no"=>$f->Subscriber->unit_no,
// "building"=>$building,
// "street"=>$address,
// "submitted_date" => $f->created_at->toDateTimeString(),
// "package_contract" => $f->PackageDetail->contract,
// "package_name" => $f->PackageDetail->name,
// 'dealer' => $labelD,
// 'wo' => $woId,
// 'activated_date' => $woD,
// ));
// $amount_claim = $f->Subscriber->DealerClaim->total_claim;
}
}
// array_push($result,array(
// 'type_application' => $f->type_application,
// "type_service" => $f->type_service,
// "customer_name"=> $name,
// "contact_no"=> $contact_no,
// "unit_no"=>$f->Subscriber->unit_no,
// "building"=>$building,
// "street"=>$address,
// "submitted_date" => $f->created_at->toDateTimeString(),
// "package_contract" => $f->PackageDetail->contract,
// "package_name" => $f->PackageDetail->name,
// 'dealer' => $labelD,
// 'wo' => $woId,
// 'activated_date' => $woD,
// ));
array_push($result,array(
'Dealer Name' => $labelD,
"Customer Name"=> $name,

Loading…
İptal
Kaydet