Siti Hajar Ibrahim пре 5 година
родитељ
комит
b3956b0cd5

+ 1
- 1
app/Http/Controllers/Contractor/WorkOrderController.php Прегледај датотеку

@@ -237,7 +237,7 @@ class WorkOrderController extends Controller

}

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

+ 2
- 2
app/Http/Controllers/CustomerService/WorkOrderController.php Прегледај датотеку

@@ -277,7 +277,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('cs282 ' . $w->installer_id);
info('cs282 ' . $w->installer_id . $w->wo);
if($w->installer_id != ''){
$installer = Staff::with('StaffDetail')->where('_id',$w->installer_id)->first();
$installer = $installer->StaffDetail->name;
@@ -495,7 +495,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('cs499 ' . $w->installer_id);
info('cs499 ' . $w->installer_id . $w->wo);
if($w->installer_id != ''){
$installer = Staff::with('StaffDetail')->where('_id',$w->installer_id)->first();
$installer = $installer->StaffDetail->name;

Loading…
Откажи
Сачувај