Create round-up transaction for same time as original transaction
Instead of creating it for 00:00 on the same day
This commit is contained in:
@@ -149,7 +149,7 @@ function createAutoSaveTransaction(array $group, array $arguments): void
|
|||||||
'source_id' => $arguments['account'],
|
'source_id' => $arguments['account'],
|
||||||
'destination_id' => $arguments['destination'],
|
'destination_id' => $arguments['destination'],
|
||||||
'description' => '(Round-up transaction)',
|
'description' => '(Round-up transaction)',
|
||||||
'date' => substr($first['date'], 0, 10),
|
'date' => $first['date'],
|
||||||
'tags' => ['Round-up'],
|
'tags' => ['Round-up'],
|
||||||
'currency_code' => $first['currency_code'],
|
'currency_code' => $first['currency_code'],
|
||||||
'amount' => $amountToCreate,
|
'amount' => $amountToCreate,
|
||||||
|
|||||||
Reference in New Issue
Block a user