From 17e7b47cdc8b349c994c766a5545b13f15f7f789 Mon Sep 17 00:00:00 2001 From: Deon George Date: Fri, 8 Oct 2021 12:18:39 +1100 Subject: [PATCH] Add product info on broadband change requests --- app/Http/Controllers/ServiceController.php | 1 + .../u/service/change_request.blade.php | 10 ++-- .../widgets/broadband/change.blade.php | 54 +++++++++++++++++++ 3 files changed, 62 insertions(+), 3 deletions(-) create mode 100644 resources/views/theme/backend/adminlte/u/service/widgets/broadband/change.blade.php 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])
@@ -63,6 +61,12 @@
+ +
+
+
+
+
@endsection diff --git a/resources/views/theme/backend/adminlte/u/service/widgets/broadband/change.blade.php b/resources/views/theme/backend/adminlte/u/service/widgets/broadband/change.blade.php new file mode 100644 index 0000000..9201de6 --- /dev/null +++ b/resources/views/theme/backend/adminlte/u/service/widgets/broadband/change.blade.php @@ -0,0 +1,54 @@ +
+ +
+
+ +
+
+ +
+ NOTE: A plan setup fee is normally not applicable to Broadband changes, but a plan change fee normally is. +
+
+@section('page-scripts') + +@append \ No newline at end of file