mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/portal.git
synced 2026-08-22 22:14:26 +00:00
show september sales report
This commit is contained in:
@@ -19,7 +19,7 @@ use Illuminate\Http\Request;
|
||||
class MonthlyReportController
|
||||
{
|
||||
public function salesReport(Request $request): JsonResponse {
|
||||
$today = Carbon::now();
|
||||
$today = Carbon::now()->subMonth(1);
|
||||
$containers = Container::whereMonth('loading_date', $today->format('m'))->whereYear('loading_date', $today->format('Y'))->orderBy('loading_date')->get();
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user