本文整理匯總了PHP中app\Client::outreach方法的典型用法代碼示例。如果您正苦於以下問題:PHP Client::outreach方法的具體用法?PHP Client::outreach怎麽用?PHP Client::outreach使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在類app\Client
的用法示例。
在下文中一共展示了Client::outreach方法的1個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。
示例1: printQuarter
public function printQuarter($date)
{
$time = carbon::parse($date);
$curMonth = $time->month;
$cur = ceil($curMonth / 3);
$clients = Client::orderBy('lname', 'asc')->get();
$hannah_clients = Client::hannah()->orderBy('lname', 'asc')->get();
$sylvia_clients = Client::sylvia()->orderBy('lname', 'asc')->get();
$naomi_clients = Client::naomim()->orderBy('lname', 'asc')->get();
$wnaomi_clients = Client::naomiw()->orderBy('lname', 'asc')->get();
$outreach_clients = Client::outreach()->orderBy('lname', 'asc')->get();
$stdate = '2015-07-01';
$edate = '2015-10-01';
$mealsTotal = $this->mealsTotal($stdate, $edate);
return view('report.quarter_view', compact('clients', 'mealsTotal', 'hannah_clients', 'sylvia_clients', 'naomi_clients', 'wnaomi_clients', 'outreach_clients', 'cur'));
}