checkout, register, payment,

checkout correction,
register wizard,
payment packege,
This commit is contained in:
Kevin Adametz 2019-03-02 00:08:11 +01:00
parent 6e3adac4d7
commit 446bc4561b
48 changed files with 2580 additions and 1493 deletions

View file

@ -17,26 +17,26 @@
@endif
<h4 class="font-weight-bold py-2 mb-2">
{{ __('Create/Edit Contact') }}
@if(!$user->id || $user->id == 'new')
{{ __('Neuen Berater erstellen') }}
@else
{{ __('Berater bearbeiten') }}
@endif
</h4>
{!! Form::open(['url' => route('admin_lead_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')
@if(!$user->id || $user->id == 'new')
@include('user.data_verify')
@endif
@if(!$user->id || $user->id == 'new')
@include('user.user_new_form')
@include('user.data_verify')
@else
@include('user.user_form')
@endif
<div class="text-left mt-3">
<button type="submit" class="btn btn-submit">{{ __('save') }}</button>&nbsp;
<button type="submit" class="btn btn-submit btn-primary">{{ __('save') }}</button>&nbsp;
<a href="{{ route('admin_leads') }}" class="btn btn-default">{{ __('abort') }}</a>
</div>
{!! Form::close() !!}

View file

@ -4,13 +4,13 @@
<h4 class="font-weight-bold py-2 mb-2">
{{ __('Contacts') }}
{{ __('Berater') }}
</h4>
<div class="card">
<div class="card-datatable table-responsive">
<div class="ml-4">
<a href="{{ route('admin_lead_edit', ['new']) }}" class="btn btn-sm btn-primary">{{__('create new Contact')}}</a>
<a href="{{ route('admin_lead_edit', ['new']) }}" class="btn btn-sm btn-primary">{{__('Neuen Berater erstellen')}}</a>
</div>
<table class="datatables-leads table table-striped table-bordered">
@ -31,7 +31,7 @@
</table>
<div class="mt-4 ml-4">
<a href="{{ route('admin_lead_edit', ['new']) }}" class="btn btn-sm btn-primary">{{__('create new Contact')}}</a>
<a href="{{ route('admin_lead_edit', ['new']) }}" class="btn btn-sm btn-primary">{{__('Neuen Berater erstellen')}}</a>
</div>
</div>
</div>
@ -62,44 +62,3 @@
</script>
@endsection
<?php /*
<!-- Filters -->
<!-- <div class="ui-bordered px-4 pt-4 mb-4">
<div class="form-row align-items-center">
<div class="col-md mb-4">
<label class="form-label">Filter1</label>
<select class="custom-select">
<option>Any</option>
<option>Yes</option>
<option>No</option>
</select>
</div>
<div class="col-md mb-4">
<label class="form-label">Filter2</label>
<select class="custom-select">
<option>Any</option>
<option>Yes</option>
<option>No</option>
</select>
</div>
<div class="col-md mb-4">
<label class="form-label">Filter3</label>
<select class="custom-select">
<option>Any</option>
<option>Yes</option>
<option>No</option>
</select>
</div>
<div class="col-md mb-4">
<label class="form-label">Filter4</label>
<input type="text" id="user-list-latest-activity" class="form-control" placeholder="Any">
</div>
<div class="col-md col-xl-2 mb-4">
<label class="form-label d-none d-md-block">&nbsp;</label>
<button type="button" class="btn btn-secondary btn-block">Show</button>
</div>
</div>
</div>-->
*/?>

View file

@ -16,12 +16,21 @@
<label class="form-label" for="name">{{ __('Name') }}*</label>
{{ Form::text('name', $product->name, array('placeholder'=>__('Name'), 'class'=>'form-control', 'id'=>'name', 'required')) }}
</div>
<div class="form-row">
<div class="form-group col-sm-8">
<label class="form-label" for="title">{{ __('Title') }}</label>
{{ Form::text('title', $product->title, array('placeholder'=>__('Title'), 'class'=>'form-control', 'id'=>'title')) }}
<div class="form-group">
<label class="form-label" for="title">{{ __('Title') }}</label>
{{ Form::text('title', $product->title, array('placeholder'=>__('Title'), 'class'=>'form-control', 'id'=>'title')) }}
</div>
<div class="form-group col-sm-4">
<label class="form-label" for="title">{{ __('Anzeigen') }}</label>
{{ Form::select('show_at', $product->showATs, $product->show_at, array('data-live-search'=>'false', 'class'=>'selectpicker', 'id'=>'show_at') ) }}
</div>
</div>
<div class="form-row">
<div class="form-group col-sm-8">
<label class="form-label" for="title">{{ __('Kategorie(n)') }}</label>
@ -39,6 +48,12 @@
<label class="form-label" for="copy">{{ __('copy') }}</label>
{{ Form::textarea('copy', $product->copy , array('placeholder'=>__('Leistungen'), 'class'=>'form-control summernote', 'id'=>'copy')) }}
</div>
<div class="form-group col-sm-12">
<label class="form-label" for="title">{{ __('Action') }}</label>
{{ Form::select('action[]', $product->actions, $product->action, array('data-live-search'=>'false', 'class'=>'selectpicker', 'id'=>'action', 'multiple') ) }}
</div>
</div>
</div>