Browse Source

edit info

ifah
Siti Hajar Ibrahim 6 years ago
parent
commit
35f080d865
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      app/Http/Controllers/Contractor/WorkOrderController.php

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

$wod = WorkOrder::where('wo',$request->wo)->first(); $wod = WorkOrder::where('wo',$request->wo)->first();
$form = Form::where('_id',$wod->_id)->first(); $form = Form::where('_id',$wod->_id)->first();
$installer = Staff::with('StaffDetail')->where('_id',$wod->installer_id)->first(); $installer = Staff::with('StaffDetail')->where('_id',$wod->installer_id)->first();
info('installer ' . $installer->_id);
info('installer ' . $installer);


if(!empty($wod)){ if(!empty($wod)){



Loading…
Cancel
Save