소스 검색

fix deleted installer

allo_data_retrieve^2
Siti Hajar Ibrahim 5 년 전
부모
커밋
2f269f4ea7
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1
    1
      app/Http/Controllers/CustomerService/WorkOrderController.php

+ 1
- 1
app/Http/Controllers/CustomerService/WorkOrderController.php 파일 보기

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

Loading…
취소
저장