mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/portal.git
synced 2026-08-23 22:44:19 +00:00
fix sales report decimals
This commit is contained in:
@@ -19,7 +19,7 @@ use Illuminate\Http\Request;
|
||||
class MonthlyReportController
|
||||
{
|
||||
public function salesReport(Request $request): JsonResponse {
|
||||
$today = Carbon::now()->subMonth();
|
||||
$today = Carbon::now();
|
||||
$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