Various updated code for recurring transactions.

This commit is contained in:
James Cole
2018-06-15 22:06:33 +02:00
parent 955cde3ed9
commit 181c23b07c
12 changed files with 234 additions and 186 deletions

View File

@@ -141,7 +141,7 @@ class RecurrenceTransformer extends TransformerAbstract
];
// get the (future) occurrences for this specific type of repetition:
$occurrences = $this->repository->getOccurrences($repetition, $fromDate, 5);
$occurrences = $this->repository->getXOccurrences($repetition, $fromDate, 5);
/** @var Carbon $carbon */
foreach ($occurrences as $carbon) {
$repetitionArray['occurrences'][] = $carbon->format('Y-m-d');