Added option to create a new person target together with a new booking

This commit is contained in:
Lukas Halbritter
2018-10-10 17:31:09 +02:00
parent b4480486e9
commit b147c4f9f9
3 changed files with 75 additions and 3 deletions
@@ -35,6 +35,24 @@
<td>{{ Form::select('person_target_id', $openTargetsArray, 'placeholder',
['placeholder' => 'Hier auswählen ...']) }}</td>
</tr>
<tr>
<td><b>oder:</b></td>
<td></td>
</tr>
<tr>
<td>{{ Form::label('personTarget[person_id]', 'neue Soll-Buchung') }}</td>
<td>
{{
Form::select(
'personTarget[person_id]',
$personsArray,
'placeholder',
['placeholder' => 'Hier auswählen ...']
)
}}
{{ Form::date('personTarget[date]') }}
</td>
</tr>
<tr>
<td>{{ Form::label('project_id', 'Projekt') }}</td>
<td>{{ Form::select('project_id', $projectsArray, 'placeholder',