Sfoglia il codice sorgente

Remove flag wo

ifah
Siti Hajar Ibrahim 5 anni fa
parent
commit
7859220325

+ 1
- 1
app/Http/Controllers/Contractor/WorkOrderController.php Vedi 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->_id);
info('installer ' . $installer->_id);


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



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

} }


$installer = ''; $installer = '';
info($w->Form->_id);
$form = Form::with('Subscriber','PackageDetail')->where('_id',$w->Form->_id)->first(); $form = Form::with('Subscriber','PackageDetail')->where('_id',$w->Form->_id)->first();
$product = Product::where('speed',$form->PackageDetail->name)->where('formT',$w->Form->type_application)->first(); $product = Product::where('speed',$form->PackageDetail->name)->where('formT',$w->Form->type_application)->first();
$company = Company::where('_id',$w->contractor_id)->first(); $company = Company::where('_id',$w->contractor_id)->first();

Loading…
Annulla
Salva