Backend für Anträge; unnötiges location.reload() entfernt
This commit is contained in:
@@ -23,7 +23,7 @@
|
||||
<h1>{{ __("app.preapplication.edit.title") }}</h1>
|
||||
<p>{{ __("app.preapplication.edit.description") }}</p>
|
||||
|
||||
{{ __('app.preapplication.passport_type') }}<br />
|
||||
<b>{{ __('app.preapplication.passport_type') }}:</b><br />
|
||||
d = {{ __('app.preapplication.passport.standard') }}<br />
|
||||
k = {{ __('app.preapplication.passport.kid') }}
|
||||
<br /><br />
|
||||
@@ -41,16 +41,21 @@
|
||||
<th>{{ __('app.preapplication.actions') }}</th>
|
||||
</tr>
|
||||
@foreach($applications as $appl)
|
||||
<tr>
|
||||
<tr id="application_{{ $appl->id }}">
|
||||
<td>{{ $appl->event()->first()->name }}</td>
|
||||
<td>{{ $appl->reference_number }}</td>
|
||||
<td><input id="first_name_{{ $appl->id }}" type="text" value="{{ $appl->first_name }}"></td>
|
||||
<td><input id="last_name_{{ $appl->id }}" type="text" value="{{ $appl->last_name }}"></td>
|
||||
<td><input id="location_{{ $appl->id }}" type="text" value="{{ $appl->location }}"></td>
|
||||
<td><input id="email_{{ $appl->id }}" type="text" value="{{ $appl->email }}"></td>
|
||||
<td>{{ $appl->passport_type }}</td>
|
||||
<td><input id="first_name_{{ $appl->id }}" class="first-name-input" type="text" value="{{ $appl->first_name }}"></td>
|
||||
<td><input id="last_name_{{ $appl->id }}" class="last-name-input" type="text" value="{{ $appl->last_name }}"></td>
|
||||
<td><input id="location_{{ $appl->id }}" class="location-input" type="text" value="{{ $appl->location }}"></td>
|
||||
<td><input id="mail_{{ $appl->id }}" type="text" value="{{ $appl->email }}"></td>
|
||||
<td>
|
||||
<select id="passport_type_{{ $appl->id }}" class="passport-type-select">
|
||||
<option value="d"{{ ( $appl->passport_type == "d" ? " selected" : "" ) }}>d</option>
|
||||
<option value="k"{{ ( $appl->passport_type == "k" ? " selected" : "" ) }}>k</option>
|
||||
</select>
|
||||
</td>
|
||||
<td>{{ $appl->created_at }}</td>
|
||||
<td><button onclick="editApplication({{ $appl->id }})">{{ __('app.preapplication.edit.save') }}</button><button onclick="deleteApplication({{ $appl->id }})">{{ __('app.preapplication.edit.delete') }}</button></td>
|
||||
<td><button onclick="editApplication({{ $appl->id }})">{{ __('app.preapplication.edit.save') }}</button><button id="applicationDelete_{{ $appl->id }}" onclick="deleteApplication({{ $appl->id }})">{{ __('app.preapplication.edit.delete') }}</button></td>
|
||||
</tr>
|
||||
@endforeach
|
||||
<tr>
|
||||
@@ -62,11 +67,11 @@
|
||||
</select>
|
||||
</td>
|
||||
<td>{{ __('app.preapplication.edit.generated') }}</td>
|
||||
<td><input id="first_name_new" type="text"></td>
|
||||
<td><input id="last_name_new" type="text"></td>
|
||||
<td><input id="location_new" type="text"></td>
|
||||
<td><input id="email_new" type="text"></td>
|
||||
<td><select id="passport_type_new">
|
||||
<td><input id="first_name_new" class="first-name-input" type="text"></td>
|
||||
<td><input id="last_name_new" class="last-name-input" type="text"></td>
|
||||
<td><input id="location_new" class="location-input" type="text"></td>
|
||||
<td><input id="mail_new" type="text"></td>
|
||||
<td><select id="passport_type_new" class="passport-type-select">
|
||||
<option value="d">d</option>
|
||||
<option value="k">k</option>
|
||||
</select>
|
||||
|
||||
Reference in New Issue
Block a user