mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-02-25 18:45:27 -06:00
Fix #3736
This commit is contained in:
parent
4e05ce4c35
commit
2f2a02834b
@ -39,11 +39,8 @@ use Illuminate\View\View;
|
||||
*/
|
||||
class CreateController extends Controller
|
||||
{
|
||||
/** @var BudgetRepositoryInterface The budget repository */
|
||||
private $repository;
|
||||
|
||||
/** @var AttachmentHelperInterface Helper for attachments. */
|
||||
private $attachments;
|
||||
private BudgetRepositoryInterface $repository;
|
||||
private AttachmentHelperInterface $attachments;
|
||||
|
||||
/**
|
||||
* CreateController constructor.
|
||||
|
@ -317,8 +317,8 @@ class BudgetRepository implements BudgetRepositoryInterface
|
||||
[
|
||||
'budget_id' => $newBudget->id,
|
||||
'transaction_currency_id' => $autoBudget->transaction_currency_id,
|
||||
'start_date' => $start->format('Y-m-d'),
|
||||
'end_date' => $end->format('Y-m-d'),
|
||||
'start_date' => $start,
|
||||
'end_date' => $end,
|
||||
'amount' => $autoBudget->amount,
|
||||
]
|
||||
);
|
||||
|
Loading…
Reference in New Issue
Block a user