new gui layout for pricing
This commit is contained in:
@@ -23,6 +23,7 @@ class PlatformDashboardController extends Controller
|
||||
'paymentsTotal' => Payment::where('status', 'paid')->sum('amount'),
|
||||
'warehousesCount' => Warehouse::count(),
|
||||
'pricesCount' => PlatformPrice::count(),
|
||||
'prices' => PlatformPrice::query()->ordered()->limit(3)->get(),
|
||||
'companies' => Company::withCount(['users', 'warehouses', 'licenseKeys'])->latest()->limit(8)->get(),
|
||||
]);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user