| @@ -144,9 +144,9 @@ class FormController extends BaseController | |||
| if(!empty($f->WorkOrder->Docket)){ | |||
| $woD = $f->WorkOrder->Docket->end_job; | |||
| $woRate = $f->WorkOrder->Docket->Rating1; | |||
| $amount_claim = DealerClaim::with(['Subscriber' => function($q) { | |||
| $q->with('Form'); | |||
| }],'Staff')->where('wo', $woId)->first(); | |||
| $amount_claim = DealerClaim::with(['Subscriber' => function($q) use($woId) { | |||
| $q->where('wo', $woId); | |||
| }])->get(); | |||
| // array_push($result,array( | |||
| // 'type_application' => $f->type_application, | |||
| // "type_service" => $f->type_service, | |||