add User, Mail verify, rights, Change Mail, fewo invoice PDF
This commit is contained in:
parent
26ecb09cdc
commit
7abfe3f700
44 changed files with 3041 additions and 1125 deletions
File diff suppressed because one or more lines are too long
|
|
@ -1,4 +1,4 @@
|
|||
@extends('layouts.layout-2-2')
|
||||
@extends('layouts.layout-2')
|
||||
|
||||
@section('content')
|
||||
<div class="card mb-4">
|
||||
|
|
@ -13,7 +13,7 @@
|
|||
</div>
|
||||
</div>
|
||||
|
||||
{!! Form::open(['url' => route('admin_lead_change_mail', [$user->id]) ]) !!}
|
||||
{!! Form::open(['url' => route('admin_user_change_mail', [$user->id]) ]) !!}
|
||||
|
||||
<div class="form-group row">
|
||||
<label class="col-form-label col-sm-2 text-sm-right">{{__('New E-Mail Address')}}*</label>
|
||||
|
|
@ -42,7 +42,7 @@
|
|||
<div class="form-group row">
|
||||
<div class="col-sm-10 ml-sm-auto">
|
||||
<button type="submit" class="btn btn-primary">{{__('save')}}</button>
|
||||
<a href="{{ route('admin_lead_edit', [$user->id]) }}" class="btn btn-default">{{ __('back') }}</a>
|
||||
<a href="{{ route('admin_user_edit', [$user->id]) }}" class="btn btn-default">{{ __('back') }}</a>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
@extends('layouts.layout-2-2')
|
||||
@extends('layouts.layout-2')
|
||||
|
||||
@section('content')
|
||||
<div class="row">
|
||||
|
|
|
|||
|
|
@ -17,19 +17,15 @@
|
|||
@endif
|
||||
|
||||
<h4 class="font-weight-bold py-3 mb-4">
|
||||
{{ __('Create/Edit Contact') }}
|
||||
User bearbeiten/anlegen
|
||||
</h4>
|
||||
|
||||
{!! Form::open(['url' => route('admin_user_store'), 'class' => 'form-horizontal', 'id'=>'lead-form-validation']) !!}
|
||||
<input type="hidden" name="user_id" id="user_id" value="@if($user->id>0){{$user->id}}@else new @endif">
|
||||
|
||||
{{-- @include('user.form') --}}
|
||||
|
||||
|
||||
{!! Form::open(['url' => route('admin_user_store'), 'class' => 'form-horizontal']) !!}
|
||||
<input type="hidden" name="user_id" id="user_id" value="@if($user->id>0){{$user->id}}@else new @endif">
|
||||
|
||||
@include('admin.user_form')
|
||||
<div class="text-left mt-3">
|
||||
<button type="submit" class="btn btn-submit">{{ __('save') }}</button>
|
||||
|
||||
<a href="{{ route('admin_users') }}" class="btn btn-default">{{ __('abort') }}</a>
|
||||
</div>
|
||||
|
||||
|
|
|
|||
47
resources/views/admin/user_form.blade.php
Normal file
47
resources/views/admin/user_form.blade.php
Normal file
|
|
@ -0,0 +1,47 @@
|
|||
<div class="card mb-4">
|
||||
<h5 class="card-header">
|
||||
{{ __('Daten') }}
|
||||
</h5>
|
||||
<div class="card-body">
|
||||
|
||||
<div class="form-group">
|
||||
<label class="form-label" for="position_text">{{ __('Name') }}</label>
|
||||
{{ Form::text('name', $user->name, array('placeholder'=>__('Name'), 'class'=>'form-control', 'id'=>'name', 'required')) }}
|
||||
</div>
|
||||
|
||||
|
||||
<hr>
|
||||
@if($user->email)
|
||||
<div class="form-row">
|
||||
<div class="form-group col-md-6">
|
||||
<label class="form-label" for="email">{{ __('E-Mail Address') }}*</label>
|
||||
{{ Form::text('email', $user->email, array('placeholder'=>'E-Mail', 'class'=>'form-control', 'id'=>'email', 'readonly'=>true)) }}
|
||||
</div>
|
||||
<div class="form-group col-md-6">
|
||||
<label class="form-label" for="email-confirm">{{ __('Confirm E-Mail') }}</label>
|
||||
{{ Form::text('email-confirm', $user->email, array('placeholder'=>__('Confirm E-Mail'), 'class'=>'form-control', 'id'=>'email-confirm', 'readonly'=>true)) }}
|
||||
</div>
|
||||
</div>
|
||||
@if(isset($isFromAdmin))
|
||||
@if(count($user->user_update_email) > 0)
|
||||
<p class="badge badge-primary" style=" color:#fff;">{{ $user->user_update_email->first()->email }} {{__('waiting for activation since')}} | {{ $user->user_update_email->first()->created_at->format('d.m.Y H:i') }}</p><br>
|
||||
@endif
|
||||
<a href="{{ route('admin_user_change_mail', [$user->id]) }}" class="btn btn-default btn-sm"> {{ __('Contact') }} {{__('Change E-Mail')}}</a>
|
||||
@else
|
||||
<a href="{{ route('user_update_email', [$user->id]) }}" class="btn btn-default btn-sm">{{__('Change E-Mail')}}</a>
|
||||
@endif
|
||||
@else
|
||||
<div class="form-row">
|
||||
<div class="form-group col-md-6">
|
||||
<label class="form-label" for="email">{{ __('E-Mail Address') }}*</label>
|
||||
{{ Form::text('email', $user->email, array('placeholder'=>'E-Mail', 'class'=>'form-control', 'id'=>'email')) }}
|
||||
</div>
|
||||
<div class="form-group col-md-6">
|
||||
<label class="form-label" for="email-confirm">{{ __('Confirm E-Mail') }}</label>
|
||||
{{ Form::text('email-confirm', $user->email, array('placeholder'=>__('Confirm E-Mail'), 'class'=>'form-control', 'id'=>'email-confirm')) }}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@endif
|
||||
</div>
|
||||
</div>
|
||||
|
|
@ -9,9 +9,11 @@
|
|||
|
||||
|
||||
<div class="card">
|
||||
<div class="card-datatable table-responsive">
|
||||
<div class="card-datatable table-responsive py-2">
|
||||
<div class="mr-4 mb-2 text-right">
|
||||
<a href="{{ route('admin_user_edit', ['new']) }}" class="btn btn-sm btn-primary">Neuen User anlegen</a>
|
||||
</div>
|
||||
<table class="datatables-users table table-striped table-bordered">
|
||||
|
||||
<thead>
|
||||
<tr>
|
||||
<th>{{__('edit')}}</th>
|
||||
|
|
@ -21,10 +23,12 @@
|
|||
<th>{{__('verified')}}</th>
|
||||
<th>{{__('active')}}</th>
|
||||
<th>{{__('delete')}}</th>
|
||||
|
||||
</tr>
|
||||
</thead>
|
||||
</table>
|
||||
<div class="mr-4 mt-2 text-right">
|
||||
<a href="{{ route('admin_user_edit', ['new']) }}" class="btn btn-sm btn-primary">Neuen User anlegen</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
|
|
|||
|
|
@ -18,173 +18,173 @@
|
|||
<style>
|
||||
|
||||
</style>
|
||||
{{--
|
||||
<div class="card-body" style="background: #fff; border: 1px solid rgba(24, 28, 33, 0.06);">
|
||||
<h4>{{ __('Your Data') }}</h4>
|
||||
<p>{{__('Here you can adjust your data.')}}</p>
|
||||
<div id="accordion">
|
||||
<div class="card mb-2">
|
||||
<a class="card-header">
|
||||
<div class="collapsed text-dark" data-toggle="collapse" href="#accordion-2" aria-expanded="false">
|
||||
{{ __('Your Data') }} <i class="ion ion-ios-arrow-down"></i>
|
||||
</div>
|
||||
</a>
|
||||
<div id="accordion-2" class="collapse" data-parent="#accordion" style="">
|
||||
<div class="card-body" style="background-color: #f5f5f5;">
|
||||
{{--
|
||||
@if($user->account->company == 1)
|
||||
<h5 class="mt-0 mb-3">{{ __('Company data') }}</h5>
|
||||
<div class="table-responsive">
|
||||
|
||||
<div class="card-body" style="background: #fff; border: 1px solid rgba(24, 28, 33, 0.06);">
|
||||
<h4>{{ __('Your Data') }}</h4>
|
||||
<p>{{__('Here you can adjust your data.')}}</p>
|
||||
<div id="accordion">
|
||||
<div class="card mb-2">
|
||||
<a class="card-header">
|
||||
<div class="collapsed text-dark" data-toggle="collapse" href="#accordion-2" aria-expanded="false">
|
||||
{{ __('Your Data') }} <i class="ion ion-ios-arrow-down"></i>
|
||||
</div>
|
||||
</a>
|
||||
<div id="accordion-2" class="collapse" data-parent="#accordion" style="">
|
||||
<div class="card-body" style="background-color: #f5f5f5;">
|
||||
{{--
|
||||
@if($user->account->company == 1)
|
||||
<h5 class="mt-0 mb-3">{{ __('Company data') }}</h5>
|
||||
<table class="table user-view-table m-0">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>{{ __('Company name') }}:</td>
|
||||
<td>{{ $user->account->company_name }}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>{{ __('Street') }} / {{ __('House number') }}:</td>
|
||||
<td>{{ $user->account->company_street }}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>{{ __('Postcode') }}:</td>
|
||||
<td>{{ $user->account->company_postal_code }}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>{{ __('City') }}:</td>
|
||||
<td>{{ $user->account->company_city }}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>{{ __('Country') }}:</td>
|
||||
<td>@if($user->account->company_country_id) {{ $user->account->company_country->getLocated() }} @endif</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>{{ __('Phone') }}:</td>
|
||||
<td>@if($user->account->company_pre_phone_id) {{ $user->account->company_pre_phone->code }}@endif {{ $user->account->company_phone }}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>{{ __('Homepage') }}:</td>
|
||||
<td>{{ $user->account->company_homepage }}</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<hr class="border-primary mt-2">
|
||||
<h5 class="mt-4 mb-3">{{ __('Industry') }}</h5>
|
||||
<div class="table-responsive">
|
||||
|
||||
<table class="table user-view-table m-0">
|
||||
<tbody>
|
||||
@foreach($user->account->getUserIndustrySectorsParents() as $user_industry_sector_parents)
|
||||
<tr>
|
||||
<td>{{ $user_industry_sector_parents->industry_sector->getLang('name') }}:</td>
|
||||
<td>
|
||||
@foreach($user->account->getUserIndustrySectorsChilds($user_industry_sector_parents->industry_sector->id) as $user_industry_sector_childs)
|
||||
{{ $user_industry_sector_childs->industry_sector->getLang('name') }},
|
||||
@endforeach
|
||||
</td>
|
||||
</tr>
|
||||
@endforeach
|
||||
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<hr class="border-primary mt-2">
|
||||
|
||||
@endif
|
||||
|
||||
<h5 class="mt-4 mb-3">{{ __('Your Data') }}</h5>
|
||||
<div class="table-responsive">
|
||||
|
||||
<table class="table user-view-table m-0">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>{{ __('Company name') }}:</td>
|
||||
<td>{{ $user->account->company_name }}</td>
|
||||
<td>{{ __('Function') }}:</td>
|
||||
<td>{{ $user->account->position_text }}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>{{ __('Salutation') }}:</td>
|
||||
<td>{!! HTMLHelper::getSalutationLang($user->account->salutation) !!}</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>{{ __('Title') }}:</td>
|
||||
<td>{{ $user->account->title }}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>{{ __('First name') }}:</td>
|
||||
<td>{{ $user->account->first_name }}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>{{ __('Last Name') }}:</td>
|
||||
<td>{{ $user->account->last_name }}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>{{ __('Street') }} / {{ __('House number') }}:</td>
|
||||
<td>{{ $user->account->company_street }}</td>
|
||||
<td>{{ $user->account->street }}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>{{ __('Postcode') }}:</td>
|
||||
<td>{{ $user->account->company_postal_code }}</td>
|
||||
<td>{{ $user->account->postal_code }}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>{{ __('City') }}:</td>
|
||||
<td>{{ $user->account->company_city }}</td>
|
||||
<td>{{ $user->account->city }}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>{{ __('Country') }}:</td>
|
||||
<td>@if($user->account->company_country_id) {{ $user->account->company_country->getLocated() }} @endif</td>
|
||||
<td>@if($user->account->country_id){{ $user->account->country->getLocated() }}@endif</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>{{ __('Phone') }}:</td>
|
||||
<td>@if($user->account->company_pre_phone_id) {{ $user->account->company_pre_phone->code }}@endif {{ $user->account->company_phone }}</td>
|
||||
<td>@if($user->account->pre_phone_id) {{ $user->account->pre_phone->code }}@endif {{ $user->account->phone }}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>{{ __('Homepage') }}:</td>
|
||||
<td>{{ $user->account->company_homepage }}</td>
|
||||
<td>{{ __('Mobile Phone') }}:</td>
|
||||
<td>@if($user->account->pre_mobil_id) {{ $user->account->pre_mobil->code }}@endif {{ $user->account->mobil }}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>{{ __('E-Mail Address') }}:</td>
|
||||
<td>{{ $user->email }}</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<hr class="border-primary mt-2">
|
||||
<h5 class="mt-4 mb-3">{{ __('Industry') }}</h5>
|
||||
<h5 class="mt-4 mb-3">{{ __('Your interests') }}</h5>
|
||||
<div class="table-responsive">
|
||||
|
||||
<table class="table user-view-table m-0">
|
||||
<tbody>
|
||||
@foreach($user->account->getUserIndustrySectorsParents() as $user_industry_sector_parents)
|
||||
@foreach($user->account->user_interests as $user_interest)
|
||||
<tr>
|
||||
<td>{{ $user_industry_sector_parents->industry_sector->getLang('name') }}:</td>
|
||||
<td>{{ $user_interest->interest->getLang('name') }}:</td>
|
||||
<td>
|
||||
@foreach($user->account->getUserIndustrySectorsChilds($user_industry_sector_parents->industry_sector->id) as $user_industry_sector_childs)
|
||||
{{ $user_industry_sector_childs->industry_sector->getLang('name') }},
|
||||
@endforeach
|
||||
<span class="ion ion-md-checkmark-circle-outline text-primary"></span>
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
@endforeach
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<hr class="border-primary mt-2">
|
||||
<div class="table-responsive">
|
||||
|
||||
<table class="table user-view-table m-0">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>{{ $user->account->contactpartner }}</td>
|
||||
</tr>
|
||||
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<hr class="border-primary mt-2">
|
||||
|
||||
@endif
|
||||
|
||||
<h5 class="mt-4 mb-3">{{ __('Your Data') }}</h5>
|
||||
<div class="table-responsive">
|
||||
|
||||
<table class="table user-view-table m-0">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>{{ __('Function') }}:</td>
|
||||
<td>{{ $user->account->position_text }}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>{{ __('Salutation') }}:</td>
|
||||
<td>{!! HTMLHelper::getSalutationLang($user->account->salutation) !!}</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>{{ __('Title') }}:</td>
|
||||
<td>{{ $user->account->title }}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>{{ __('First name') }}:</td>
|
||||
<td>{{ $user->account->first_name }}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>{{ __('Last Name') }}:</td>
|
||||
<td>{{ $user->account->last_name }}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>{{ __('Street') }} / {{ __('House number') }}:</td>
|
||||
<td>{{ $user->account->street }}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>{{ __('Postcode') }}:</td>
|
||||
<td>{{ $user->account->postal_code }}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>{{ __('City') }}:</td>
|
||||
<td>{{ $user->account->city }}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>{{ __('Country') }}:</td>
|
||||
<td>@if($user->account->country_id){{ $user->account->country->getLocated() }}@endif</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>{{ __('Phone') }}:</td>
|
||||
<td>@if($user->account->pre_phone_id) {{ $user->account->pre_phone->code }}@endif {{ $user->account->phone }}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>{{ __('Mobile Phone') }}:</td>
|
||||
<td>@if($user->account->pre_mobil_id) {{ $user->account->pre_mobil->code }}@endif {{ $user->account->mobil }}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>{{ __('E-Mail Address') }}:</td>
|
||||
<td>{{ $user->email }}</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<hr class="border-primary mt-2">
|
||||
<h5 class="mt-4 mb-3">{{ __('Your interests') }}</h5>
|
||||
<div class="table-responsive">
|
||||
|
||||
<table class="table user-view-table m-0">
|
||||
<tbody>
|
||||
@foreach($user->account->user_interests as $user_interest)
|
||||
<tr>
|
||||
<td>{{ $user_interest->interest->getLang('name') }}:</td>
|
||||
<td>
|
||||
<span class="ion ion-md-checkmark-circle-outline text-primary"></span>
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
@endforeach
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<hr class="border-primary mt-2">
|
||||
<div class="table-responsive">
|
||||
|
||||
<table class="table user-view-table m-0">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>{{ $user->account->contactpartner }}</td>
|
||||
</tr>
|
||||
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
--}}
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
|
@ -201,6 +201,7 @@
|
|||
onclick="$('#user-edit-info-btn').click();">{{ __('Adjust data') }}</a>
|
||||
@endif
|
||||
</div>
|
||||
--}}
|
||||
|
||||
|
||||
|
||||
|
|
@ -266,7 +267,7 @@
|
|||
<p>{{__('Sign in with your e-mail:')}} {{ Auth::user()->email }}</p>
|
||||
@if(!$user->isPasswort())
|
||||
<p>{{__('Assign a password for your account.')}}</p>
|
||||
<a href="{{route('user_update_password_first')}}" class="btn btn-submit">{{__('Create Password')}}</a>
|
||||
<a href="{{route('user_update_password_first')}}" class="btn btn-secondary">{{__('Create Password')}}</a>
|
||||
@else
|
||||
<p>{{__('Change your password here to access your account.')}}</p>
|
||||
<a href="{{route('user_update_password')}}" class="btn btn-secondary">{{__('Change password')}}</a>
|
||||
|
|
@ -280,11 +281,13 @@
|
|||
{{ __('Logout') }}</a>
|
||||
</div>
|
||||
|
||||
<div class="card-body" style="background: #fff; border: 1px solid rgba(24, 28, 33, 0.06);">
|
||||
{{--
|
||||
<div class="card-body" style="background: #fff; border: 1px solid rgba(24, 28, 33, 0.06);">
|
||||
<h4>{{__('Delete') }}</h4>
|
||||
<p>{{__('If you no longer want to use our offer, you can delete your account here.')}}</p>
|
||||
<a href="{{route('user_delete_account')}}" class="btn btn-default">{{__('Delete Account')}}</a>
|
||||
</div>
|
||||
--}}
|
||||
|
||||
|
||||
@endsection
|
||||
|
|
|
|||
275
resources/views/pdf/invoice_fewo.blade.php
Normal file
275
resources/views/pdf/invoice_fewo.blade.php
Normal file
|
|
@ -0,0 +1,275 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
|
||||
<title></title>
|
||||
|
||||
{!! Html::style('css/invoice_fewo_pdf.css') !!}
|
||||
<style>
|
||||
@page {
|
||||
margin: 90mm 0 30mm 0;
|
||||
}
|
||||
|
||||
.font-weight-bold {
|
||||
font-weight: 600;
|
||||
}
|
||||
#logo_box {
|
||||
position: absolute;
|
||||
top:-80mm;
|
||||
left: 25mm;
|
||||
right: 25mm;
|
||||
height: 25mm;
|
||||
z-index: 1;
|
||||
font-size: 10pt;
|
||||
text-align: center;
|
||||
}
|
||||
#logo_box img {
|
||||
width: 65mm;
|
||||
}
|
||||
#address_box {
|
||||
position: absolute;
|
||||
top:-40mm;
|
||||
left: 25mm;
|
||||
width: 100mm;
|
||||
height: 45mm;
|
||||
z-index: 1;
|
||||
font-size: 11pt;
|
||||
|
||||
}
|
||||
#address_box #address_back{
|
||||
font-size: 7pt;
|
||||
text-decoration: underline;
|
||||
margin-bottom: 2mm;
|
||||
}
|
||||
|
||||
#date_box {
|
||||
position: absolute;
|
||||
top:-10mm;
|
||||
right: 15mm;
|
||||
width: 70mm;
|
||||
height: 10mm;
|
||||
z-index: 1;
|
||||
font-size: 10pt;
|
||||
line-height: 12pt;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
#title_box {
|
||||
position: absolute;
|
||||
top:0mm;
|
||||
left: 25mm;
|
||||
width: 160mm;
|
||||
height: 10mm;
|
||||
z-index: 2;
|
||||
font-weight: bold;
|
||||
|
||||
}
|
||||
#title_box .title {
|
||||
font-size: 16pt;
|
||||
line-height: 12pt;
|
||||
}
|
||||
#title_box .subtitle {
|
||||
font-size: 9pt;
|
||||
line-height: 9pt;
|
||||
}
|
||||
|
||||
#detail_box {
|
||||
position: absolute;
|
||||
top:15mm;
|
||||
left: 25mm;
|
||||
right: 15mm;
|
||||
z-index: 3;
|
||||
font-size: 9pt;
|
||||
}
|
||||
|
||||
|
||||
#detail_box table {
|
||||
width: 100%;
|
||||
line-height: 9pt;
|
||||
border-collapse: collapse;
|
||||
|
||||
}
|
||||
|
||||
#detail_box table td {
|
||||
border: 0.5pt solid #8c8c8c;
|
||||
padding: 1mm;
|
||||
|
||||
|
||||
}
|
||||
|
||||
#detail_box table td.left {
|
||||
text-align: right;
|
||||
width: 50mm;
|
||||
}
|
||||
|
||||
#detail_box table td.right {
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
.singel-line-top {
|
||||
border-top: 1pt solid #1a1a18;
|
||||
}
|
||||
.double-line {
|
||||
border-bottom: 2.5pt double #1a1a18;
|
||||
}
|
||||
.dotted-line {
|
||||
border-bottom: 0.8pt dotted #1a1a18;
|
||||
}
|
||||
|
||||
#footer_box {
|
||||
position: absolute;
|
||||
bottom:-25mm;
|
||||
left: 25mm;
|
||||
right: 15mm;
|
||||
height: 30mm;
|
||||
z-index: 6;
|
||||
font-size: 7pt;
|
||||
line-height: 8pt;
|
||||
}
|
||||
|
||||
#footer_box table {
|
||||
margin-top: 2mm;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
#footer_box table td {
|
||||
vertical-align: top;
|
||||
}
|
||||
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
{{--
|
||||
<div id="brand_paper_background">
|
||||
<img src="{{ base_path()}}/storage/app/pdf/inno-plan-bg.png" height="100%" width="100%">
|
||||
</div>
|
||||
--}}
|
||||
<div id="logo_box">
|
||||
<img src="{{asset('images/stern-tours-logo.png')}}">
|
||||
</div>
|
||||
|
||||
<div id="address_box">
|
||||
<div id="address_back">STERN TOURS GmbH • Emser Str. 3 • 10719 Berlin</div>
|
||||
{!! nl2br($model->getBookingUserAddress()) !!}
|
||||
</div>
|
||||
|
||||
<div id="date_box">
|
||||
Berlin, den {!! date("d.m.Y") !!}
|
||||
</div>
|
||||
|
||||
<div id="title_box">
|
||||
Mietbestätigung / Rechnung Nr. {{$model->invoice_number}}
|
||||
</div>
|
||||
|
||||
|
||||
<div id="detail_box">
|
||||
|
||||
<p> Sehr geehrte Damen und Herren,<br>
|
||||
<br>
|
||||
herzlichen Dank für Ihre Online-Buchung vom {{$model->booking_date}} :</p>
|
||||
<p>Auf Grundlage der Beschreibung der gebuchten Unterkunft und unserer im Rahmen des Onlinebuchungsprozesses vertraglich einbezogenen Mietbedingungen
|
||||
(die Sie auch nochmals beigefügt erhalten ) freuen wir uns, Ihre Anmietung wie folgt verbindlich bestätigen zu können:</p>
|
||||
|
||||
<table>
|
||||
<tr>
|
||||
<td class="left">{{ __('Belegungszeitraum:') }}</td>
|
||||
<td class="right">
|
||||
<div class="font-weight-bold">{{$model->from_date}} von {{$model->to_date}}</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="left">{{ __('Ferienwohnung:') }}</td>
|
||||
<td class="right">
|
||||
<div class="font-weight-bold"> {!! nl2br($model->getNameAddressLocation()) !!}</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td class="left">{{ __('Mietpreis:') }}</td>
|
||||
<td class="right">
|
||||
<div class="font-weight-bold">{{ $model->price_travel }} €</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="left">{{ __('Service-Gebühr:') }}??</td>
|
||||
<td class="right">
|
||||
<div class="font-weight-bold">{{ $model->price_service }} €</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="left">{{ __('Kaution:') }}</td>
|
||||
<td class="right">
|
||||
<div class="font-weight-bold">{{ $model->price_deposit }} €</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td class="left">{{ __('Gesamtpreis:') }}</td>
|
||||
<td class="right">
|
||||
<div class="font-weight-bold">{{ $model->price_total }} €</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
</table>
|
||||
|
||||
<p>Mit dieser Buchungsbestätigung ist der Mietvertrag für <strong>Sie und uns verbindlich.</strong></p>
|
||||
<p>Entsprechend der Regelungen unter Ziffer 3.1. und 3.2. unserer Mietbedingungen überweisen Sie uns bitte</p>
|
||||
<ul>
|
||||
<li>eine sofort zahlungsfällige Anzahlung von 50% Mietpreis = <strong>{{ $model->getPriceTravelFirstPay() }} €</strong></li>
|
||||
<li>sowie eine Restzahlung von <strong>{{ $model->getPriceTravelSecondPay() }} €</strong> bis spätestens 4 Wochen vor Belegungsbeginn inkl. der oben genannten Kaution.</li>
|
||||
</ul>
|
||||
<p>auf folgendes Bankkonto:<br>
|
||||
<strong>STERN TOURS GmbH<br>
|
||||
IBAN: DE83100208900018857111<br>
|
||||
BIC: HYVEDEMM488</strong>
|
||||
</p>
|
||||
|
||||
<p>Beachten Sie bitte, dass eine Nichtzahlung des Unterkunftspreises zu den genannten Fälligkeitsdaten keine Aufhebung des
|
||||
Mietvertrages bewirkt und dieser daher verbindlich bleibt, uns als Vermieter jedoch berechtigt, nach Mahnung mit Fristsetzung
|
||||
vom Mietvertrag zurückzutreten.<p>
|
||||
<p>Mit freundlichen Grüßen<br>
|
||||
Ihr Team von STERN TOURS</p>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
<div id="footer_box">
|
||||
<strong>P.S.: Wir empfehlen dringend, den Abschluss einer Reiserücktrittskostenversicherung.</strong>
|
||||
<table>
|
||||
<tr>
|
||||
<td style="width: 20%">
|
||||
<strong>STERN TOURS GmbH</strong><br>
|
||||
Emser Str. 3<br>
|
||||
10719 Berlin<br>
|
||||
</td>
|
||||
<td>
|
||||
<strong>Fon:</strong> 030 | 88 0 313 0<br>
|
||||
<strong>Fax:</strong> 030 | 88 0 313 44<br>
|
||||
<strong>E-Mail:</strong> kontakt@sterntours.de<br>
|
||||
<strong>Web:</strong> www.sterntours.de
|
||||
</td>
|
||||
<td>
|
||||
<strong>Bankverbindung:</strong><br>
|
||||
STERN TOURS<br>
|
||||
Hypo Vereinsbank<br>
|
||||
IBAN: DE83100208900018857111<br>
|
||||
BIC-/SWIFT-Code: HYVEDEMM488
|
||||
</td>
|
||||
<td>
|
||||
<strong>Öffnungszeiten:</strong><br>
|
||||
Mo-Do: 09.00-18.00 Uhr<br>
|
||||
FR: 09.00-16.00 Uhr<br><br>
|
||||
UStId: DE192609253<br>
|
||||
Registernr.: HRB 67111<br>
|
||||
Amtsgericht Charlottenburg<br>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
43
resources/views/status/not_found.blade.php
Executable file
43
resources/views/status/not_found.blade.php
Executable file
|
|
@ -0,0 +1,43 @@
|
|||
@extends('layouts.layout-2')
|
||||
|
||||
@section('content')
|
||||
<div class="authentication-wrapper authentication-2 px-4" style="margin-top: 120px;">
|
||||
<div class="authentication-inner py-5">
|
||||
|
||||
<!-- Form -->
|
||||
<div class="card">
|
||||
<div class="p-4 p-sm-5">
|
||||
<style>
|
||||
.ui-icon {
|
||||
width: 90px;
|
||||
height: 90px;
|
||||
font-size: 50px;
|
||||
line-height: calc(90px - 4px);
|
||||
}
|
||||
</style>
|
||||
<div class="text-primary mx-auto mb-4 text-center">
|
||||
<span class="ui-icon font-weight-bolder">
|
||||
<i class="ion ion-ios-cog" style="color: #e48800;"></i>
|
||||
</span>
|
||||
</div>
|
||||
|
||||
<p class="text-center text-big mb-4"><strong>{{ __('Your registration has already been completed.') }}</strong></p>
|
||||
|
||||
@if(!Auth::check())
|
||||
<a href="{{route('login')}}" class="btn btn-lg btn-submit btn-block">{{ __('zum Login') }}</a>
|
||||
<a href="{{route('password.request')}}" class="btn btn-lg btn-default btn-block">{{ __('neues Passwort erstellen') }}</a>
|
||||
@endif
|
||||
<hr>
|
||||
<br>
|
||||
<a href="{{route('home')}}" class="btn btn-primary btn-block">{{ __('Home') }}</a>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<!-- / Form -->
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@endsection
|
||||
|
||||
|
||||
32
resources/views/status/status_active.blade.php
Executable file
32
resources/views/status/status_active.blade.php
Executable file
|
|
@ -0,0 +1,32 @@
|
|||
@extends('layouts.layout-2')
|
||||
|
||||
@section('content')
|
||||
<div class="authentication-wrapper authentication-2 px-4" style="margin-top: 120px;">
|
||||
<div class="authentication-inner py-5">
|
||||
|
||||
<!-- Form -->
|
||||
<div class="card">
|
||||
<div class="p-4 p-sm-5">
|
||||
<style>
|
||||
.ui-icon {
|
||||
width: 90px;
|
||||
height: 90px;
|
||||
font-size: 50px;
|
||||
line-height: calc(90px - 4px);
|
||||
}
|
||||
</style>
|
||||
<div class="text-primary mx-auto mb-4 text-center">
|
||||
<span class="ui-icon font-weight-bolder">
|
||||
<i class="ion ion-ios-contact" style="color: #e48800;"></i>
|
||||
</span>
|
||||
</div>
|
||||
<p class="text-center text-big mb-4"><strong>{{ __('E-Mail bestätigt.') }}</strong><br><br><a href="{{route('home')}}" class="btn btn btn-lg btn-submit"><i class="ion ion-ios-arrow-dropright"></i> {{ __('Home') }}</a></p>
|
||||
<hr>
|
||||
</div>
|
||||
</div>
|
||||
<!-- / Form -->
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@endsection
|
||||
36
resources/views/status/status_error.blade.php
Executable file
36
resources/views/status/status_error.blade.php
Executable file
|
|
@ -0,0 +1,36 @@
|
|||
@extends('layouts.layout-2')
|
||||
|
||||
@section('content')
|
||||
<div class="authentication-wrapper authentication-2 px-4" style="margin-top: 120px;">
|
||||
<div class="authentication-inner py-5">
|
||||
|
||||
<!-- Form -->
|
||||
<div class="card">
|
||||
<div class="p-4 p-sm-5">
|
||||
<style>
|
||||
.ui-icon {
|
||||
width: 90px;
|
||||
height: 90px;
|
||||
font-size: 50px;
|
||||
line-height: calc(90px - 4px);
|
||||
}
|
||||
</style>
|
||||
<div class="text-primary mx-auto mb-4 text-center">
|
||||
<span class="ui-icon font-weight-bolder">
|
||||
<i class="ion ion-md-close" style="color: #e48800;"></i>
|
||||
</span>
|
||||
</div>
|
||||
|
||||
<p class="text-center text-big mb-4"><strong>{{ __('Page not available') }}</strong></p>
|
||||
|
||||
<a href="{{route('/')}}" class="btn btn-primary btn-block">{{ __('back to the homepage') }}</a>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<!-- / Form -->
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@endsection
|
||||
|
||||
40
resources/views/status/status_register.blade.php
Executable file
40
resources/views/status/status_register.blade.php
Executable file
|
|
@ -0,0 +1,40 @@
|
|||
@extends('layouts.layout-2')
|
||||
|
||||
@section('content')
|
||||
<div class="authentication-wrapper authentication-2 px-4" style="margin-top: 120px;">
|
||||
<div class="authentication-inner py-5">
|
||||
|
||||
<!-- Form -->
|
||||
<div class="card">
|
||||
<div class="p-4 p-sm-5">
|
||||
<style>
|
||||
.ui-icon {
|
||||
width: 90px;
|
||||
height: 90px;
|
||||
font-size: 50px;
|
||||
line-height: calc(90px - 4px);
|
||||
}
|
||||
</style>
|
||||
<div class="text-primary mx-auto mb-4 text-center">
|
||||
<span class="ui-icon font-weight-bolder">
|
||||
<i class="ion ion-ios-paper-plane" style="color: #e48800;"></i>
|
||||
</span>
|
||||
</div>
|
||||
|
||||
<p class="text-center text-big mb-4">{{ __('Thank you for your registration!') }}</p>
|
||||
<p class="text-center text-big mb-4"><strong>{{ __('We have sent you an e-mail with a link to activate your data.') }}</strong></p>
|
||||
|
||||
<a href="{{route('/')}}" class="btn btn-primary btn-block">{{ __('back to the homepage') }}</a>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<!-- / Form -->
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@endsection
|
||||
|
||||
|
||||
|
||||
|
||||
34
resources/views/status/status_verify.blade.php
Executable file
34
resources/views/status/status_verify.blade.php
Executable file
|
|
@ -0,0 +1,34 @@
|
|||
@extends('layouts.layout-2')
|
||||
|
||||
@section('content')
|
||||
<div class="authentication-wrapper authentication-2 px-4" style="margin-top: 120px;">
|
||||
<div class="authentication-inner py-5">
|
||||
|
||||
<!-- Form -->
|
||||
<div class="card">
|
||||
<div class="p-4 p-sm-5">
|
||||
<style>
|
||||
.ui-icon {
|
||||
width: 90px;
|
||||
height: 90px;
|
||||
font-size: 50px;
|
||||
line-height: calc(90px - 4px);
|
||||
}
|
||||
</style>
|
||||
<div class="text-primary mx-auto mb-4 text-center">
|
||||
<span class="ui-icon font-weight-bolder">
|
||||
<i class="ion ion-ios-mail" style="color: #e48800;"></i>
|
||||
</span>
|
||||
</div>
|
||||
|
||||
<h3 class="text-center">{{ __('E-Mail bestätigt.') }}</h3>
|
||||
<div class="text-center"><a href="{{route('home')}}" class="btn btn btn-lg btn-submit animated infinite pulse"><i class="ion ion-ios-arrow-dropright fa-lg"></i> {{ __('Home') }}</a></div>
|
||||
<hr>
|
||||
</div>
|
||||
</div>
|
||||
<!-- / Form -->
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@endsection
|
||||
24
resources/views/status/verify.blade.php
Executable file
24
resources/views/status/verify.blade.php
Executable file
|
|
@ -0,0 +1,24 @@
|
|||
@extends('layouts.layout-2')
|
||||
|
||||
@section('content')
|
||||
<div class="authentication-wrapper authentication-2 px-4" style="margin-top: 120px;">
|
||||
<div class="authentication-inner py-5">
|
||||
|
||||
<!-- Form -->
|
||||
<div class="card">
|
||||
<div class="p-4 p-sm-5">
|
||||
|
||||
<div class="display-1 lnr lnr-checkmark-circle text-center text-success mb-4"></div>
|
||||
|
||||
<p class="text-center text-big mb-4">Your email address has been successfully confirmed.</p>
|
||||
|
||||
<button type="button" class="btn btn-primary btn-block">Proceed to your account</button>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<!-- / Form -->
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@endsection
|
||||
|
|
@ -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>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<script>
|
||||
function floatNumber(n) {
|
||||
'use strict';
|
||||
|
|
|
|||
|
|
@ -16,15 +16,10 @@
|
|||
</div>
|
||||
@endif
|
||||
|
||||
<h4 class="font-weight-bold py-3 mb-4">
|
||||
{{ __('Your Data') }}
|
||||
</h4>
|
||||
|
||||
|
||||
{!! Form::open(['url' => route('user_edit'), 'class' => 'form-horizontal', 'id'=>'lead-form-validation']) !!}
|
||||
|
||||
<input type="hidden" name="user_id" id="user_id" value="@if($user->id>0){{$user->id}}@else new @endif">
|
||||
{{-- @include('user.form') --}}
|
||||
@include('user.form')
|
||||
|
||||
<div class="text-left mt-3">
|
||||
<button type="submit" class="btn btn-secondary">{{ __('save changes') }}</button>
|
||||
|
|
|
|||
|
|
@ -1,192 +1,14 @@
|
|||
<div class="card mb-4">
|
||||
<h5 class="card-header">
|
||||
{{ __('use') }}
|
||||
</h5>
|
||||
<div class="card-body">
|
||||
<div class="form-group">
|
||||
<label class="form-label">{{ __('business or private') }}*</label>
|
||||
<select class="selectpicker" name="company" id="company" data-style="btn-light" data-live-search="false" required, tabindex="0">
|
||||
{!! HTMLHelper::getCompanyOptions($user->account->company) !!}
|
||||
</select>
|
||||
@if ($errors->has('company'))
|
||||
<span class="help-block">
|
||||
<strong>{{ $errors->first('company') }}</strong>
|
||||
</span>
|
||||
@endif
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="card mb-4 show_company_holder">
|
||||
<h5 class="card-header">
|
||||
{{ __('Company data') }}
|
||||
</h5>
|
||||
<div class="card-body">
|
||||
<div class="form-group">
|
||||
<label for="company_name" class="form-label">{{ __('Company name') }}*</label>
|
||||
{{ Form::text('company_name', $user->account->company_name, array('placeholder'=>__('Company name'), 'class'=>'form-control', 'id'=>'company_name', 'required' => true, 'tabindex' => 1)) }}
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label class="form-label" for="company_street">{{ __('Street') }} / {{ __('House number') }}</label>
|
||||
{{ Form::text('company_street', $user->account->company_street, array('placeholder'=>__('Street'), 'class'=>'form-control', 'id'=>'company_street', 'tabindex' => 2)) }}
|
||||
|
||||
</div>
|
||||
|
||||
<div class="form-row">
|
||||
<div class="form-group col-md-2">
|
||||
<label class="form-label" for="company_postal_code">{{ __('Postcode') }}</label>
|
||||
{{ Form::text('company_postal_code', $user->account->company_postal_code, array('placeholder'=>__('Postcode'), 'class'=>'form-control', 'id'=>'company_postal_code', 'tabindex' => 3)) }}
|
||||
|
||||
</div>
|
||||
<div class="form-group col-md-6">
|
||||
<label class="form-label" for="company_city">{{ __('City') }}</label>
|
||||
{{ Form::text('company_city', $user->account->company_city, array('placeholder'=>__('City'), 'class'=>'form-control', 'id'=>'company_city', 'tabindex' => 4)) }}
|
||||
|
||||
</div>
|
||||
<div class="form-group col-md-4 {{ $errors->has('company_country_id') ? 'has-error' : '' }}">
|
||||
<label class="form-label">{{ __('Country') }}*</label>
|
||||
<select class="selectpicker" name="company_country_id" id="company_country_id" data-style="btn-light" data-live-search="true" required tabindex="5">
|
||||
{!! HTMLHelper::getContriesWithMore($user->account->company_country_id) !!}
|
||||
</select>
|
||||
@if ($errors->has('company_country_id'))
|
||||
<span class="help-block">
|
||||
<strong>{{ $errors->first('company_country_id') }}</strong>
|
||||
</span>
|
||||
@endif
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="form-row">
|
||||
<div class="form-group col-md-4">
|
||||
<label class="form-label" for="company_pre_phone_id">{{ __('Country code') }}</label>
|
||||
<select class="selectpicker" name="company_pre_phone_id" id="company_pre_phone_id" data-style="btn-light" data-live-search="true" tabindex="19">
|
||||
{!! HTMLHelper::getContriesCodes($user->account->company_pre_phone_id) !!}
|
||||
</select>
|
||||
</div>
|
||||
|
||||
<div class="form-group col-md-8">
|
||||
<label class="form-label" for="company_phone">{{ __('Phone') }}</label>
|
||||
{{ Form::text('company_phone', $user->account->company_phone, array('placeholder'=>__('Phone'), 'class'=>'form-control', 'id'=>'company_phone', 'tabindex' => 7)) }}
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="form-label" for="company_homepage">{{ __('Homepage') }}</label>
|
||||
{{ Form::text('company_homepage', $user->account->company_homepage, array('placeholder'=>__('Homepage'), 'class'=>'form-control', 'id'=>'company_homepage', 'tabindex' => 8)) }}
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="card mb-4 show_company_holder">
|
||||
<h5 class="card-header">
|
||||
{{ __('Industry') }}
|
||||
</h5>
|
||||
<div class="card-body">
|
||||
<div class="row">
|
||||
{!! HTMLHelper::getIndustrySectorForHTML($user->account->getUserIndustrySectorIds()) !!}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="card mb-4">
|
||||
<h5 class="card-header">
|
||||
{{ __('Your Data') }}
|
||||
{{ __('Daten') }}
|
||||
</h5>
|
||||
<div class="card-body">
|
||||
|
||||
<div class="form-group">
|
||||
<label class="form-label" for="position_text">{{ __('Function') }}</label>
|
||||
{{ Form::text('position_text', $user->account->position_text, array('placeholder'=>__('Function'), 'class'=>'form-control', 'id'=>'position_text', 'tabindex' => 9)) }}
|
||||
<label class="form-label" for="position_text">{{ __('Name') }}</label>
|
||||
{{ Form::text('name', $user->name, array('placeholder'=>__('Name'), 'class'=>'form-control', 'id'=>'name', 'required')) }}
|
||||
</div>
|
||||
|
||||
<div class="form-row">
|
||||
<div class="form-group col-md-4">
|
||||
<label class="form-label">{{ __('Salutation') }}*</label>
|
||||
<select class="selectpicker" data-style="btn-light" name="salutation" id="salutation" required tabindex="10">
|
||||
{!! HTMLHelper::getSalutation($user->account->salutation) !!}
|
||||
</select>
|
||||
</div>
|
||||
<div class="form-group col-md-8">
|
||||
<label class="form-label" for="title">{{ __('Title') }}</label>
|
||||
{{ Form::text('title', $user->account->title, array('placeholder'=>__('Title'), 'class'=>'form-control', 'id'=>'title', 'tabindex' => 11)) }}
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="form-row">
|
||||
|
||||
<div class="form-group col-md-6">
|
||||
<label class="form-label" for="first_name">{{ __('First name') }}</label>
|
||||
{{ Form::text('first_name', $user->account->first_name, array('placeholder'=>__('First name'), 'class'=>'form-control', 'id'=>'first_name', 'tabindex' => 12)) }}
|
||||
|
||||
</div>
|
||||
<div class="form-group col-md-6">
|
||||
<label class="form-label" for="last_name">{{ __('Last Name') }}*</label>
|
||||
{{ Form::text('last_name', $user->account->last_name, array('placeholder'=>__('Last Name'), 'class'=>'form-control', 'id'=>'last_name', 'required'=>true, 'tabindex' => 13)) }}
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label class="form-label" for="street">{{ __('Street') }} / {{ __('House number') }}</label>
|
||||
{{ Form::text('street', $user->account->street, array('placeholder'=>__('Street'), 'class'=>'form-control', 'id'=>'street', 'tabindex' => 14)) }}
|
||||
|
||||
</div>
|
||||
|
||||
<div class="form-row">
|
||||
<div class="form-group col-md-2">
|
||||
<label class="form-label" for="postal_code">{{ __('Postcode') }}</label>
|
||||
{{ Form::text('postal_code', $user->account->postal_code, array('placeholder'=>__('Postcode'), 'class'=>'form-control', 'id'=>'postal_code', 'tabindex' => 15)) }}
|
||||
|
||||
</div>
|
||||
<div class="form-group col-md-6">
|
||||
<label class="form-label" for="city">{{ __('City') }}</label>
|
||||
{{ Form::text('city', $user->account->city, array('placeholder'=>__('City'), 'class'=>'form-control', 'id'=>'city', 'tabindex' => 16)) }}
|
||||
|
||||
</div>
|
||||
<div class="form-group col-md-4 {{ $errors->has('country_id') ? 'has-error' : '' }}">
|
||||
<label class="form-label">{{ __('Country') }}*</label>
|
||||
<select class="selectpicker" name="country_id" id="country_id" data-style="btn-light" data-live-search="true" required tabindex="17">
|
||||
{!! HTMLHelper::getContriesWithMore($user->account->country_id) !!}
|
||||
</select>
|
||||
@if ($errors->has('country_id'))
|
||||
<span class="help-block">
|
||||
<strong>{{ $errors->first('country_id') }}</strong>
|
||||
</span>
|
||||
@endif
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="form-row">
|
||||
<div class="form-group col-md-4">
|
||||
<label class="form-label" for="pre_mobil_id">{{ __('Country code') }}</label>
|
||||
<select class="selectpicker" name="pre_phone_id" id="pre_phone_id" data-style="btn-light" data-live-search="true" tabindex="19">
|
||||
{!! HTMLHelper::getContriesCodes($user->account->pre_phone_id) !!}
|
||||
</select>
|
||||
</div>
|
||||
|
||||
<div class="form-group col-md-8">
|
||||
<label class="form-label" for="phone">{{ __('Phone') }}</label>
|
||||
{{ Form::text('phone', $user->account->phone, array('placeholder'=>__('Mobile Phone'), 'class'=>'form-control', 'id'=>'phone', 'tabindex' => 18)) }}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="form-row">
|
||||
<div class="form-group col-md-4">
|
||||
<label class="form-label" for="pre_mobil_id">{{ __('Country code') }}</label>
|
||||
<select class="selectpicker" name="pre_mobil_id" id="pre_mobil_id" data-style="btn-light" data-live-search="true" tabindex="19">
|
||||
{!! HTMLHelper::getContriesCodes($user->account->pre_mobil_id) !!}
|
||||
</select>
|
||||
</div>
|
||||
|
||||
<div class="form-group col-md-8">
|
||||
<label class="form-label" for="mobil">{{ __('Mobile Phone') }}</label>
|
||||
{{ Form::text('mobil', $user->account->mobil, array('placeholder'=>__('Mobile Phone'), 'class'=>'form-control', 'id'=>'mobil', 'tabindex' => 19)) }}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<hr>
|
||||
@if($user->email)
|
||||
|
|
@ -194,22 +16,20 @@
|
|||
<div class="form-row">
|
||||
<div class="form-group col-md-6">
|
||||
<label class="form-label" for="email">{{ __('E-Mail Address') }}*</label>
|
||||
{{ Form::text('email', $user->email, array('placeholder'=>'E-Mail', 'class'=>'form-control', 'id'=>'email', 'readonly'=>true, 'tabindex' => 20)) }}
|
||||
{{ Form::text('email', $user->email, array('placeholder'=>'E-Mail', 'class'=>'form-control', 'id'=>'email', 'readonly'=>true)) }}
|
||||
</div>
|
||||
<div class="form-group col-md-6">
|
||||
<label class="form-label" for="email-confirm">{{ __('Confirm E-Mail') }}</label>
|
||||
{{ Form::text('email-confirm', $user->email, array('placeholder'=>__('Confirm E-Mail'), 'class'=>'form-control', 'id'=>'email-confirm', 'readonly'=>true, 'tabindex' => 21)) }}
|
||||
{{ Form::text('email-confirm', $user->email, array('placeholder'=>__('Confirm E-Mail'), 'class'=>'form-control', 'id'=>'email-confirm', 'readonly'=>true)) }}
|
||||
</div>
|
||||
</div>
|
||||
@if(isset($can_change_mail))
|
||||
@if($isFromAdmin)
|
||||
@if(count($user->user_update_email) > 0)
|
||||
<p class="badge badge-primary" style=" color:#fff;">{{ $user->user_update_email->first()->email }} {{__('waiting for activation since')}} | {{ $user->user_update_email->first()->created_at->format('d.m.Y H:i') }}</p><br>
|
||||
@endif
|
||||
<a href="{{ route('admin_lead_change_mail', [$user->id]) }}" class="btn btn-submit btn-sm"> {{ __('Contact') }} {{__('Change E-Mail')}}</a>
|
||||
|
||||
|
||||
<a href="{{ route('admin_user_change_mail', [$user->id]) }}" class="btn btn-default btn-sm"> {{ __('Contact') }} {{__('Change E-Mail')}}</a>
|
||||
@else
|
||||
<a href="{{ route('user_update_email', [$user->id]) }}" class="btn btn-submit btn-sm">{{__('Change E-Mail')}}</a>
|
||||
<a href="{{ route('user_update_email', [$user->id]) }}" class="btn btn-default btn-sm">{{__('Change E-Mail')}}</a>
|
||||
@endif
|
||||
|
||||
|
||||
|
|
@ -217,36 +37,14 @@
|
|||
<div class="form-row">
|
||||
<div class="form-group col-md-6">
|
||||
<label class="form-label" for="email">{{ __('E-Mail Address') }}*</label>
|
||||
{{ Form::text('email', $user->email, array('placeholder'=>'E-Mail', 'class'=>'form-control', 'id'=>'email', 'tabindex' => 20)) }}
|
||||
{{ Form::text('email', $user->email, array('placeholder'=>'E-Mail', 'class'=>'form-control', 'id'=>'email')) }}
|
||||
</div>
|
||||
<div class="form-group col-md-6">
|
||||
<label class="form-label" for="email-confirm">{{ __('Confirm E-Mail') }}</label>
|
||||
{{ Form::text('email-confirm', $user->email, array('placeholder'=>__('Confirm E-Mail'), 'class'=>'form-control', 'id'=>'email-confirm', 'tabindex' => 21)) }}
|
||||
{{ Form::text('email-confirm', $user->email, array('placeholder'=>__('Confirm E-Mail'), 'class'=>'form-control', 'id'=>'email-confirm')) }}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@endif
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="card mb-4">
|
||||
<h5 class="card-header">
|
||||
{{ __('Your interests') }}
|
||||
</h5>
|
||||
<div class="card-body">
|
||||
<div class="row">
|
||||
{!! HTMLHelper::getIntereststForHTML($user->account->getUserInterestIds()) !!}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="card mb-4">
|
||||
<h5 class="card-header">
|
||||
{{ __('Your contact at JACKON') }}
|
||||
</h5>
|
||||
<div class="card-body">
|
||||
<div class="form-group">
|
||||
{{ Form::text('contactpartner', $user->account->contactpartner, array('placeholder'=>__('Name'), 'class'=>'form-control', 'id'=>'contactpartner', 'tabindex' => 22)) }}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
Loading…
Add table
Add a link
Reference in a new issue