Selaa lähdekoodia

Undo flag

hajar
Siti Hajar Ibrahim 5 vuotta sitten
vanhempi
commit
b5ba192c20

+ 1
- 1
app/Http/Controllers/CustomerService/WorkOrderController.php Näytä tiedosto

$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();


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

Loading…
Peruuta
Tallenna