Parcourir la source

Remove flag wo

ifah
Siti Hajar Ibrahim il y a 5 ans
Parent
révision
7859220325

+ 1
- 1
app/Http/Controllers/Contractor/WorkOrderController.php Voir le fichier

@@ -707,7 +707,7 @@ class WorkOrderController extends Controller
$wod = WorkOrder::where('wo',$request->wo)->first();
$form = Form::where('_id',$wod->_id)->first();
$installer = Staff::with('StaffDetail')->where('_id',$wod->installer_id)->first();
info($installer->_id);
info('installer ' . $installer->_id);

if(!empty($wod)){


+ 0
- 1
app/Http/Controllers/CustomerService/WorkOrderController.php Voir le fichier

@@ -248,7 +248,6 @@ class WorkOrderController extends Controller
}

$installer = '';
info($w->Form->_id);
$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();
$company = Company::where('_id',$w->contractor_id)->first();

Chargement…
Annuler
Enregistrer