Referral KPIs

@include('components.kpi_box_double', [ 'size' => 'col-sm-12 col-md-3 col-xl-3', 'colors' => ["#10387D", "#355e96", "#1F4680", "#264d7a", "#173360", "#9DDFE2"], 'title' => 'REFERRAL SUMMARY (ALL)', 'tooltip' => 'The total number of schemes and referrals all times, including active and inactive schemes.', 'values' => [number_format($scheme_breakdown['scheme_count'], 0), number_format($scheme_breakdown['total_referrals'], 0), 'Schemes','Referrals'] ]) @include('components.kpi_box_double', [ 'size' => 'col-sm-12 col-md-3 col-xl-3', 'colors' => ["#10387D", "#355e96", "#1F4680", "#264d7a", "#173360", "#9DDFE2"], 'title' => 'REFERRAL STATUS (ALL)', 'tooltip' => 'The total number of uptakes (i.e. referral status is participating, started but left early or completed) and the total number of referrals completed to date (all times).', 'values' => [number_format($scheme_breakdown['total_uptake'], 0), number_format($scheme_breakdown['total_completed'], 0), 'Uptake','Completed'] ]) @include('components.kpi_box_double', [ 'size' => 'col-sm-12 col-md-3 col-xl-3', 'colors' => ["#10387D", "#355e96", "#1F4680", "#264d7a", "#173360", "#9DDFE2"], 'title' => 'REFERRAL RATIOS (ALL)', 'tooltip' => 'The rate of completed referrals as a % of total referrals and total uptakes (i.e. referral status is participating, started but left early or completed).', 'values' => [number_format($scheme_breakdown['total_completion_update_ratio_avg']*100, 2).'%', number_format($scheme_breakdown['total_completion_referrals_ratio_avg']*100, 2).'%', 'Comp. Uptake Ratio','Comp. Referral Ratio'] ]) @include('components.kpi_box_double', [ 'size' => 'col-sm-12 col-md-3 col-xl-3', 'colors' => ["#10387D", "#355e96", "#1F4680", "#264d7a", "#173360", "#9DDFE2"], 'title' => 'MONTH-TO-DATE REFERRALS', 'tooltip' => 'The total number of new referrals made in the month and new starters (i.e. referral status is participating).', 'values' => [number_format($scheme_breakdown['total_new_referrals'], 0), number_format($scheme_breakdown['total_new_starters'], 0), 'New Referrals','New Starters'] ])

@include('components.info-button', ['element' => 'widget', 'direction' => 'left', 'text' => 'This graph displays the latest status of all referrals from the selected month to date.']) Referral Status

@include('smartadmin::components.panel_toolbar')

@include('components.info-button', ['element' => 'widget', 'direction' => 'left', 'text' => 'This graph shows the latest status of registrations to the appointments taking place in specific leisure centres as a result of referrals across all schemes.']) Registration Status

@include('smartadmin::components.panel_toolbar')

@include('components.info-button', ['element' => 'widget', 'direction' => 'left', 'text' => 'This table shows the results for the main referral dashboard KPIs for each scheme across the operator.']) SCHEMES TABLE

@include('components.panel_toolbar')
@foreach($scheme_breakdown['scheme_table_data'] as $scheme_name => $row) @endforeach
Scheme Name Total Referrals (All Times) Uptake (All Times) Completed (All Times) Completion-Uptake Ratio (All Times) Completion-Referral Ratio (All Times) New Referrals (MTD) New Starters (MTD)
{{ $scheme_name }} {{number_format($row['Total Referrals'], 0)}} {{number_format($row['Uptake'], 0)}} {{number_format($row['Completed'], 0)}} {{number_format($row['completion_update_ratio']*100, 2)}}% {{number_format($row['completion_referrals_ratio']*100, 2)}}% {{number_format($row['Referred'], 0)}} {{number_format($row['Participating'], 0)}}
TOTAL {{number_format($scheme_breakdown['total_referrals'], 0)}} {{number_format($scheme_breakdown['total_uptake'], 0)}} {{number_format($scheme_breakdown['total_completed'], 0)}} {{number_format($scheme_breakdown['total_completion_update_ratio_avg']*100, 2)}}% {{number_format($scheme_breakdown['total_completion_referrals_ratio_avg']*100, 2)}}% {{number_format($scheme_breakdown['total_new_referrals'], 0)}} {{number_format($scheme_breakdown['total_new_starters'], 0)}}

@include('components.info-button', ['element' => 'widget', 'direction' => 'left', 'text' => 'This graph displays the number of unique people that that remained active in each of the last 12 months after completing the referral scheme in '.$user_stay_graph['placeholder_date']]) Activities of Referral Members After the Scheme Completion

@include('smartadmin::components.panel_toolbar')
@include('layouts.charts.column', [ 'id' => 'graph_1', 'title' => 'REFERRAL STATUS SUMMARY', 'subtitle' => $scheme_breakdown['graph_subtitle'].' to Date ('. $all_referrals['referral_graph_total'] .' Referrals)', 'categories' => $all_referrals['referral_graph_categories'], 'colors' => ["#042155"], 'x_title' => '', 'xAxis' => true, 'pointFormat' => '{point.y:,.0f}', 'y_title' => '', 'grouping' => true, 'round' => true, 'data' => $all_referrals['referral_graph'], ]) @include('layouts.charts.column', [ 'id' => 'graph_2', 'title' => 'REGISTRATION STATUS SUMMARY', 'subtitle' => $status_breakdown['month_to_date_text'] .' ('. $status_breakdown['registration_unique_counts']['unique_ref_count'] .' Referrals, '. $status_breakdown['registration_unique_counts']['unique_session_count'] .' Sessions)' , 'categories' => $status_breakdown['registration_categories'], 'colors' => ["#042155"], 'x_title' => '', 'xAxis' => true, 'pointFormat' => '{point.y:,.0f}', 'y_title' => '', 'grouping' => true, 'round' => true, 'data' => $status_breakdown['registration_graph'], ]) @include('layouts.charts.column', [ 'id' => 'graph_3', 'title' => 'ACTIVITIES OF REFERRAL MEMBERS AFTER THE SCHEME COMPLETION', 'subtitle' => $user_stay_graph['booking_graph_subtitle'], 'categories' => $user_stay_graph['booking_graph_categories'], 'colors' => ["#042155"], 'x_title' => '', 'xAxis' => true, 'pointFormat' => '{point.y:,.0f}', 'y_title' => '', 'grouping' => true, 'round' => true, 'data' => $user_stay_graph['booking_graph_data'], ])