bug fixes, mno,client contract renewals, scheduling
This commit is contained in:
@@ -11,10 +11,10 @@ use Illuminate\Contracts\Mail\Mailer;
|
||||
|
||||
class UtilityController extends Controller
|
||||
{
|
||||
|
||||
|
||||
public function EmailTest(Mailer $mailer)
|
||||
{
|
||||
|
||||
|
||||
$emails = ['kwesi@click-mobile.com', 'kwesi_banson@hotmail.com'];
|
||||
|
||||
$data = [
|
||||
@@ -32,6 +32,9 @@ class UtilityController extends Controller
|
||||
|
||||
return view('utility.map');
|
||||
}
|
||||
public function ntfyTest(){
|
||||
$this->sendNtfy('In the ERP');
|
||||
}
|
||||
function insertOnboardingProgress(){
|
||||
$all_clients = Models\Client::get();
|
||||
$count_cl = 0;
|
||||
@@ -40,30 +43,30 @@ class UtilityController extends Controller
|
||||
foreach ($get_stage_subs_items as $value) {
|
||||
$stage_id = ['stage_id' => $value->stage_id, 'client_id' => $row->id, 'name' => $value->name ];
|
||||
$progress_arr = [
|
||||
'status' => 'PENDING'
|
||||
'status' => 'PENDING'
|
||||
];
|
||||
$clients_onboarding_progress = Models\ClientOnboardingProgress::updateOrCreate($stage_id, $progress_arr);
|
||||
}
|
||||
$count_cl++;
|
||||
}
|
||||
}
|
||||
dump($count_cl);
|
||||
}
|
||||
function massOnboardingProgress($client_id){
|
||||
//todo : update
|
||||
//todo : update
|
||||
/*
|
||||
-- client_onboarding_sub_items -- this holds all sub items
|
||||
-- client_onboarding_progress -- update to completed
|
||||
-- in the clients table
|
||||
-- onboarding_progress_stage == update to complete,
|
||||
-- progress_indicator to complete,
|
||||
-- in the clients table
|
||||
-- onboarding_progress_stage == update to complete,
|
||||
-- progress_indicator to complete,
|
||||
-- progress_indicator_score to 100
|
||||
*/
|
||||
$get_stage_subs_items = Models\ClientOnboardingSubItem::get();
|
||||
$get_stage_subs_items = Models\ClientOnboardingSubItem::get();
|
||||
foreach ($get_stage_subs_items as $value) {
|
||||
$progress_arr = [
|
||||
'stage_id' => $value->stage_id,
|
||||
'client_id' => $client_id,
|
||||
'name' => $value->name,
|
||||
'stage_id' => $value->stage_id,
|
||||
'client_id' => $client_id,
|
||||
'name' => $value->name,
|
||||
'status' => 'COMPLETE'
|
||||
];
|
||||
$clients_onboarding_progress = Models\ClientOnboardingProgress::create($progress_arr);
|
||||
@@ -75,13 +78,13 @@ class UtilityController extends Controller
|
||||
foreach ($get_stage_subs_items as $value) {
|
||||
$stage_id = ['stage_id' => $value->stage_id, 'client_id' => $row->id, 'name' => $value->name ];
|
||||
$progress_arr = [
|
||||
'status' => 'PENDING'
|
||||
'status' => 'PENDING'
|
||||
];
|
||||
$clients_onboarding_progress = Models\ClientOnboardingProgress::updateOrCreate($stage_id, $progress_arr);
|
||||
}
|
||||
$count_cl++;
|
||||
}
|
||||
}
|
||||
dump($count_cl);
|
||||
}
|
||||
}
|
||||
// https://www.tokyvideo.com/video/sheena-the-queen-of-the-jungle-1984-movie-with-tanya-roberts-ted-wass-donovan-scott
|
||||
// https://www.tokyvideo.com/video/sheena-the-queen-of-the-jungle-1984-movie-with-tanya-roberts-ted-wass-donovan-scott
|
||||
|
||||
Reference in New Issue
Block a user