Code style

This commit is contained in:
Bernd Bestel 2024-10-25 23:08:54 +02:00
parent be513122fa
commit 9b2f15373e
No known key found for this signature in database
GPG Key ID: 71BD34C0D4891300

View File

@ -10,6 +10,7 @@ class StockReportsController extends BaseController
public function Spendings(Request $request, Response $response, array $args)
{
$where = "pph.transaction_type != 'self-production'";
if (isset($request->getQueryParams()['start_date']) && isset($request->getQueryParams()['end_date']) && IsIsoDate($request->getQueryParams()['start_date']) && IsIsoDate($request->getQueryParams()['end_date']))
{
$startDate = $request->getQueryParams()['start_date'];