More code for #2543

This commit is contained in:
James Cole
2019-09-06 06:30:01 +02:00
parent 07dd44af2d
commit 77084ba72d
2 changed files with 6 additions and 2 deletions

View File

@@ -211,7 +211,7 @@ class BillTransformer extends AbstractTransformer
$currentStart = clone $nextExpectedMatch;
}
$simple = $set->map(
function (Carbon $date) {
static function (Carbon $date) {
return $date->format('Y-m-d');
}
);

View File

@@ -78,7 +78,11 @@
{{ trans('components.not_or_not_yet') }}
</td>
<td class="expected_in_period hidden-sm hidden-xs" data-value="{{ entry.next_expected_match }}">
{{ formatDate(entry.next_expected_match, monthAndDayFormat) }}
{% for date in entry.pay_dates %}
{#{{ formatDate(entry.next_expected_match, monthAndDayFormat) }}<br>#}
{{ formatDate(date, monthAndDayFormat) }}<br>
{% endfor %}
</td>
{% endif %}