Fix date issue.

This commit is contained in:
James Cole
2021-12-28 20:42:50 +01:00
parent 3444146da3
commit 246fa0d6e4
18 changed files with 30 additions and 30 deletions

View File

@@ -44,8 +44,8 @@ class StoreRequest extends FormRequest
public function getAll(): array
{
return [
'start' => $this->date('start'),
'end' => $this->date('end'),
'start' => $this->getCarbonDate('start'),
'end' => $this->getCarbonDate('end'),
'amount' => $this->string('amount'),
'currency_id' => $this->integer('currency_id'),
'currency_code' => $this->string('currency_code'),