Merge branch 'dillon/34.6-jenkins-vapor' into vapor/development

This commit is contained in:
Dillon Ngo
2024-08-28 21:03:20 +08:00
@@ -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();
}
/**