add User, Mail verify, rights, Change Mail, fewo invoice PDF

This commit is contained in:
Kevin Adametz 2019-04-16 19:47:33 +02:00
parent 26ecb09cdc
commit 7abfe3f700
44 changed files with 3041 additions and 1125 deletions

View file

@ -4,10 +4,15 @@
<div class="form-row">
<div class="form-group col-md-6">
<label class="form-label">{{ __('Kunde') }}*</label>
<label class="form-label">{{ __('Kunde') }}*
@if($travel_user_booking_fewo->travel_user_id)
{!! '<a href="'.route('travel_user_detail', [$travel_user_booking_fewo->travel_user_id]) .'">'.$travel_user_booking_fewo->travel_user->first_name.' '.$travel_user_booking_fewo->travel_user->last_name.'</a>' !!}
@endif</label>
<select class="selectpicker" data-style="btn-light" name="travel_user_id" data-live-search="true" required>
{!! HTMLHelper::getTravelUserOptions($travel_user_booking_fewo->travel_user_id) !!}
</select>
</div>
<div class="form-group col-md-6">
<label class="form-label">{{ __('FeWo') }}*</label>
@ -151,13 +156,23 @@
<div class="form-row">
<div class="form-group col-sm-12">
<label class="form-label" for="notice">{{ __('Bemerkung Kunde') }}*</label>
<label class="form-label" for="notice">{{ __('Bemerkung Kunde') }}</label>
{{ Form::textarea('notice', $travel_user_booking_fewo->notice, ['class' => 'form-control', 'rows'=>4]) }}
</div>
</div>
</div>
</div>
<div class="card mb-2">
<div class="card-body">
<div class="text-right">
<button type="submit" name="action" value="createInvoice" class="btn btn-primary">{{ __('Mietbestätigung / Rechnung erstellen') }}</button>&nbsp;
</div>
</div>
</div>
<script>
function floatNumber(n) {
'use strict';