Some ui fixes.
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
@extends('layout.master')
|
||||
|
||||
@section('subnav')
|
||||
<a href='{{ url()->previous() }}'>Zurück</a>
|
||||
<a href='{{ url()->previous() }}' class='btn btn-outline-secondary'>Zurück</a>
|
||||
@endsection
|
||||
|
||||
@section('content')
|
||||
@@ -10,24 +10,78 @@
|
||||
{{ method_field('patch') }}
|
||||
{{ csrf_field() }}
|
||||
<h2>Allgemeine Buchungsinformationen</h2>
|
||||
<table>
|
||||
<tr>
|
||||
<td>{{ Form::label('booking[date]', 'Datum') }}</td>
|
||||
<td>{{ Form::date('booking[date]', $booking->date) }}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>{{ Form::label('booking[reference]', 'Buchungstext') }}</td>
|
||||
<td>{{ Form::text('booking[reference]', $booking->reference) }}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>{{ Form::label('booking[person_or_company]', 'Person / Firma') }}</td>
|
||||
<td>{{ Form::text('booking[person_or_company]', $booking->person_or_company) }}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>{{ Form::label('booking[note]', 'Anmerkung') }}</td>
|
||||
<td>{{ Form::textarea('booking[note]', $booking->note) }}</td>
|
||||
</tr>
|
||||
</table>
|
||||
<div class="form-group row">
|
||||
{{
|
||||
Form::label(
|
||||
'booking[date]',
|
||||
'Datum',
|
||||
['class' => 'col-sm-2 col-form-label']
|
||||
)
|
||||
}}
|
||||
<div class='col-sm-10'>
|
||||
{{
|
||||
Form::date(
|
||||
'booking[date]',
|
||||
$booking->date,
|
||||
['class' => 'form-control']
|
||||
)
|
||||
}}
|
||||
</div>
|
||||
</div>
|
||||
<div class='form-group row'>
|
||||
{{
|
||||
Form::label(
|
||||
'booking[reference]',
|
||||
'Buchungstext',
|
||||
['class' => 'col-sm-2 col-form-label']
|
||||
)
|
||||
}}
|
||||
<div class='col-sm-10'>
|
||||
{{
|
||||
Form::text(
|
||||
'booking[reference]',
|
||||
$booking->reference,
|
||||
['class' => 'form-control']
|
||||
)
|
||||
}}
|
||||
</div>
|
||||
</div>
|
||||
<div class='form-group row'>
|
||||
{{
|
||||
Form::label(
|
||||
'booking[person_or_company]',
|
||||
'Person / Firma',
|
||||
['class' => 'col-sm-2 col-form-label']
|
||||
)
|
||||
}}
|
||||
<div class='col-sm-10'>
|
||||
{{
|
||||
Form::text(
|
||||
'booking[person_or_company]',
|
||||
$booking->person_or_company,
|
||||
['class' => 'form-control']
|
||||
)
|
||||
}}
|
||||
</div>
|
||||
</div>
|
||||
<div class='form-group row'>
|
||||
{{
|
||||
Form::label(
|
||||
'booking[note]',
|
||||
'Anmerkung',
|
||||
['class' => 'col-sm-2 col-form-label']
|
||||
)
|
||||
}}
|
||||
<div class='form-group row'>
|
||||
{{
|
||||
Form::textarea(
|
||||
'booking[note]',
|
||||
$booking->note,
|
||||
['class' => 'form-control']
|
||||
)
|
||||
}}
|
||||
</div>
|
||||
</div>
|
||||
<h2>Teilbuchungen</h2>
|
||||
<table>
|
||||
<tr>
|
||||
@@ -129,6 +183,6 @@
|
||||
@endforeach
|
||||
</ul>
|
||||
|
||||
<button type="submit" id="submit">Speichern</button>
|
||||
<button type="submit" id="submit" class='btn btn-primary'>Speichern</button>
|
||||
</form>
|
||||
@endsection
|
||||
|
||||
Reference in New Issue
Block a user