14 lines
1004 B
PHP
14 lines
1004 B
PHP
@php
|
|
$rows = $rows ?? [];
|
|
$localGroupLabel = $localGroupLabel ?? 'Stamm';
|
|
$participantGroupLabel = $participantGroupLabel ?? $localGroupLabel;
|
|
@endphp
|
|
|
|
"Name", "Vorname", "Geburtsdatum", "Postleitzahl (Privat)", "Wohnort (Privat)", "Bundesland (Privat)", "Alter", "Postleitzahl ({{ $localGroupLabel }})", "Wohnort ({{ $localGroupLabel }})", "Bundesland ({{ $localGroupLabel }})","{{ $participantGroupLabel }}", "Teilnahmegruppe", "Anreise", "Abreise", "Beitrag gezahlt", "Beitrag"
|
|
@foreach($rows as $index => $row)
|
|
"{{ $row['lastname']}}","{{ $row['firstname'] }}","{{ $row['birthday'] }}","{{ $row['postcode'] }}","{{ $row['city'] }}","{{ $row['state'] }}","{{ $row['age'] }}","{{ $row['localGroupPostcode'] }}","{{ $row['localGroupCity'] }}","{{ $row['localGroupState'] }}","{{ $row['participantGroup'] }}","{{ $row['participationType'] }}","{{ $row['arrival'] }}","{{ $row['departure'] }}","{{ $row['amountPaid']['readable'] }}","{{ $row['amountExpected']['readable'] }}"
|
|
@endforeach
|
|
|
|
|
|
|