mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/exchange-2.0.git
synced 2026-08-24 06:54:02 +00:00
Merge branch 'dillon/34.6-jenkins-vapor' into vapor/development
This commit is contained in:
@@ -53,7 +53,11 @@ class ExportsAnalyticBillingTransactions implements FromCollection, WithHeadings
|
||||
*/
|
||||
public function collection()
|
||||
{
|
||||
return Transaction::where('type', 3)->where('created_at', '>=', Carbon::now()->subYear())->get();
|
||||
return Transaction::where('type', 3)
|
||||
->where('created_at', '>=', Carbon::now()->subYear())
|
||||
->orderBy('created_at', 'desc')
|
||||
->take(10)
|
||||
->get();
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user