Browse Source

flag error in Pending COntractor

ifah
Siti Hajar Ibrahim 4 years ago
parent
commit
f5d27dedc5
1 changed files with 1 additions and 0 deletions
  1. 1
    0
      app/Http/Controllers/CustomerService/WorkOrderController.php

+ 1
- 0
app/Http/Controllers/CustomerService/WorkOrderController.php View File

@@ -283,6 +283,7 @@ class WorkOrderController extends Controller
$product = Product::where('speed',$form->PackageDetail->name)->where('formT',$w->Form->type_application)->first();
$company = Company::where('_id',$w->contractor_id)->first();

info($w->installer_id);
if($w->installer_id != ''){
$installer = Staff::with('StaffDetail')->where('_id',$w->installer_id)->first();
$installer = $installer->StaffDetail->name;

Loading…
Cancel
Save