@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']
])