mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-01-08 23:24:07 -06:00
23 lines
477 B
PHP
23 lines
477 B
PHP
<?php
|
|
use Carbon\Carbon;
|
|
use League\FactoryMuffin\Facade;
|
|
|
|
Facade::define(
|
|
'PiggybankRepetition',
|
|
[
|
|
|
|
|
|
'piggybank_id' => 'factory|Piggybank',
|
|
'startdate' => function () {
|
|
$start = new Carbon;
|
|
$start->startOfMonth();
|
|
return $start;
|
|
},
|
|
'targetdate' => function () {
|
|
$end = new Carbon;
|
|
$end->endOfMonth();
|
|
return $end;
|
|
},
|
|
'currentamount' => 200
|
|
]
|
|
); |