소스 검색

flag to find error

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

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

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

}

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

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

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

Loading…
취소
저장