Fonts, Travel Program
This commit is contained in:
parent
93d1bea8e3
commit
561c5875a7
173 changed files with 12359 additions and 1070 deletions
|
|
@ -17,7 +17,7 @@
|
|||
</div>
|
||||
<div class="form-group ">
|
||||
<label for="full_text" class="form-label">{{ __('Beschreibung') }}</label>
|
||||
{{ Form::textarea('description', $value->description, array('Beschreibung'=>__('Beschreibung'), 'class'=>'form-control', 'rows'=>2)) }}
|
||||
{{ Form::textarea('description', $value->description, array('placeholder'=>__('Beschreibung'), 'class'=>'form-control', 'rows'=>2)) }}
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="pos" class="form-label">{{ __('Position') }}</label>
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@
|
|||
</div>
|
||||
<div class="form-group ">
|
||||
<label for="full_text" class="form-label">{{ __('Beschreibung') }}</label>
|
||||
{{ Form::textarea('description', $value->description, array('Beschreibung'=>__('Beschreibung'), 'class'=>'form-control', 'rows'=>2)) }}
|
||||
{{ Form::textarea('description', $value->description, array('placeholder'=>__('Beschreibung'), 'class'=>'form-control', 'rows'=>2)) }}
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="pos" class="form-label">{{ __('Position') }}</label>
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@
|
|||
</div>
|
||||
<div class="form-group ">
|
||||
<label for="full_text" class="form-label">{{ __('Beschreibung') }}</label>
|
||||
{{ Form::textarea('description', $value->description, array('Beschreibung'=>__('Beschreibung'), 'class'=>'form-control', 'rows'=>2)) }}
|
||||
{{ Form::textarea('description', $value->description, array('placeholder'=>__('Beschreibung'), 'class'=>'form-control', 'rows'=>2)) }}
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="pos" class="form-label">{{ __('Position') }}</label>
|
||||
|
|
|
|||
|
|
@ -14,8 +14,8 @@
|
|||
<script src="{{ asset('js/app.js') }}" defer></script>
|
||||
|
||||
<!-- Fonts -->
|
||||
<link rel="dns-prefetch" href="https://fonts.gstatic.com">
|
||||
<link href="https://fonts.googleapis.com/css?family=Nunito" rel="stylesheet" type="text/css">
|
||||
<link rel="stylesheet" href="{{ asset('/fonts/nunito.css') }}">
|
||||
|
||||
|
||||
<!-- Styles -->
|
||||
<link href="{{ asset('css/app.css') }}" rel="stylesheet">
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@
|
|||
<title>{{ config('app.name') }}</title>
|
||||
|
||||
<!-- Main font -->
|
||||
<link href="https://fonts.googleapis.com/css?family=Roboto:300,300i,400,400i,500,500i,700,700i,900" rel="stylesheet">
|
||||
<link rel="stylesheet" href="{{ asset('/fonts/roboto.css') }}">
|
||||
|
||||
<!-- Icons. Uncomment required icon fonts -->
|
||||
<link rel="stylesheet" href="{{ mix('/vendor/fonts/fontawesome.css') }}">
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@
|
|||
<link rel="icon" type="image/x-icon" href="favicon.ico">
|
||||
<meta name="csrf-token" content="{{ csrf_token() }}">
|
||||
|
||||
<link href="https://fonts.googleapis.com/css?family=Roboto:300,300i,400,400i,500,500i,700,700i,900" rel="stylesheet">
|
||||
<link rel="stylesheet" href="{{ asset('/fonts/roboto.css') }}">
|
||||
|
||||
<!-- Icons. Uncomment required icon fonts -->
|
||||
<link rel="stylesheet" href="{{ mix('/vendor/fonts/fontawesome.css') }}">
|
||||
|
|
|
|||
|
|
@ -414,30 +414,8 @@
|
|||
@if(Auth::user()->isSySAdmin())
|
||||
<li class="sidenav-divider mb-1"></li>
|
||||
<li class="sidenav-header small font-weight-semibold">SYSADMIN</li>
|
||||
|
||||
<li class="sidenav-item{{ Request::is('sysadmin/tools/*') ? ' open' : '' }}">
|
||||
<a href="javascript:void(0)" class="sidenav-link sidenav-toggle">
|
||||
<i class="sidenav-icon ion ion-ios-settings"></i>
|
||||
<div>{{ __('Tools') }}</div>
|
||||
</a>
|
||||
<ul class="sidenav-menu">
|
||||
<li class="sidenav-item{{ Request::is('sysadmin/tools/content_links') ? ' active' : '' }}">
|
||||
<a href="{{ route('sysadmin_tools_content_links') }}" class="sidenav-link"><i class="sidenav-icon ion ion-md-settings"></i><div>{{ __('todo some') }}</div></a>
|
||||
</li>
|
||||
<li class="sidenav-item{{ Request::is('sysadmin/tools/tree') ? ' active' : '' }}">
|
||||
<a href="{{ route('sysadmin_tools_tree') }}" class="sidenav-link"><i class="sidenav-icon ion ion-md-settings"></i><div>{{ __('Tree') }}</div></a>
|
||||
</li>
|
||||
<li class="sidenav-item{{ Request::is('sysadmin/tools/clean_tree_code') ? ' active' : '' }}">
|
||||
<a href="{{ route('sysadmin_tools_clean_tree_code') }}" class="sidenav-link"><i class="sidenav-icon ion ion-md-settings"></i><div>{{ __('Clean Tree Code') }}</div></a>
|
||||
</li>
|
||||
<li class="sidenav-item{{ Request::is('sysadmin/tools/media_insert') ? ' active' : '' }}">
|
||||
<a href="{{ route('sysadmin_tools_media_insert') }}" class="sidenav-link"><i class="sidenav-icon ion ion-md-settings"></i><div>{{ __('Media Insert') }}</div></a>
|
||||
</li>
|
||||
<li class="sidenav-item{{ Request::is('sysadmin/tools/import') ? ' active' : '' }}">
|
||||
<a href="{{ route('sysadmin_tools_import') }}" class="sidenav-link"><i class="sidenav-icon ion ion-md-settings"></i><div>{{ __('Import') }}</div></a>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
<li class="sidenav-item{{ Request::is('sysadmin/tools', 'sysadmin/tool/*') ? ' active' : '' }}">
|
||||
<a href="{{ route('sysadmin_tools') }}" class="sidenav-link"><i class="sidenav-icon ion ion-ios-cog"></i><div>Tools</div></a>
|
||||
</li>
|
||||
@endif
|
||||
|
||||
|
|
|
|||
19
resources/views/sys/index.blade.php
Normal file
19
resources/views/sys/index.blade.php
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
@extends('layouts.layout-2')
|
||||
|
||||
@section('content')
|
||||
|
||||
<div class="card mt-5">
|
||||
<h5 class="card-header py-4 px-5">Sys Admin Tools</h5>
|
||||
<div class="row no-gutters row-bordered">
|
||||
<div class="col-md-12 p-5">
|
||||
<a href="{{ route('sysadmin_tool', ['reimport']) }}" class="d-block mb-3"><i class="ion ion-ios-arrow-forward"></i> ReImport form travel_booking</a>
|
||||
<a href="{{ route('sysadmin_tool', ['calcu']) }}" class="d-block mb-3"><i class="ion ion-ios-arrow-forward"></i> ReCalc</a>
|
||||
<a href="{{ route('sysadmin_tool', ['tree']) }}" class="d-block mb-3"><i class="ion ion-ios-arrow-forward"></i> Tree</a>
|
||||
<a href="{{ route('sysadmin_tool', ['clean_tree_code']) }}" class="d-block mb-3"><i class="ion ion-ios-arrow-forward"></i> Clean Tree Code</a>
|
||||
<a href="{{ route('sysadmin_tool', ['media_insert']) }}" class="d-block mb-3"><i class="ion ion-ios-arrow-forward"></i> Media Insert</a>
|
||||
<a href="{{ route('sysadmin_tool', ['import']) }}" class="d-block mb-3"><i class="ion ion-ios-arrow-forward"></i> Import</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@endsection
|
||||
75
resources/views/sys/tools/reimport
Normal file
75
resources/views/sys/tools/reimport
Normal file
|
|
@ -0,0 +1,75 @@
|
|||
@extends('layouts.layout-2')
|
||||
|
||||
@section('content')
|
||||
|
||||
@if ($errors->any())
|
||||
<div class="row">
|
||||
<div class="col-sm-12">
|
||||
<div class="alert alert-danger">
|
||||
<ul>
|
||||
@foreach ($errors->all() as $error)
|
||||
<li>{{ $error }}</li>
|
||||
@endforeach
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@endif
|
||||
|
||||
|
||||
<h4 class="font-weight-bold mb-4">
|
||||
SysAdmin Kundenhoheit prüfen
|
||||
</h4>
|
||||
|
||||
{!! Form::open(['url' => route('sysadmin_tool_store', ['customers']), 'class' => '']) !!}
|
||||
<div class="card mb-4">
|
||||
|
||||
{{-- <div class="card-body">
|
||||
<!-- Controls -->
|
||||
|
||||
<button type="submit" name="action" value="checkForAll" class="btn btn-primary"><i class="ion"></i> checkForAll</button>
|
||||
|
||||
<button type="submit" name="action" value="makePaymentMethodsDefault" class="btn btn-primary"><i class="ion"></i> make PaymentMethods Default</button>
|
||||
|
||||
<button type="submit" name="action" value="checkContractPDF" class="btn btn-primary"><i class="ion"></i> check Contract PDF</button>
|
||||
|
||||
</div> --}}
|
||||
|
||||
@if(count($values)>0)
|
||||
<div class="card-body">
|
||||
|
||||
<div class="card-datatable table-responsive">
|
||||
<table class="table table-striped table-bordered">
|
||||
<thead>
|
||||
<tr>
|
||||
<th style="max-width: 60px;">ID</th>
|
||||
<th>{{__('Mail')}}</th>
|
||||
<th>{{__('is like')}}</th>
|
||||
<th>{{__('OrderID')}}</th>
|
||||
<th>{{__('txaction')}}</th>
|
||||
<th>{{__('Action')}}</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@foreach($values as $shopping_user)
|
||||
<tr>
|
||||
<td>{{$shopping_user->id}}</td>
|
||||
<td>{{$shopping_user->billing_email}}</td>
|
||||
<td>{{$shopping_user->is_like}}</td>
|
||||
<td>@if($shopping_user->shopping_order){{$shopping_user->shopping_order->id}}@endif</td>
|
||||
<td>@if($shopping_user->shopping_order){{$shopping_user->shopping_order->txaction}}@endif</td>
|
||||
<td><button type="submit" name="action" value="checkOne_{{$shopping_user->id}}" class="btn btn-xs btn-primary"><i class="ion"></i> checkOne</button></td>
|
||||
</tr>
|
||||
@endforeach
|
||||
</tbody>
|
||||
</table>
|
||||
<!-- Controls -->
|
||||
</div>
|
||||
</div>
|
||||
@endif
|
||||
|
||||
</div>
|
||||
{!! Form::close() !!}
|
||||
|
||||
@endsection
|
||||
|
||||
71
resources/views/sys/tools/reimport.blade.php
Normal file
71
resources/views/sys/tools/reimport.blade.php
Normal file
|
|
@ -0,0 +1,71 @@
|
|||
@extends('layouts.layout-2')
|
||||
|
||||
@section('content')
|
||||
|
||||
@if ($errors->any())
|
||||
<div class="row">
|
||||
<div class="col-sm-12">
|
||||
<div class="alert alert-danger">
|
||||
<ul>
|
||||
@foreach ($errors->all() as $error)
|
||||
<li>{{ $error }}</li>
|
||||
@endforeach
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@endif
|
||||
|
||||
|
||||
<h4 class="font-weight-bold mb-4">
|
||||
SysAdmin ReImport TravelBooking
|
||||
</h4>
|
||||
|
||||
{!! Form::open(['url' => route('sysadmin_tool_store', ['reimport']), 'class' => '']) !!}
|
||||
<div class="card mb-4">
|
||||
|
||||
{{-- <div class="card-body">
|
||||
<!-- Controls -->
|
||||
|
||||
<button type="submit" name="action" value="checkForAll" class="btn btn-primary"><i class="ion"></i> checkForAll</button>
|
||||
|
||||
<button type="submit" name="action" value="makePaymentMethodsDefault" class="btn btn-primary"><i class="ion"></i> make PaymentMethods Default</button>
|
||||
|
||||
<button type="submit" name="action" value="checkContractPDF" class="btn btn-primary"><i class="ion"></i> check Contract PDF</button>
|
||||
|
||||
</div> --}}
|
||||
|
||||
@if(count($values)>0)
|
||||
<div class="card-body">
|
||||
<div class="card-datatable table-responsive">
|
||||
<table class="table table-striped table-bordered">
|
||||
<thead>
|
||||
<tr>
|
||||
<th style="max-width: 60px;">ID</th>
|
||||
<th>crm_booking_id</th>
|
||||
<th>first_name</th>
|
||||
<th>last_name</th>
|
||||
<th>Action</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@foreach($values as $value)
|
||||
<tr>
|
||||
<td>{{$value->id}}</td>
|
||||
<td>{{$value->crm_booking_id}}</td>
|
||||
<td>{{$value->first_name}}</td>
|
||||
<td>{{$value->last_name}}</td>
|
||||
<td><button type="submit" name="action" value="checkOne_{{$value->id}}" class="btn btn-xs btn-primary"><i class="ion"></i> checkOne</button></td>
|
||||
</tr>
|
||||
@endforeach
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
@endif
|
||||
|
||||
</div>
|
||||
{!! Form::close() !!}
|
||||
|
||||
@endsection
|
||||
|
||||
|
|
@ -12,7 +12,7 @@
|
|||
</div>
|
||||
<div class="form-group col-sm-6 col-md-4">
|
||||
<label for="deposit_percent" class="form-label">{{ __(' Anzahlung in %') }}
|
||||
<button class="btn btn-xs btn-default" title=" wenn leer, default Wert 20%<br>0 = keine Anzahlung<br>Ägypten 20% vom Gesamtpreis<br>Rest 100% vom Flugpreis und 20% Landleistung" data-placement="top" rel="tooltip">
|
||||
<button type="button" class="btn btn-xs btn-default" title=" wenn leer, default Wert 20%<br>0 = keine Anzahlung<br>Ägypten 20% vom Gesamtpreis<br>Rest 100% vom Flugpreis und 20% Landleistung" data-placement="top" rel="tooltip">
|
||||
<i class="fa fa-info"></i></button></label>
|
||||
{{ Form::text('deposit_percent', $program->deposit_percent, array('class'=>'form-control', 'id'=>'deposit_percent')) }}
|
||||
</div>
|
||||
|
|
@ -43,12 +43,21 @@
|
|||
</div>
|
||||
|
||||
|
||||
<div class="form-group col-sm-6 col-md-4">
|
||||
<div class="form-group col-sm-12 col-md-12">
|
||||
<label for="generalnote" class="form-label">{{ __('Reisehinweise') }}* <a href="{{ route('admin_settings_gerneral_notes') }}"><i class="fa fa-edit"></i></a></label>
|
||||
{{ Form::select('generalnote', \App\Services\Model::getTravelGerneralNotesArray(true) , $program->generalnote, array('class'=>'custom-select', 'id'=>'generalnote')) }}
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<div class="form-group col-sm-12 col-md-12 ">
|
||||
<hr>
|
||||
<label for="payment_conditions" class="form-label">{{ __('Anzahlungsbedingungen') }}
|
||||
<button type="button" class="btn btn-xs btn-default" title=" wenn leer, default Text, sonst wird default Text komplett ersetzt." data-placement="top" rel="tooltip">
|
||||
<i class="fa fa-info"></i></button></label>
|
||||
{{ Form::textarea('payment_conditions', $program->payment_conditions, array('placeholder'=>__('Anzahlungsbedingungen'), 'class'=>'form-control autoExpand', 'rows'=>1)) }}
|
||||
<p class="small m-1">Default Text unter: <a href="{{ route('cms_content_all') }}">Admin -> Inhalte -> Allgemein (anzahlungsbedingungen)</a></p>
|
||||
<em class="small p-1 badge-outline-primary">{{ App\Models\CMSContent::getContentBySlug('anzahlungsbedingungen') }}</em>
|
||||
<hr>
|
||||
</div>
|
||||
<div class="col-sm-12">
|
||||
<div class="text-left mt-2">
|
||||
<button type="submit" name="action" value="saveDetails" class="btn btn-sm btn-secondary">Änderungen speichern</button>
|
||||
|
|
|
|||
|
|
@ -15,7 +15,10 @@
|
|||
<th style="max-width: 60px;"> </th>
|
||||
<th>{{__('Programm')}}</th>
|
||||
<th>{{__('Code')}}</th>
|
||||
{{-- <th>{{__('Keywords')}}</th> --}}
|
||||
<th>{{__('Reiseland')}}</th>
|
||||
<th>{{__('Dauer')}}</th>
|
||||
<th>{{__('Wochentage')}}</th>
|
||||
<th>{{__('Saison')}}</th>
|
||||
<th>{{__('Vorlage')}}</th>
|
||||
<th>{{__('Status')}}</th>
|
||||
</tr>
|
||||
|
|
@ -32,17 +35,31 @@
|
|||
<td>
|
||||
{{ $value->program_code }}
|
||||
</td>
|
||||
{{--
|
||||
<td>
|
||||
{{ $value->program_code }}
|
||||
@if($value->category_id)
|
||||
{{ $value->travel_program_category->name }}
|
||||
@endif
|
||||
</td>
|
||||
--}}
|
||||
<td data-size="{{ $value->hasTravelProgramDrafts() }}">
|
||||
<td>
|
||||
{{ $value->program_duration }}
|
||||
</td>
|
||||
<td>
|
||||
{{ HTMLHelper::getWeekdaysString($value->getWeekdaysArray(), true) }}
|
||||
</td>
|
||||
<td data-sort="{{ $value->is_seasonal }}">
|
||||
@if($value->is_seasonal)
|
||||
<span class="badge badge-pill badge-success"><i class="fa fa-check"></i></span>
|
||||
@else
|
||||
<span class="badge badge-pill badge-danger"><i class="fa fa-times"></i></span>
|
||||
@endif
|
||||
</td>
|
||||
<td data-sort="{{ $value->hasTravelProgramDrafts() }}">
|
||||
@if($value->hasTravelProgramDrafts())
|
||||
<span class="badge badge-pill badge-success"><i class="fa fa-check"></i></span>
|
||||
@else
|
||||
<span class="badge badge-pill badge-danger"><i class="fa fa-times"></i></span>
|
||||
@endif
|
||||
</td>
|
||||
<td data-sort="{{ $value->status }}">
|
||||
@if($value->status)
|
||||
<span class="badge badge-pill badge-success"><i class="fa fa-check"></i></span>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue