diff --git a/app/Http/Controllers/ServiceController.php b/app/Http/Controllers/ServiceController.php index 5db2907..6b9fb7a 100644 --- a/app/Http/Controllers/ServiceController.php +++ b/app/Http/Controllers/ServiceController.php @@ -183,6 +183,7 @@ class ServiceController extends Controller $o->order_info->put('change_note',$request->notes); $o->order_info->put('change_date',$request->change_date); + $o->order_info->put('change_product_id',$request->product_id); $o->order_status = 'CHANGE-REQUEST'; $o->save(); diff --git a/resources/views/theme/backend/adminlte/u/service/change_request.blade.php b/resources/views/theme/backend/adminlte/u/service/change_request.blade.php index e6eb816..34f9ceb 100644 --- a/resources/views/theme/backend/adminlte/u/service/change_request.blade.php +++ b/resources/views/theme/backend/adminlte/u/service/change_request.blade.php @@ -43,9 +43,7 @@ - {{-- - @includeIf('u.service.widgets.'.$o->stype.'.order',['o'=>$o->type]) - --}} + @includeIf('u.service.widgets.'.$o->stype.'.change',['o'=>$o->type])