diff --git a/app/Http/Controllers/ClientsController.php b/app/Http/Controllers/ClientsController.php index fb2caee..eb0f569 100755 --- a/app/Http/Controllers/ClientsController.php +++ b/app/Http/Controllers/ClientsController.php @@ -395,7 +395,8 @@ class ClientsController extends Controller 'toll_free' => 'required', 'status' => 'required', 'remarks' => 'required', - 'launch_date' => 'required' + 'launch_date' => 'required', + 'expiry_date' => 'required' ]); $auth_user = session('current_user'); #$network = Models\NetworkOps::find($request->network); @@ -442,6 +443,7 @@ class ClientsController extends Controller 'toll_free' => $request->toll_free, 'last_updaed_by' => $auth_user['id'], 'launch_date' => $request->launch_date, + 'expiry_date' => $request->expiry_date, 'status' => $request->status ]; if ($request->has('remarks')) { @@ -809,12 +811,14 @@ class ClientsController extends Controller //This should not be false because onboarding_progress_stage is populated during client creation $onboarding_progress = json_decode($client->onboarding_progress_stage, 1); - //dump($client->progress_indicator); + // dump($client->progress_indicator); + // dd($onboarding_progress); $has_pending = in_array("PENDING", $onboarding_progress); if ($client->progress_indicator !== "COMPLETED") { $stage_details = Models\ClientOnboardingMainStage::where('stage', $client->progress_indicator)->first(); - //dd($stage_details); + // dump($stage_details); $onboarding_sub_items_progress = Models\ClientOnboardingProgress::where('stage_id', $stage_details->stage_id)->where('client_id', $id)->pluck('name', 'name'); + // dd($onboarding_sub_items_progress); $onboarding_sub_items = Models\ClientOnboardingSubItem::where('stage_id', $stage_details->stage_id)->pluck('name', 'name'); } @@ -988,7 +992,7 @@ class ClientsController extends Controller #$pending_stage = array_key_first($pending_stage); reset($pending_stage); $pending_stage = key($pending_stage); - + // dd($pending_stage); if ($pending_stage == true) { //Pending Exist $client_update->progress_indicator = $pending_stage; diff --git a/pending-issues.md b/pending-issues.md index 6b935bd..d3a6ad3 100644 --- a/pending-issues.md +++ b/pending-issues.md @@ -26,3 +26,30 @@ Great idea on the performance indicators, I have a suggestion for clients that a When these are being edited, there’s no indicator that applies for their level of activity. Could we add something on traffic flow as the other options would not necessarily apply. + +# Mansa +Hello Kwesi, + +Below are the route features for Click Mobile direct routes as requested for the ERP. + +Dynamic Alphanumeric -Yes/NO +Dynamic Shortcode- Yes/No +Dynamic Numeric- Yes/No +Delivery Report- Yes/No +Comments + +# Short Code Licence/Certificate Renewal Date + +Our ZICTA certificate for the Geopoll short code 5155 will expire on the 22nd of March. Renewal fee is K18,000. + +Kind Regards, + +Martha + +VFGH83347501 + + +https://youtu.be/6kBAkodqBRM + +https://youtu.be/OUSTGLL51m0 + diff --git a/public/assets/js/clientshow.js b/public/assets/js/clientshow.js index 6c8f1d9..cf20611 100644 --- a/public/assets/js/clientshow.js +++ b/public/assets/js/clientshow.js @@ -33,6 +33,9 @@ $('#launchDate').datetimepicker({ format: 'YYYY-MM-DD' }); + $('#expiryDate').datetimepicker({ + format: 'YYYY-MM-DD' + }); $('#createNotesBtn').click(function(evt){ evt.preventDefault(); $('#newNotesForm').modal('show'); diff --git a/resources/views/client/partials/create-shortcodes.blade.php b/resources/views/client/partials/create-shortcodes.blade.php index bed8850..c7636b9 100644 --- a/resources/views/client/partials/create-shortcodes.blade.php +++ b/resources/views/client/partials/create-shortcodes.blade.php @@ -37,7 +37,7 @@
- + @@ -54,6 +54,15 @@
+
+
+ + +
+ +
+
+
diff --git a/resources/views/client/partials/sms-codes.blade.php b/resources/views/client/partials/sms-codes.blade.php index 52972e1..c6e2a74 100644 --- a/resources/views/client/partials/sms-codes.blade.php +++ b/resources/views/client/partials/sms-codes.blade.php @@ -5,12 +5,12 @@ {{-- # --}} Name - Code + Code Network Toll Free Status - Remarks Launch Date + Expiry Date Action @@ -29,8 +29,8 @@ {{ $row->network }} {{ $row->toll_free }} {{ $row->status }} - {{ $row->remarks }} {{ date('d-m-Y', strtotime($row->launch_date)) }} + {{ date('d-m-Y', strtotime($row->expiry_date)) }} diff --git a/resources/views/client/partials/ussd-codes.blade.php b/resources/views/client/partials/ussd-codes.blade.php index 12aa505..507d1bb 100644 --- a/resources/views/client/partials/ussd-codes.blade.php +++ b/resources/views/client/partials/ussd-codes.blade.php @@ -9,8 +9,9 @@ Network/Country Toll Free Status - Remarks + Launch Date + Expiry Date Action @@ -31,6 +32,7 @@ {{ $row->status }} {{ $row->remarks }} {{ date('d-m-Y', strtotime($row->launch_date)) }} + {{ date('d-m-Y', strtotime($row->expiry_date)) }} diff --git a/resources/views/client/partials/voice-codes.blade.php b/resources/views/client/partials/voice-codes.blade.php index d9d6e61..7c124bb 100644 --- a/resources/views/client/partials/voice-codes.blade.php +++ b/resources/views/client/partials/voice-codes.blade.php @@ -10,6 +10,7 @@ Toll Free Status Launch Date + Expiry Date Action @@ -28,8 +29,8 @@ {{ $row->network }} {{ $row->toll_free }} {{ $row->status }} - {{ $row->remarks }} {{ date('d-m-Y', strtotime($row->launch_date)) }} + {{ date('d-m-Y', strtotime($row->exipiry_date)) }}