08 2024
This commit is contained in:
parent
c1c613a4b9
commit
881fc84207
384 changed files with 50679 additions and 990 deletions
|
|
@ -72,9 +72,12 @@
|
|||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="card-datatable table-responsive">
|
||||
<table class="datatables-report table table-striped table-bordered">
|
||||
<div class="table-responsive-track" id="datatables-report-scroll">
|
||||
<div class="table-responsive-thumb" id="datatables-report-thumb">
|
||||
</div>
|
||||
</div>
|
||||
<div class="card-datatable table-responsive" id="datatables-report-table">
|
||||
<table class="datatables-report table table-striped table-bordered" id="datatables-report">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>BuchungsID</th>
|
||||
|
|
@ -116,6 +119,7 @@
|
|||
var table = $('.datatables-report').DataTable({
|
||||
"processing": true,
|
||||
"serverSide": true,
|
||||
"searching": false,
|
||||
"ajax": {
|
||||
"url": '{!! route( 'admin_report_bookings_datatable' ) !!}',
|
||||
"data": function(d) {
|
||||
|
|
@ -150,6 +154,7 @@
|
|||
"url": "/js/German.json"
|
||||
},
|
||||
drawCallback: function (settings) {
|
||||
dataTableScrollTrack('#datatables-report');
|
||||
$('#order_table').val(table.order());
|
||||
$('#price_total_sum').html(settings.json.price_total_sum);
|
||||
$('#price_total_total_sum').html(settings.json.price_total_total_sum);
|
||||
|
|
|
|||
|
|
@ -72,9 +72,12 @@
|
|||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="card-datatable table-responsive">
|
||||
<table class="datatables-report table table-striped table-bordered">
|
||||
<div class="table-responsive-track" id="datatables-report-scroll">
|
||||
<div class="table-responsive-thumb" id="datatables-report-thumb">
|
||||
</div>
|
||||
</div>
|
||||
<div class="card-datatable table-responsive" id="datatables-report-table">
|
||||
<table class="datatables-report table table-striped table-bordered" id="datatables-report">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>BuchungsID</th>
|
||||
|
|
@ -109,6 +112,7 @@
|
|||
var table = $('.datatables-report').DataTable({
|
||||
"processing": true,
|
||||
"serverSide": true,
|
||||
"searching": false,
|
||||
"ajax": {
|
||||
"url": '{!! route( 'admin_report_check_bookings_datatable' ) !!}',
|
||||
"data": function(d) {
|
||||
|
|
@ -143,6 +147,7 @@
|
|||
"url": "/js/German.json"
|
||||
},
|
||||
drawCallback: function (settings) {
|
||||
dataTableScrollTrack('#datatables-report');
|
||||
$('#order_table').val(table.order());
|
||||
}
|
||||
});
|
||||
|
|
|
|||
156
resources/views/admin/report/fewo.blade.php
Normal file
156
resources/views/admin/report/fewo.blade.php
Normal file
|
|
@ -0,0 +1,156 @@
|
|||
@extends('layouts.layout-2')
|
||||
|
||||
@section('content')
|
||||
<h4 class="font-weight-bold py-3 mb-1">
|
||||
Buchungen FeWo
|
||||
</h4>
|
||||
<div class="card">
|
||||
{!! Form::open(['url' => route('admin_report_export_fewo'), 'class' => '']) !!}
|
||||
{!! Form::hidden('order', '[[0, "asc"]]', ['id'=>'order_table']) !!}
|
||||
<div class="ui-bordered px-4 pt-3 mb-0">
|
||||
<div class="form-row align-items-center">
|
||||
|
||||
<div class="col-12 col-md-3 mb-2">
|
||||
<label class="form-label" for="filter_option_fewo_id">Filter FeWo</label>
|
||||
<select class="custom-select" name="filter_option_fewo_id" id="filter_option_fewo_id">
|
||||
<option value="">alle FeWo</option>
|
||||
@foreach($filter_fewo_options as $id=>$name)
|
||||
<option value="{{$id}}">{{$name}}</option>
|
||||
@endforeach
|
||||
</select>
|
||||
</div>
|
||||
<div class="col-12 col-md-3 mb-2">
|
||||
<label class="form-label">Reisedatum</label>
|
||||
<div class="row">
|
||||
<div class="input-group col-6 pr-0">
|
||||
<div class="input-group-prepend">
|
||||
<span class="input-group-text">von</span>
|
||||
</div>
|
||||
<input class="form-control datepicker-base" name="filter_date_from" type="text" value="">
|
||||
</div>
|
||||
|
||||
<div class="input-group col-6 pl-1">
|
||||
<div class="input-group-prepend">
|
||||
<span class="input-group-text">bis</span>
|
||||
</div>
|
||||
<input class="form-control datepicker-base" name="filter_date_to" type="text" value="">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="col-12 col-md-3 mb-2">
|
||||
<label class="form-label">Buchungsdatum</label>
|
||||
<div class="row">
|
||||
<div class="input-group col-6 pr-0">
|
||||
<div class="input-group-prepend">
|
||||
<span class="input-group-text">von</span>
|
||||
</div>
|
||||
<input class="form-control datepicker-base" name="filter_booking_date_from" type="text" value="">
|
||||
</div>
|
||||
|
||||
<div class="input-group col-6 pl-1">
|
||||
<div class="input-group-prepend">
|
||||
<span class="input-group-text">bis</span>
|
||||
</div>
|
||||
<input class="form-control datepicker-base" name="filter_booking_date_to" type="text" value="">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="col-12 mb-4">
|
||||
<a href="{{ route('admin_report_fewo') }}" class="btn icon-btn btn-sm btn-outline-dark">
|
||||
<span class="fa fa-sync"></span>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="table-responsive-track" id="datatables-report-scroll">
|
||||
<div class="table-responsive-thumb" id="datatables-report-thumb">
|
||||
</div>
|
||||
</div>
|
||||
<div class="card-datatable table-responsive" id="datatables-report-table">
|
||||
<table class="datatables-report table table-striped table-bordered" id="datatables-report">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>ID</th>
|
||||
<th>{{__('FeWo')}}</th>
|
||||
<th>{{__('Kunde')}}</th>
|
||||
<th>{{__('vom')}}</th>
|
||||
<th>{{__('bis')}}</th>
|
||||
<th>{{__('Erwachsene')}}</th>
|
||||
<th>{{__('Kinder')}}</th>
|
||||
<th>{{__('Gesamt')}}</th>
|
||||
<th>{{__('Betrag')}}</th>
|
||||
<th>{{__('Buchungsdatum')}}</th>
|
||||
<th>{{__('R.-Nr.')}}</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody></tbody>
|
||||
<tfoot>
|
||||
<tr>
|
||||
<td colspan="8">Total</td>
|
||||
<td id="price_total_sum">0</td>
|
||||
<td colspan="2"></td>
|
||||
</tr>
|
||||
</tfoot>
|
||||
</table>
|
||||
|
||||
<div class="mt-4 col">
|
||||
<button type="submit" name="export" value="export" class="btn btn-primary"><i class="ion"></i> Export </button>
|
||||
</div>
|
||||
</div>
|
||||
{!! Form::close() !!}
|
||||
</div>
|
||||
|
||||
<script>
|
||||
$( document ).ready(function() {
|
||||
var table = $('.datatables-report').DataTable({
|
||||
"processing": true,
|
||||
"serverSide": true,
|
||||
"searching": false,
|
||||
"ajax": {
|
||||
"url": '{!! route( 'admin_report_fewo_datatable' ) !!}',
|
||||
"data": function(d) {
|
||||
d.filter_date_from = $('input[name=filter_date_from]').val();
|
||||
d.filter_date_to = $('input[name=filter_date_to]').val();
|
||||
d.filter_booking_date_from = $('input[name=filter_booking_date_from]').val();
|
||||
d.filter_booking_date_to = $('input[name=filter_booking_date_to]').val();
|
||||
d.filter_option_fewo_id = $('#filter_option_fewo_id').val();
|
||||
}
|
||||
},
|
||||
"columns": [
|
||||
{ data: 'id', name: 'id' },
|
||||
{ data: 'fewo_lodging.name', name: 'fewo_lodging.name' },
|
||||
{ data: 'travel_user', name: 'travel_user', orderable: false, },
|
||||
{ data: 'from_date', name: 'from_date' },
|
||||
{ data: 'to_date', name: 'to_date' },
|
||||
{ data: 'adults', name: 'adults' },
|
||||
{ data: 'children', name: 'children' },
|
||||
{ data: 'persons', name: 'persons' },
|
||||
{ data: 'price_total', name: 'price_total' },
|
||||
{ data: 'booking_date', name: 'booking_date' },
|
||||
{ data: 'invoice_number', name: 'invoice_number' }, //orderable: false, searchable: false
|
||||
],
|
||||
"order": [[ 0, "desc" ]],
|
||||
"orderSequence": ["desc", "asc"],
|
||||
"bLengthChange": false,
|
||||
"iDisplayLength": 100,
|
||||
"language": {
|
||||
"url": "/js/German.json"
|
||||
},
|
||||
drawCallback: function (settings) {
|
||||
dataTableScrollTrack('#datatables-report');
|
||||
$('#order_table').val(table.order());
|
||||
$('#price_total_sum').html(settings.json.price_total_sum);
|
||||
}
|
||||
});
|
||||
$('#filter_option_fewo_id, #filter_is_cleared, #filter_sort_by').on('change', function(){
|
||||
console.log("asd");
|
||||
table.order( [ 0, 'desc' ] ).draw();
|
||||
});
|
||||
$('.datepicker-base').on('change', function(){
|
||||
table.order( [ 0, 'desc' ] ).draw();
|
||||
});
|
||||
});
|
||||
</script>
|
||||
@endsection
|
||||
175
resources/views/admin/report/leads.blade.php
Normal file
175
resources/views/admin/report/leads.blade.php
Normal file
|
|
@ -0,0 +1,175 @@
|
|||
@extends('layouts.layout-2')
|
||||
|
||||
@section('content')
|
||||
<h4 class="font-weight-bold py-3 mb-1">
|
||||
Buchungen Anfragen
|
||||
</h4>
|
||||
<div class="card">
|
||||
{!! Form::open(['url' => route('admin_report_export_leads'), 'class' => '']) !!}
|
||||
{!! Form::hidden('order', '[[0, "asc"]]', ['id'=>'order_table']) !!}
|
||||
<div class="ui-bordered px-4 pt-3 mb-0">
|
||||
<div class="form-row align-items-center">
|
||||
|
||||
{{--
|
||||
<div class="col-12 col-md-3 mb-2">
|
||||
<label class="form-label" for="filter_option_leads_id">Filter FeWo</label>
|
||||
<select class="custom-select" name="filter_option_leads_id" id="filter_option_leads_id">
|
||||
<option value="">alle ...</option>
|
||||
@foreach($filter_leads_options as $id=>$name)
|
||||
<option value="{{$id}}">{{$name}}</option>
|
||||
@endforeach
|
||||
</select>
|
||||
</div>
|
||||
--}}
|
||||
<div class="col-12 col-md-4 mb-2">
|
||||
<label class="form-label">Anfragedatum</label>
|
||||
<div class="row">
|
||||
<div class="input-group col-6 pr-0">
|
||||
<div class="input-group-prepend">
|
||||
<span class="input-group-text">von</span>
|
||||
</div>
|
||||
<input class="form-control datepicker-base" name="filter_date_from" type="text" value="">
|
||||
</div>
|
||||
|
||||
<div class="input-group col-6 pl-1">
|
||||
<div class="input-group-prepend">
|
||||
<span class="input-group-text">bis</span>
|
||||
</div>
|
||||
<input class="form-control datepicker-base" name="filter_date_to" type="text" value="">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="col-2 mb-4">
|
||||
<a href="{{ route('admin_report_leads') }}" class="btn icon-btn btn-sm btn-outline-dark mt-4">
|
||||
<span class="fa fa-sync"></span>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="table-responsive-track" id="datatables-report-scroll">
|
||||
<div class="table-responsive-thumb" id="datatables-report-thumb">
|
||||
</div>
|
||||
</div>
|
||||
<div class="card-datatable table-responsive" id="datatables-report-table">
|
||||
<table class="datatables-report table table-striped table-bordered" id="datatables-report">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>{{__('LeadID')}}</th>
|
||||
<th>{{__('KundenID')}}</th>
|
||||
<th>{{__('Vorname')}}</th>
|
||||
<th>{{__('Nachname')}}</th>
|
||||
<th>{{__('E-Mail')}}</th>
|
||||
<th>{{__('Anfrage-Datum')}}</th>
|
||||
<th>{{__('Reiseland')}}</th>
|
||||
<th>{{__('Sachbearbeiter')}}</th>
|
||||
<th>{{__('Status')}}</th>
|
||||
<th>{{__('E-Mail')}}</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
<div class="mt-4 col">
|
||||
<div class="d-none" id="filter-btn-show">
|
||||
<button type="submit" name="export" value="export" class="btn btn-primary"><i class="ion"></i> Export </button>
|
||||
</div>
|
||||
<div class="alert alert-danger" id="filter-btn-hide">
|
||||
Max. Export 1000 Einträge, über Datum filtern.
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{!! Form::close() !!}
|
||||
</div>
|
||||
|
||||
<script>
|
||||
$( document ).ready(function() {
|
||||
var table = $('.datatables-report').DataTable({
|
||||
"processing": true,
|
||||
"serverSide": true,
|
||||
"searching": false,
|
||||
"ajax": {
|
||||
"url": '{!! route( 'admin_report_leads_datatable' ) !!}',
|
||||
"data": function(d) {
|
||||
d.filter_date_from = $('input[name=filter_date_from]').val();
|
||||
d.filter_date_to = $('input[name=filter_date_to]').val();
|
||||
}
|
||||
},
|
||||
"columns": [
|
||||
{ data: 'id', name: 'id' },
|
||||
{ data: 'customer_id', name: 'customer_id' },
|
||||
{ data: 'customer.firstname', name: 'customer.firstname' },
|
||||
{ data: 'customer.name', name: 'customer.name' },
|
||||
{ data: 'customer.email', name: 'customer.email' },
|
||||
{ data: 'request_date', name: 'request_date' },
|
||||
{ data: 'travel_country', name: 'travel_country', orderable: false },
|
||||
{ data: 'sf_guard_user.last_name', name: 'sf_guard_user.last_name', searchable: false },
|
||||
{ data: 'status', name: 'status' },
|
||||
{ data: 'last_lead_email', name: 'last_lead_email', orderable: true },
|
||||
],
|
||||
"order": [[ 0, "desc" ]],
|
||||
"orderSequence": ["desc", "asc"],
|
||||
"bLengthChange": false,
|
||||
"iDisplayLength": 100,
|
||||
"language": {
|
||||
"url": "/js/German.json"
|
||||
},
|
||||
drawCallback: function (settings) {
|
||||
dataTableScrollTrack('#datatables-report');
|
||||
|
||||
if(settings.json.recordsTotal > 1000){
|
||||
$('#filter-btn-hide').removeClass('d-none');
|
||||
$('#filter-btn-show').addClass('d-none');
|
||||
}else{
|
||||
$('#filter-btn-hide').addClass('d-none');
|
||||
$('#filter-btn-show').removeClass('d-none');
|
||||
}
|
||||
$('#order_table').val(table.order());
|
||||
$('#datatables-report [rel="tooltip"]').tooltip({trigger: "hover"});
|
||||
$('#datatables-report [data-toggle="popover"]').popover({trigger: "hover", content: get_popover_content, html: true,});
|
||||
}
|
||||
});
|
||||
$('#filter_option_leads_id, #filter_is_cleared, #filter_sort_by').on('change', function(){
|
||||
// console.log("asd");
|
||||
table.order( [ 0, 'desc' ] ).draw();
|
||||
});
|
||||
$('.datepicker-base').on('change', function(){
|
||||
table.order( [ 0, 'desc' ] ).draw();
|
||||
});
|
||||
|
||||
function get_popover_content() {
|
||||
if ($(this).data('lead_id')) {
|
||||
var data = {};
|
||||
data['action'] = $(this).data('action');
|
||||
data['lead_id'] = $(this).data('lead_id');
|
||||
$(this).addClass("loading");
|
||||
var icontent = $.ajax({
|
||||
url: '{!! route( 'lead_ajax_requests' ) !!}',
|
||||
data: data,
|
||||
type: "POST",
|
||||
dataType: "html",
|
||||
cache: false,
|
||||
contentType: 'application/x-www-form-urlencoded; charset=UTF-8',
|
||||
encode: true,
|
||||
async: false,
|
||||
headers: {
|
||||
'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content')
|
||||
},
|
||||
success: function() {
|
||||
// just get the response
|
||||
},
|
||||
error: function() {
|
||||
// nothing
|
||||
}
|
||||
}).responseText;
|
||||
$(this).removeClass("loading");
|
||||
return icontent;
|
||||
}
|
||||
return "Keine Buchungs-ID";
|
||||
}
|
||||
});
|
||||
</script>
|
||||
@endsection
|
||||
|
|
@ -11,7 +11,7 @@
|
|||
<div class="ui-bordered px-4 pt-3 mb-0">
|
||||
<div class="form-row align-items-center">
|
||||
|
||||
<div class="col-12 col-md-4 mb-2">
|
||||
<div class="col-12 col-md-3 mb-2">
|
||||
<label class="form-label" for="filter_lead_status_id">Filter Status</label>
|
||||
<select class="selectpicker" data-style="btn-default" name="filter_lead_status_id[]" id="filter_lead_status_id" multiple>
|
||||
@foreach($filter_lead_status as $id=>$name)
|
||||
|
|
@ -45,7 +45,26 @@
|
|||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-6 col-md-2 mb-2">
|
||||
<div class="col-12 col-md-3 mb-2">
|
||||
<label class="form-label">Buchungsdatum</label>
|
||||
<div class="row">
|
||||
<div class="input-group col-6 pr-0">
|
||||
<div class="input-group-prepend">
|
||||
<span class="input-group-text">von</span>
|
||||
</div>
|
||||
<input class="form-control datepicker-base" name="filter_booking_date_from" type="text" value="">
|
||||
</div>
|
||||
|
||||
<div class="input-group col-6 pl-1">
|
||||
<div class="input-group-prepend">
|
||||
<span class="input-group-text">bis</span>
|
||||
</div>
|
||||
<input class="form-control datepicker-base" name="filter_booking_date_to" type="text" value="">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="col-6 col-md-3 mb-2">
|
||||
<label class="form-label" for="filter_is_cleared">Bezahlt</label>
|
||||
<select class="custom-select" name="filter_is_cleared" id="filter_is_cleared">
|
||||
<option value="">Filter aus</option>
|
||||
|
|
@ -68,9 +87,12 @@
|
|||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="card-datatable table-responsive">
|
||||
<table class="datatables-report table table-striped table-bordered">
|
||||
<div class="table-responsive-track" id="datatables-report-scroll">
|
||||
<div class="table-responsive-thumb" id="datatables-report-thumb">
|
||||
</div>
|
||||
</div>
|
||||
<div class="card-datatable table-responsive" id="datatables-report-table">
|
||||
<table class="datatables-report table table-striped table-bordered" id="datatables-report">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>SPE ID</th>
|
||||
|
|
@ -85,6 +107,7 @@
|
|||
<th>{{__('Nachname')}}</th>
|
||||
<th>{{__('Reisedatum')}}</th>
|
||||
<th>{{__('bis')}}</th>
|
||||
<th>{{__('Buchungsdatum')}}</th>
|
||||
<th>{{__('bezahlt')}}</th>
|
||||
</tr>
|
||||
</thead>
|
||||
|
|
@ -113,6 +136,7 @@
|
|||
var table = $('.datatables-report').DataTable({
|
||||
"processing": true,
|
||||
"serverSide": true,
|
||||
"searching": false,
|
||||
"ajax": {
|
||||
"url": '{!! route( 'admin_report_providers_datatable' ) !!}',
|
||||
"data": function(d) {
|
||||
|
|
@ -120,6 +144,8 @@
|
|||
d.filter_service_provider_id = $('select[name=filter_service_provider_id]').val();
|
||||
d.filter_travel_date_from = $('input[name=filter_travel_date_from]').val();
|
||||
d.filter_travel_date_to = $('input[name=filter_travel_date_to]').val();
|
||||
d.filter_booking_date_from = $('input[name=filter_booking_date_from]').val();
|
||||
d.filter_booking_date_to = $('input[name=filter_booking_date_to]').val();
|
||||
d.filter_is_cleared = $('select[name=filter_is_cleared]').val();
|
||||
d.filter_db_lead_status_id = $('#filter_lead_status_id').val();
|
||||
d.filter_travel_company_id = $('#filter_travel_company_id').val();
|
||||
|
|
@ -136,9 +162,9 @@
|
|||
{ data: 'booking.proceeds', name: 'booking.proceeds', orderable: false },
|
||||
{ data: 'booking.customer.firstname', name: 'booking.customer.firstname' },
|
||||
{ data: 'booking.customer.name', name: 'booking.customer.name' },
|
||||
|
||||
{ data: 'booking.start_date', name: 'booking.start_date' },
|
||||
{ data: 'booking.end_date', name: 'booking.end_date' },
|
||||
{ data: 'booking.booking_date', name: 'booking.booking_date' },
|
||||
{ data: 'is_cleared', name: 'is_cleared' },
|
||||
],
|
||||
"order": [[ 10, "asc" ]],
|
||||
|
|
@ -149,6 +175,7 @@
|
|||
"url": "/js/German.json"
|
||||
},
|
||||
drawCallback: function (settings) {
|
||||
dataTableScrollTrack('#datatables-report');
|
||||
$('#order_table').val(table.order());
|
||||
$('#price_total_sum').html(settings.json.price_total_sum);
|
||||
$('#price_total_total_sum').html(settings.json.price_total_total_sum);
|
||||
|
|
|
|||
|
|
@ -9,11 +9,15 @@
|
|||
|
||||
|
||||
<div class="card">
|
||||
<div class="card-datatable table-responsive py-2">
|
||||
<div class="table-responsive-track" id="datatables-users-scroll">
|
||||
<div class="table-responsive-thumb" id="datatables-users-thumb">
|
||||
</div>
|
||||
</div>
|
||||
<div class="card-datatable table-responsive py-2" id="datatables-users-table">
|
||||
<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">
|
||||
<table class="datatables-users table table-striped table-bordered" id="datatables-users">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>#</th>
|
||||
|
|
@ -106,6 +110,9 @@
|
|||
e.preventDefault();
|
||||
update_modal_data_show(e, $(this));
|
||||
});
|
||||
},
|
||||
drawCallback: function () {
|
||||
dataTableScrollTrack('#datatables-users');
|
||||
}
|
||||
});
|
||||
|
||||
|
|
|
|||
|
|
@ -27,31 +27,58 @@
|
|||
<form method="POST" class="my-5" action="{{ route('login') }}" aria-label="{{ __('Login') }}">
|
||||
@csrf
|
||||
|
||||
@if(Util::isTestSystem(true))
|
||||
<h4>TestSystem</h4>
|
||||
<div class="form-group">
|
||||
<label class="form-label">{{ __('E-Mail Address') }}</label>
|
||||
<input id="email" type="email" class="form-control{{ $errors->has('email') ? ' is-invalid' : '' }}" name="email" value="kevin.adametz@me.com" required autofocus>
|
||||
|
||||
<div class="form-group">
|
||||
<label class="form-label">{{ __('E-Mail Address') }}</label>
|
||||
<input id="email" type="email" class="form-control{{ $errors->has('email') ? ' is-invalid' : '' }}" name="email" value="{{ old('email') }}" required autofocus>
|
||||
@if ($errors->has('email'))
|
||||
<span class="invalid-feedback" role="alert">
|
||||
<strong>{{ $errors->first('email') }}</strong>
|
||||
</span>
|
||||
@endif
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="form-label d-flex justify-content-between align-items-end">
|
||||
<div>{{ __('Password') }}</div>
|
||||
<a class="" href="{{ route('password.request') }}">
|
||||
{{ __('Forgot your Password?') }}
|
||||
</a>
|
||||
</label>
|
||||
<input id="password" type="password" class="form-control{{ $errors->has('password') ? ' is-invalid' : '' }}" name="password" value="passwort123!test" required>
|
||||
@if ($errors->has('password'))
|
||||
<span class="invalid-feedback" role="alert">
|
||||
<strong>{{ $errors->first('password') }}</strong>
|
||||
</span>
|
||||
@endif
|
||||
</div>
|
||||
@else
|
||||
<div class="form-group">
|
||||
<label class="form-label">{{ __('E-Mail Address') }}</label>
|
||||
<input id="email" type="email" class="form-control{{ $errors->has('email') ? ' is-invalid' : '' }}" name="email" value="{{ old('email') }}" required autofocus>
|
||||
|
||||
@if ($errors->has('email'))
|
||||
<span class="invalid-feedback" role="alert">
|
||||
<strong>{{ $errors->first('email') }}</strong>
|
||||
</span>
|
||||
@endif
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="form-label d-flex justify-content-between align-items-end">
|
||||
<div>{{ __('Password') }}</div>
|
||||
<a class="" href="{{ route('password.request') }}">
|
||||
{{ __('Forgot your Password?') }}
|
||||
</a>
|
||||
</label>
|
||||
<input id="password" type="password" class="form-control{{ $errors->has('password') ? ' is-invalid' : '' }}" name="password" required>
|
||||
@if ($errors->has('password'))
|
||||
<span class="invalid-feedback" role="alert">
|
||||
<strong>{{ $errors->first('password') }}</strong>
|
||||
</span>
|
||||
@endif
|
||||
</div>
|
||||
@if ($errors->has('email'))
|
||||
<span class="invalid-feedback" role="alert">
|
||||
<strong>{{ $errors->first('email') }}</strong>
|
||||
</span>
|
||||
@endif
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="form-label d-flex justify-content-between align-items-end">
|
||||
<div>{{ __('Password') }}</div>
|
||||
<a class="" href="{{ route('password.request') }}">
|
||||
{{ __('Forgot your Password?') }}
|
||||
</a>
|
||||
</label>
|
||||
<input id="password" type="password" class="form-control{{ $errors->has('password') ? ' is-invalid' : '' }}" name="password" required>
|
||||
@if ($errors->has('password'))
|
||||
<span class="invalid-feedback" role="alert">
|
||||
<strong>{{ $errors->first('password') }}</strong>
|
||||
</span>
|
||||
@endif
|
||||
</div>
|
||||
@endif
|
||||
<div class="d-flex justify-content-between align-items-center m-0">
|
||||
<label class="custom-control custom-checkbox m-0">
|
||||
<input type="checkbox" class="custom-control-input" name="remember" {{ old('remember') ? 'checked' : '' }}>
|
||||
|
|
|
|||
|
|
@ -44,7 +44,7 @@
|
|||
|
||||
<div class="text-left mt-3">
|
||||
<button type="submit" name="action" value="saveAll" class="btn btn-submit">{{ __('save changes') }}</button>
|
||||
<a href="{{route('bookings')}}" class="btn btn-default">{{ __('zur Übersicht') }}</a>
|
||||
<a href="{{route('requests')}}" class="btn btn-default">{{ __('zur Übersicht') }}</a>
|
||||
<a href="{{ make_old_url('/index.php/booking/'.$booking->id.'/edit') }}" class="btn btn-default float-right">{{ __('zurück ins CRM v2') }}</a>
|
||||
</div>
|
||||
<hr>
|
||||
|
|
@ -175,7 +175,7 @@
|
|||
|
||||
<div class="text-left mt-3">
|
||||
<button type="submit" name="action" value="saveAll" class="btn btn-submit">{{ __('save changes') }}</button>
|
||||
<a href="{{route('bookings')}}" class="btn btn-default">{{ __('zur Übersicht') }}</a>
|
||||
<a href="{{route('requests')}}" class="btn btn-default">{{ __('zur Übersicht') }}</a>
|
||||
<a href="{{ make_old_url('/index.php/booking/'.$booking->id.'/edit') }}" class="btn btn-default float-right">{{ __('zurück ins CRM v2') }}</a>
|
||||
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -44,11 +44,16 @@
|
|||
</label>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="form-group col-sm-6 col-md-3">
|
||||
<label class="form-label" for="airport_id">{{ __('Ariport') }}</label>
|
||||
{{ Form::select('airport_id', \App\Services\Model::getAirportArray(true) , $booking->airport_id, array('class'=>'custom-select', 'id'=>'airport_id')) }}
|
||||
</div>
|
||||
|
||||
<div class="form-group col-sm-6 col-md-3">
|
||||
<label for="airline_ids" class="form-label">{{ __('Airline:s') }}</label>
|
||||
{{ Form::select('airline_ids[]', \App\Models\Airline::getAsNameIdArray() , $booking->airline_ids, array('class'=>'selectpicker', 'id'=>'airline_ids', 'data-style'=>"btn-default", 'multiple')) }}
|
||||
</div>
|
||||
|
||||
|
||||
<div class="form-group col-sm-6 col-md-3">
|
||||
<label class="form-label" for="start_date">{{ __('Aufenthalt vom') }}</label>
|
||||
|
|
@ -68,11 +73,7 @@
|
|||
{{ Form::text('end_date', _format_date($booking->end_date), array('placeholder'=>__('Aufenthalt bis'), 'class'=>'form-control datepicker-base', 'id'=>'end_date')) }}
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group col-sm-6 col-md-3">
|
||||
<label class="form-label" for="pax">{{ __('Pax') }}</label>
|
||||
{{ Form::select('pax', range(0, 80) , $booking->pax, array('class'=>'custom-select', 'id'=>'pax')) }}
|
||||
</div>
|
||||
|
||||
|
||||
<div class="form-group col-sm-6 col-md-3">
|
||||
<label class="form-label" for="title">{{ __('Reisetitel') }}</label>
|
||||
{{ Form::text('title', $booking->title, array('placeholder'=>__('Reisetitel'), 'class'=>'form-control', 'id'=>'title')) }}
|
||||
|
|
@ -83,15 +84,17 @@
|
|||
{{ Form::select('travel_documents', [0=>'nicht vollständig', 1=>'vollständig'], $booking->travel_documents, array('class'=>'custom-select', 'id'=>'travel_documents')) }}
|
||||
</div>
|
||||
|
||||
<div class="form-group col-sm-6 col-md-3">
|
||||
<label class="form-label" for="branch_id">{{ __('Filiale') }}</label>
|
||||
{{ Form::select('branch_id', \App\Services\Model::getBranchArray(false) , $booking->branch_id, array('class'=>'custom-select', 'id'=>'branch_id')) }}
|
||||
</div>
|
||||
|
||||
|
||||
<div class="form-group col-sm-6 col-md-3">
|
||||
<label class="form-label" for="travel_company_id">{{ __('Reiseveranstalter') }}</label>
|
||||
{{ Form::select('travel_company_id', \App\Services\Model::getTravelCompanyArray(false) , $booking->travel_company_id, array('class'=>'custom-select', 'id'=>'travel_company_id')) }}
|
||||
</div>
|
||||
|
||||
<div class="form-group col-sm-6 col-md-3">
|
||||
<label class="form-label" for="pax">{{ __('Pax') }}</label>
|
||||
{{ Form::select('pax', range(0, 80) , $booking->pax, array('class'=>'custom-select', 'id'=>'pax')) }}
|
||||
</div>
|
||||
|
||||
|
||||
<div class="form-group col-sm-12 col-md-12">
|
||||
<label class="form-label" for="travel_company_id">{{ __('Reiseversicherung') }}</label><br>
|
||||
|
|
@ -171,7 +174,7 @@
|
|||
<hr>
|
||||
<div class="text-left mt-3">
|
||||
<button type="submit" name="action" value="update_booking" class="btn btn-sm btn-secondary">{{ __('save changes') }}</button>
|
||||
<a href="{{route('bookings')}}" class="btn btn-sm btn-default">{{ __('zur Übersicht') }}</a>
|
||||
<a href="{{route('requests')}}" class="btn btn-sm btn-default">{{ __('zur Übersicht') }}</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
|
|
|||
|
|
@ -60,7 +60,7 @@
|
|||
<hr>
|
||||
<div class="text-left mt-3">
|
||||
<button type="submit" name="action" value="update_booking_service_item" class="btn btn-sm btn-secondary">{{ __('save changes') }}</button>
|
||||
<a href="{{route('bookings')}}" class="btn btn-sm btn-default">{{ __('zur Übersicht') }}</a>
|
||||
<a href="{{route('requests')}}" class="btn btn-sm btn-default">{{ __('zur Übersicht') }}</a>
|
||||
<a href="{{route('booking_action', ['booking_service_item_add', $booking->id])}}" class="btn btn-sm btn-primary float-right ml-2"><i class="fa fa-plus-circle"></i> {{ __('Neue Leistung') }}</a>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
82
resources/views/booking/_detail_customer.blade.php
Normal file
82
resources/views/booking/_detail_customer.blade.php
Normal file
|
|
@ -0,0 +1,82 @@
|
|||
<div class="card mb-2 border-primary">
|
||||
<h6 class="card-header bg-primary text-white py-2" data-toggle="collapse" data-target="#collapseBookingCustomer" aria-expanded="false" aria-controls="collapseBookingCustomer">
|
||||
<strong style="line-height: 1.6em">Kunde</strong>
|
||||
</h6>
|
||||
<div class="collapse" id="collapseBookingCustomer">
|
||||
<div class="card-body">
|
||||
@if($booking->customer->count())
|
||||
<div class="form-row">
|
||||
<div class="form-group col-sm-6">
|
||||
<label class="form-label" for="customer_id">{{ __('Kunden ID') }}</label>
|
||||
<div class="input-group">
|
||||
<div class="input-group-prepend">
|
||||
<span class="input-group-text">
|
||||
<a class="text-primary" href="{{route('customer_detail', [$booking->customer->id])}}"><i class="fa fa-edit"></i></a></span>
|
||||
</div>
|
||||
{{ Form::text('customer[id]', $booking->customer->id, array('placeholder'=>__('Kunden ID'), 'class'=>'form-control', 'id'=>'customer_id', 'readonly')) }}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-row">
|
||||
|
||||
<div class="form-group col-sm-3">
|
||||
<label for="salutation_id" class="form-label">{{ __('Anrede') }}*</label>
|
||||
{{ Form::select('customer[salutation_id]', \App\Models\Customer::$salutationType , $booking->customer->salutation_id, array('class'=>'custom-select', 'required'=>true)) }}
|
||||
</div>
|
||||
|
||||
<div class="form-group col-sm-4">
|
||||
<label class="form-label" for="customer_firstname">{{ __('Vorname') }}*</label>
|
||||
{{ Form::text('customer[firstname]', $booking->customer->firstname, array('placeholder'=>__('Vorname'), 'class'=>'form-control', 'id'=>'customer_firstname', 'required'=>true)) }}
|
||||
</div>
|
||||
|
||||
<div class="form-group col-sm-5">
|
||||
<label class="form-label" for="customer_name">{{ __('Nachname') }}*</label>
|
||||
{{ Form::text('customer[name]', $booking->customer->name, array('placeholder'=>__('Nachname'), 'class'=>'form-control', 'id'=>'customer_name', 'required'=>true)) }}
|
||||
</div>
|
||||
|
||||
<div class="form-group col-sm-12">
|
||||
<label class="form-label" for="customer_street">{{ __('Straße') }}</label>
|
||||
{{ Form::text('customer[street]', $booking->customer->street, array('placeholder'=>__('Straße'), 'class'=>'form-control', 'id'=>'customer_street')) }}
|
||||
</div>
|
||||
|
||||
<div class="form-group col-sm-3">
|
||||
<label class="form-label" for="customer_zip">{{ __('PLZ') }}</label>
|
||||
{{ Form::text('customer[zip]', $booking->customer->zip, array('placeholder'=>__('PLZ'), 'class'=>'form-control', 'id'=>'customer_zip')) }}
|
||||
</div>
|
||||
|
||||
<div class="form-group col-sm-4">
|
||||
<label class="form-label" for="customer_city">{{ __('Stadt') }}</label>
|
||||
{{ Form::text('customer[city]', $booking->customer->city, array('placeholder'=>__('Stadt'), 'class'=>'form-control', 'id'=>'customer_city')) }}
|
||||
</div>
|
||||
|
||||
<div class="form-group col-sm-5">
|
||||
<label class="form-label" for="customer_country_id">{{ __('Land') }}*</label>
|
||||
{{ Form::select('customer[country_id]', \App\Models\Customer::getCustomerCountriesArray() , $booking->customer->country_id, array('class'=>'custom-select', 'required'=>true)) }}
|
||||
</div>
|
||||
|
||||
<div class="form-group col-sm-6">
|
||||
<label class="form-label" for="customer_phone">{{ __('Telefon') }}</label>
|
||||
{{ Form::text('customer[phone]', $booking->customer->phone, array('placeholder'=>__('Telefon'), 'class'=>'form-control', 'id'=>'customer_phone')) }}
|
||||
</div>
|
||||
|
||||
<div class="form-group col-sm-6">
|
||||
<label class="form-label" for="customer_phonemobile">{{ __('Telefon Mobil') }}</label>
|
||||
{{ Form::text('customer[phonemobile]', $booking->customer->phonemobile, array('placeholder'=>__('Telefon Mobil'), 'class'=>'form-control', 'id'=>'customer_phonemobile')) }}
|
||||
</div>
|
||||
|
||||
<div class="form-group col-sm-12">
|
||||
<label class="form-label" for="customer_email">{{ __('E-Mail') }}*</label>
|
||||
{{ Form::text('customer[email]', $booking->customer->email, array('placeholder'=>__('E-Mail'), 'class'=>'form-control', 'id'=>'customer_email', 'required'=>true)) }}
|
||||
</div>
|
||||
|
||||
<div class="col-sm-12">
|
||||
<div class="text-left mt-2">
|
||||
<button type="submit" name="action" value="saveCustomer" class="btn btn-sm btn-secondary">Änderungen speichern</button>
|
||||
<a href="{{route('requests')}}" class="btn btn-sm btn-default">{{ __('zur Übersicht') }}</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@endif
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
36
resources/views/booking/_detail_delete.blade.php
Normal file
36
resources/views/booking/_detail_delete.blade.php
Normal file
|
|
@ -0,0 +1,36 @@
|
|||
<div class="card mb-2">
|
||||
<h6 class="card-header bg-primary text-white py-2" data-toggle="collapse" data-target="#collapseBookingDelete" aria-expanded="false" aria-controls="collapseBookingDelete">
|
||||
<strong style="line-height: 1.6em">Löschen</strong>
|
||||
</h6>
|
||||
<div class="collapse" id="collapseBookingDelete">
|
||||
|
||||
<div class="card-body row">
|
||||
|
||||
<div class="col-sm-12">
|
||||
{!! Form::open(['url' => route('booking_delete_complete', [$id]), 'class' => 'form-horizontal']) !!}
|
||||
|
||||
<h4>Buchung löschen</h4>
|
||||
<h5>Die Buchung wird komplett gelöscht, dieser Vorgang kann nicht rückgängig gemacht werden.</h5>
|
||||
<h6>Alle Daten, Dokumente, Notizen, E-Mails und Anhänge, die zu dieser Buchung gehören, werden zusammen gelöscht.</h6>
|
||||
<div class="form-group">
|
||||
|
||||
<label class="switcher switcher-on-off">
|
||||
{{ Form::hidden('booking_delete_complete_check', 0) }}
|
||||
{{ Form::checkbox('booking_delete_complete_check', 1, 0, array('class'=>'switcher-input', 'required')) }}
|
||||
<span class="switcher-indicator">
|
||||
<span class="switcher-yes"><span class="ion ion-md-checkmark"></span></span>
|
||||
<span class="switcher-no"><span class="ion ion-md-close"></span></span>
|
||||
</span>
|
||||
<span class="switcher-label">Ja, die Buchnung soll wirklich gelöschen werden</span>
|
||||
</label>
|
||||
</div>
|
||||
<div class="form-group text-left">
|
||||
<button type="submit" class="btn btn-sm btn-danger" value="booking_delete_complete" ><i class="ion ion-md-trash"></i> Buchung löschen</button>
|
||||
<hr>
|
||||
</div>
|
||||
{!! Form::close() !!}
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
@ -1,5 +1,5 @@
|
|||
<div class="card mb-2">
|
||||
<h6 class="card-header bg-primary text-white py-2" data-toggle="collapse" data-target="#collapseBookingOrganisation" aria-expanded="false" aria-controls="collapseBookingOrganisation">
|
||||
<h6 class="card-header bg-primary text-white py-2" data-toggle="collapse" data-target="#collapseBookingOrganisation" aria-expanded="false" aria-controls="collapseBookingOrganisation">
|
||||
<strong style="line-height: 1.6em">Organisation</strong>
|
||||
</h6>
|
||||
<div class="collapse" id="collapseBookingOrganisation">
|
||||
|
|
@ -7,11 +7,27 @@
|
|||
@if($booking->new_drafts )
|
||||
|
||||
@php($i = 1)
|
||||
<div class="text-right mb-2 pr-2">
|
||||
<button type="submit" name="action" value="addItemUp" class="btn btn-sm btn-primary"><i class="fa fa-plus"></i> Neue Leistung hinzufügen <i class="fa fa-arrow-up"></i></button><br>
|
||||
|
||||
<div class="float-right pr-2 pb-2">
|
||||
|
||||
<div class="input-group">
|
||||
<select class="custom-select small-select" name="add_draft_items_up_number">
|
||||
{!! HTMLHelper::getRangeOptions(1, 30, '') !!}
|
||||
</select>
|
||||
<span class="input-group-append">
|
||||
<button type="submit" name="action" value="addItemUp" class="btn btn-sm btn-primary"><i class="fa fa-plus"></i> Neue Leistung hinzufügen <i class="fa fa-arrow-up"></i></button>
|
||||
</span>
|
||||
</div>
|
||||
<button type="button" name="" class="btn btn-sm btn-info mt-2" data-toggle="modal" data-target="#modals-change-travel-dates"><i class="fa fa-sync"></i> Datum der Reise ändern </button>
|
||||
|
||||
</div>
|
||||
<div class="table-responsive mb-4" style="overflow: visible">
|
||||
<div class="text-left pl-2">
|
||||
<button type="submit" name="action" value="saveAll" class="btn btn-sm btn-secondary">{{ __('save changes') }}</button>
|
||||
<a href="{{route('requests')}}" class="btn btn-sm btn-default">{{ __('zur Übersicht') }}</a>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="table-responsive mb-4">
|
||||
<table class="table mb-0" id="table_dragula_tbody" style="min-width: 1080px">
|
||||
<thead class="thead-dark">
|
||||
<tr>
|
||||
|
|
@ -24,9 +40,9 @@
|
|||
<th style="width: 15em">Kinder/EP</th>
|
||||
<th style="width: 8em">#</th>
|
||||
</tr>
|
||||
</thead>
|
||||
</thead >
|
||||
@foreach($booking->booking_draft_items as $booking_draft_item)
|
||||
<tbody class="draft_item_tbody">
|
||||
<tbody class="draft_item_tbody" style="background-color: rgba(218, 218, 229, 1)">
|
||||
<tr @if($booking_draft_item->draft_type) style="background-color: {{ $booking_draft_item->draft_type->color }}" @endif>
|
||||
<td>
|
||||
<span class="handle ion ion-ios-move d-inline-block bg-primary text-white p-1"></span>
|
||||
|
|
@ -53,8 +69,8 @@
|
|||
</select>
|
||||
{{ Form::text('draft_item['.$booking_draft_item->id.'][price_adult]', $booking_draft_item->price_adult, array('placeholder'=>__('Preis in €'), 'class'=>'form-control', 'id'=>'draft_item_'.$booking_draft_item->id.'_price_adult', 'maxlength'=>10)) }}
|
||||
<span class="input-group-append">
|
||||
<span class="input-group-text">€</span>
|
||||
</span>
|
||||
<span class="input-group-text">€</span>
|
||||
</span>
|
||||
|
||||
</div>
|
||||
</td>
|
||||
|
|
@ -66,8 +82,8 @@
|
|||
</select>
|
||||
{{ Form::text('draft_item['.$booking_draft_item->id.'][price_children]', $booking_draft_item->price_children, array('placeholder'=>__('Preis in €'), 'class'=>'form-control', 'id'=>'draft_item_'.$booking_draft_item->id.'_price_children')) }}
|
||||
<span class="input-group-append">
|
||||
<span class="input-group-text">€</span>
|
||||
</span>
|
||||
<span class="input-group-text">€</span>
|
||||
</span>
|
||||
</div>
|
||||
</td>
|
||||
@else
|
||||
|
|
@ -77,7 +93,10 @@
|
|||
<td>
|
||||
<button type="button" name="" value="up_{{$booking_draft_item->id}}" class="btn btn-xs btn-primary py-0 move-up-btn"><i class="fa fa-arrow-up"></i> </button>
|
||||
<button type="button" name="" value="down_{{$booking_draft_item->id}}" class="btn btn-xs btn-primary mr-2 move-down-btn"><i class="fa fa-arrow-down"></i> </button>
|
||||
|
||||
<a class="text-danger" href="{{ route('booking_draft_item_delete', [$booking_draft_item->id]) }}" onclick="return confirm('{{__('Wirklich löschen?')}}');"><i class="fa fa-trash-alt"></i></a>
|
||||
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr @if($booking_draft_item->draft_type) style="background-color: {{ $booking_draft_item->draft_type->color }}" @endif class="border-none">
|
||||
|
|
@ -101,8 +120,8 @@
|
|||
@endif
|
||||
{{ Form::text('draft_item['.$booking_draft_item->id.'][price]', $booking_draft_item->price, array('placeholder'=>__('Preis in €'), 'class'=>'form-control', 'id'=>'draft_item_'.$booking_draft_item->id.'_price',)) }}
|
||||
<span class="input-group-append">
|
||||
<span class="input-group-text">€</span>
|
||||
</span>
|
||||
<span class="input-group-text">€</span>
|
||||
</span>
|
||||
</div>
|
||||
</td>
|
||||
<td colspan="4">
|
||||
|
|
@ -112,10 +131,19 @@
|
|||
{{ Form::textarea('draft_item['.$booking_draft_item->id.'][service]', $booking_draft_item->service, array('placeholder'=>__('Leistungen'), 'class'=>'form-control autoExpand', 'id'=>'draft_item_'.$booking_draft_item->id.'_service', 'rows'=>'1', 'data-min-rows'=>'1')) }}
|
||||
</td>
|
||||
<td>
|
||||
<label class="custom-control custom-checkbox mt-2" style="margin-right: 20px;">
|
||||
<div style="display: inline-flex">
|
||||
<label class="custom-control custom-checkbox mt-2" style="margin-right: 10px;">
|
||||
{!! Form::checkbox('draft_item['.$booking_draft_item->id.'][in_pdf]', 1, $booking_draft_item->in_pdf, ['class'=>'custom-control-input']) !!}
|
||||
<span class="custom-control-label">{{__('in PDF')}}</span>
|
||||
<span class="custom-control-label">{{__('PDF')}}</span>
|
||||
</label>
|
||||
</div>
|
||||
<div style="display: inline-flex">
|
||||
<label class="custom-control custom-checkbox mt-2" style="">
|
||||
{!! Form::checkbox('draft_item_delete['.$booking_draft_item->id.']', 1, 0, ['class'=>'custom-control-input color-danger']) !!}
|
||||
<span class="custom-control-label"> </span>
|
||||
</label>
|
||||
</div>
|
||||
|
||||
</td>
|
||||
|
||||
</tr>
|
||||
|
|
@ -124,12 +152,25 @@
|
|||
</table>
|
||||
</div>
|
||||
|
||||
<div class="float-right pr-2">
|
||||
<button type="submit" name="action" value="addItemDown" class="btn btn-sm btn-primary"><i class="fa fa-plus"></i> Neue Leistung hinzufügen <i class="fa fa-arrow-down"></i></button>
|
||||
<div class="float-right pr-2 text-right pb-2">
|
||||
|
||||
<div class="input-group">
|
||||
<select class="custom-select small-select" name="add_draft_items_down_number">
|
||||
{!! HTMLHelper::getRangeOptions(1, 30, '') !!}
|
||||
</select>
|
||||
<span class="input-group-append">
|
||||
<button type="submit" name="action" value="addItemDown" class="btn btn-sm btn-primary"><i class="fa fa-plus"></i> Neue Leistung hinzufügen <i class="fa fa-arrow-down"></i></button>
|
||||
</span>
|
||||
</div>
|
||||
|
||||
<button type="submit" name="action" value="deleteAllChecked" class="mt-2 btn btn-sm btn-danger" onclick="return confirm('{{__('Wirklich alle ausgewählten Leistungen löschen?')}}');">
|
||||
<i class="fa fa-check-circle"></i> alle ausgewählten Leistungen löschen <i class="fa fa-trash"></i></button>
|
||||
|
||||
|
||||
</div>
|
||||
<div class="text-left mt-3 pl-2">
|
||||
<button type="submit" name="action" value="saveAll" class="btn btn-sm btn-secondary">{{ __('save changes') }}</button>
|
||||
<a href="{{route('bookings')}}" class="btn btn-sm btn-default">{{ __('zur Übersicht') }}</a>
|
||||
<a href="{{route('requests')}}" class="btn btn-sm btn-default">{{ __('zur Übersicht') }}</a>
|
||||
</div>
|
||||
@endif
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
</h6>
|
||||
<div class="collapse" id="collapseBookingFiles">
|
||||
|
||||
@php($booking_files_count = 1)
|
||||
|
||||
<div class="card-body row">
|
||||
<div class="table-responsive" id="booking_files_table">
|
||||
<table class="table table-striped table-sm">
|
||||
|
|
@ -19,155 +19,23 @@
|
|||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{!! App\Helper\BookingDocument::getBookingDocumentsHTMLTable('registration', $booking) !!}
|
||||
|
||||
{!! App\Helper\BookingDocument::getBookingDocumentsHTMLTable('confirmation', $booking) !!}
|
||||
|
||||
@if($booking->booking_applications)
|
||||
@foreach($booking->booking_applications as $booking_application)
|
||||
<tr>
|
||||
<th scope="row">{{$booking_files_count++}}</th>
|
||||
<td>
|
||||
<a href="{{ route('customer_file_show', ['booking_application', $booking_application->id]) }}" target="_blank" class="badge badge-md badge-primary">
|
||||
<i class="fa fa-file-pdf mr-1"></i> Reiseanmeldung
|
||||
</a>
|
||||
</td>
|
||||
<td>
|
||||
Reise |
|
||||
Gesamtpreis: {{ \App\Services\Util::_number_format($booking_application->total)}} €
|
||||
</td>
|
||||
<td>{{\App\Services\Util::_format_date($booking_application->updated_at, 'date')}}</td>
|
||||
<td>
|
||||
<a href="{{ route('customer_file_show', ['booking_application', $booking_application->id, true]) }}" class="btn btn-xs btn-default"
|
||||
title="Download" data-placement="left" rel="tooltip">
|
||||
<i class="fa fa-download"></i>
|
||||
</a>
|
||||
</td>
|
||||
</tr>
|
||||
@endforeach
|
||||
@endif
|
||||
{!! App\Helper\BookingDocument::getBookingDocumentsHTMLTable('storno', $booking) !!}
|
||||
|
||||
@if($booking->booking_confirmations)
|
||||
@foreach($booking->booking_confirmations as $booking_confirmation)
|
||||
<tr>
|
||||
<th scope="row">{{$booking_files_count++}}</th>
|
||||
<td>
|
||||
<a href="{{ route('customer_file_show', ['booking_confirmation', $booking_confirmation->id]) }}" target="_blank" class="badge badge-md badge-success">
|
||||
<i class="fa fa-file-pdf mr-1"></i> Reisebestätigung
|
||||
</a>
|
||||
</td>
|
||||
<td>
|
||||
Reise |
|
||||
Gesamtpreis: {{ \App\Services\Util::_number_format($booking_confirmation->total)}} € |
|
||||
Anzahlung: {{ \App\Services\Util::_number_format($booking_confirmation->deposit)}} € |
|
||||
Restzahlung: {{ \App\Services\Util::_number_format($booking_confirmation->final_payment)}} €
|
||||
</td>
|
||||
<td>{{\App\Services\Util::_format_date($booking_confirmation->updated_at, 'date')}}</td>
|
||||
<td>
|
||||
<a href="{{ route('customer_file_show', ['booking_confirmation', $booking_confirmation->id, true]) }}" class="btn btn-xs btn-default"
|
||||
title="Download" data-placement="left" rel="tooltip">
|
||||
<i class="fa fa-download"></i>
|
||||
</a>
|
||||
</td>
|
||||
</tr>
|
||||
@endforeach
|
||||
@endif
|
||||
{!! App\Helper\BookingDocument::getBookingDocumentsHTMLTable('coupon', $booking) !!}
|
||||
|
||||
@if($booking->booking_stornos)
|
||||
@foreach($booking->booking_stornos as $booking_storno)
|
||||
<tr>
|
||||
<th scope="row">{{$booking_files_count++}}</th>
|
||||
<td>
|
||||
<a href="{{ route('customer_file_show', ['booking_storno', $booking_storno->id]) }}" target="_blank" class="badge badge-md badge-danger">
|
||||
<i class="fa fa-file-pdf mr-1"></i> Stornobestätigung
|
||||
</a>
|
||||
</td>
|
||||
<td>
|
||||
Storno | Betrag: {{ \App\Services\Util::_number_format($booking_storno->total)}} €
|
||||
</td>
|
||||
<td>{{\App\Services\Util::_format_date($booking_storno->updated_at, 'date')}}</td>
|
||||
<td>
|
||||
<a href="{{ route('customer_file_show', ['booking_storno', $booking_storno->id, true]) }}" class="btn btn-xs btn-default"
|
||||
title="Download" data-placement="left" rel="tooltip">
|
||||
<i class="fa fa-download"></i>
|
||||
</a>
|
||||
</td>
|
||||
</tr>
|
||||
@endforeach
|
||||
@endif
|
||||
|
||||
@if($booking->coupons)
|
||||
@foreach($booking->coupons as $coupon)
|
||||
<tr>
|
||||
<th scope="row">{{$booking_files_count++}}</th>
|
||||
<td>
|
||||
<a href="{{ route('customer_file_show', ['coupon', $coupon->id]) }}" target="_blank" class="badge badge-md badge-warning">
|
||||
<i class="fa fa-file-pdf mr-1"></i> Gutschein {{$coupon->number}}
|
||||
</a>
|
||||
</td>
|
||||
<td>Gutschein |
|
||||
Wert: {{ \App\Services\Util::_number_format($coupon->value)}} € |
|
||||
bis: {{\App\Services\Util::_format_date($coupon->valid_date, 'date')}} |
|
||||
@if($coupon->is_redeemed) <i class="fa fa-check-circle text-success"></i> {{\App\Services\Util::_format_date($coupon->redeem_date, 'date')}} @else <i class="fa fa-times-circle text-danger"></i> @endif
|
||||
</td>
|
||||
<td>{{\App\Services\Util::_format_date($coupon->issue_date, 'date')}}</td>
|
||||
<td>
|
||||
<a href="{{ route('customer_file_show', ['coupon', $coupon->id, true]) }}" class="btn btn-xs btn-default"
|
||||
title="Download" data-placement="left" rel="tooltip">
|
||||
<i class="fa fa-download"></i>
|
||||
</a>
|
||||
</td>
|
||||
</tr>
|
||||
@endforeach
|
||||
@endif
|
||||
|
||||
@if($booking->booking_vouchers)
|
||||
@foreach($booking->booking_vouchers as $booking_voucher)
|
||||
<tr>
|
||||
<th scope="row">{{$booking_files_count++}}</th>
|
||||
<td>
|
||||
<a href="{{ route('customer_file_show', ['booking_voucher', $booking_voucher->id]) }}" target="_blank" class="badge badge-md badge-dark">
|
||||
<i class="fa fa-file-pdf mr-1"></i> Voucher ID {{$booking_voucher->id}}
|
||||
</a>
|
||||
</td>
|
||||
<td>
|
||||
Voucher für den Kunden
|
||||
</td>
|
||||
<td>{{\App\Services\Util::_format_date($booking_voucher->updated_at, 'date')}}</td>
|
||||
<td>
|
||||
<a href="{{ route('customer_file_show', ['booking_voucher', $booking_voucher->id, true]) }}" class="btn btn-xs btn-default"
|
||||
title="Download" data-placement="left" rel="tooltip">
|
||||
<i class="fa fa-download"></i>
|
||||
</a>
|
||||
</td>
|
||||
</tr>
|
||||
@endforeach
|
||||
@endif
|
||||
|
||||
@if($booking->booking_voucher_agencys)
|
||||
@foreach($booking->booking_voucher_agencys as $booking_voucher_agency)
|
||||
<tr>
|
||||
<th scope="row">{{$booking_files_count++}}</th>
|
||||
<td>
|
||||
<a href="{{ route('customer_file_show', ['booking_voucher_agency', $booking_voucher_agency->id]) }}" target="_blank" class="badge badge-md badge-dark">
|
||||
<i class="fa fa-file-pdf mr-1"></i> Voucher-Agentur ID {{$booking_voucher_agency->id}}
|
||||
</a>
|
||||
</td>
|
||||
<td>
|
||||
Voucher für die Agentur
|
||||
</td>
|
||||
<td>{{\App\Services\Util::_format_date($booking_voucher_agency->updated_at, 'date')}}</td>
|
||||
<td>
|
||||
<a href="{{ route('customer_file_show', ['booking_voucher_agency', $booking_voucher_agency->id, true]) }}" class="btn btn-xs btn-default"
|
||||
title="Download" data-placement="left" rel="tooltip">
|
||||
<i class="fa fa-download"></i>
|
||||
</a>
|
||||
</td>
|
||||
</tr>
|
||||
@endforeach
|
||||
@endif
|
||||
{!! App\Helper\BookingDocument::getBookingDocumentsHTMLTable('voucher', $booking) !!}
|
||||
|
||||
{!! App\Helper\BookingDocument::getBookingDocumentsHTMLTable('voucher_agency', $booking) !!}
|
||||
|
||||
|
||||
@if($booking->insurance_certificates)
|
||||
@foreach($booking->insurance_certificates as $insurance_certificate)
|
||||
<tr>
|
||||
<th scope="row">{{$booking_files_count++}}</th>
|
||||
<th scope="row">{{App\Helper\BookingDocument::getFilesCount()}}</th>
|
||||
<td>
|
||||
<a href="{{ route('customer_file_show', ['insurance_certificate', $insurance_certificate->id]) }}" target="_blank" class="badge badge-md badge-next">
|
||||
<i class="fa fa-file-pdf mr-1"></i> Sicherungsschein Nr. {{$insurance_certificate->internal_id}}
|
||||
|
|
@ -190,7 +58,7 @@
|
|||
@if($booking->travel_insurances)
|
||||
@foreach($booking->travel_insurances as $travel_insurances)
|
||||
<tr>
|
||||
<th scope="row">{{$booking_files_count++}}</th>
|
||||
<th scope="row">{{App\Helper\BookingDocument::getFilesCount()}}</th>
|
||||
<td>
|
||||
<i class="fa fa-info-circle mr-1"></i> Policennummer {{$travel_insurances->policy_number}}
|
||||
</td>
|
||||
|
|
@ -208,7 +76,7 @@
|
|||
@foreach(\App\Services\Booking::contentFiles() as $content_file)
|
||||
@if($file = \App\Models\CMSContent::getModelBySlug($content_file))
|
||||
<tr>
|
||||
<th scope="row">{{$booking_files_count++}}</th>
|
||||
<th scope="row">{{App\Helper\BookingDocument::getFilesCount()}}</th>
|
||||
<td>
|
||||
<a target="_blank" href="{{ $file->getURL() }}" class="badge badge-md badge-next">
|
||||
<i class="fa fa-file-pdf mr-1"></i> {{$file->name}}
|
||||
|
|
@ -235,7 +103,7 @@
|
|||
@if($TravelCountry->stern_travel_country)
|
||||
@foreach($TravelCountry->stern_travel_country->general_files as $general_files)
|
||||
<tr>
|
||||
<th scope="row">{{$booking_files_count++}}</th>
|
||||
<th scope="row">{{App\Helper\BookingDocument::getFilesCount()}}</th>
|
||||
<td>
|
||||
<a target="_blank" href="{{ $general_files->getURL() }}" class="badge badge-md badge-info">
|
||||
<i class="{{$general_files->getIconExt()}} mr-1"></i> {{$general_files->original_name}}
|
||||
|
|
@ -262,7 +130,7 @@
|
|||
@foreach($booking->getPassolutionPDF() as $PassolutionPDF)
|
||||
@if($PassolutionPDF)
|
||||
<tr>
|
||||
<th scope="row">{{$booking_files_count++}}</th>
|
||||
<th scope="row">{{App\Helper\BookingDocument::getFilesCount()}}</th>
|
||||
<td>
|
||||
<a target="_blank" href="{{ $PassolutionPDF['url'] }}?t={{ time() }}" class="badge badge-md badge-next">
|
||||
<i class="fa fa-file-pdf mr-1"></i> {{$PassolutionPDF['filename']}}
|
||||
|
|
@ -286,15 +154,15 @@
|
|||
@if($booking->booking_files)
|
||||
@foreach($booking->booking_files as $booking_file)
|
||||
<tr>
|
||||
<th scope="row">{{$booking_files_count++}}</th>
|
||||
<th scope="row">{{App\Helper\BookingDocument::getFilesCount()}}</th>
|
||||
<td>
|
||||
<a target="_blank" href="{{ $booking_file->getURL() }}" class="badge badge-md badge-secondary">
|
||||
<i class="{{$booking_file->getIconExt()}} mr-1"></i> {{$booking_file->original_name}}
|
||||
</a>
|
||||
</td>
|
||||
<td>
|
||||
hinzugefügt |
|
||||
{{ $booking_file->mine }} | {{ $booking_file->formatBytes() }}
|
||||
<i class="ion ion-md-cloud-upload"></i> | {{ $booking_file->ext }}
|
||||
| {{ $booking_file->formatBytes() }}
|
||||
</td>
|
||||
<td>{{\App\Services\Util::_format_date($booking_file->created_at, 'date')}}</td>
|
||||
<td>
|
||||
|
|
@ -313,26 +181,73 @@
|
|||
|
||||
</div>
|
||||
|
||||
<div class="col-12">
|
||||
<hr>
|
||||
<div class="text-left mt-2">
|
||||
<div class=""><strong>PDF Dateien erstellen</strong></div>
|
||||
<p class="small"><i>Die neuen PDF Dateien können hier neu erstellt werden.
|
||||
@if($booking->booking_applications->count() > 0)
|
||||
<br> Achtung: alle schon angelegten PDF Dateien aus der v2 bleiben erhalten.
|
||||
@endif
|
||||
</i></p>
|
||||
{!! Form::open(['url' => route('booking_detail', [$booking->id]), 'class' => 'form-horizontal']) !!}
|
||||
@if(App\Helper\BookingDocument::showButton('registration', $booking))
|
||||
@php($confirm = ($booking->hasDocument('registration') ? "onclick=\"return confirm('Die vorhandene Reiseanmeldung wird überschrieben. Sind sie sicher?')\"" : ""))
|
||||
<button type="submit" name="action" value="createPDF_Registration" class="btn btn-sm btn-primary mr-2 mt-2" {!! $confirm !!}>Reiseanmeldung</button>
|
||||
@endif
|
||||
@if(App\Helper\BookingDocument::showButton('confirmation', $booking))
|
||||
@php($confirm = ($booking->hasDocument('confirmation') ? "onclick=\"return confirm('Die vorhandene Reisebestätigung wird überschrieben. Sind sie sicher?')\"" : ""))
|
||||
<button type="submit" name="action" value="createPDF_Confirmation" class="btn btn-sm btn-success mr-2 mt-2" {!! $confirm !!}>Reisebestätigung</button>
|
||||
@endif
|
||||
@if(App\Helper\BookingDocument::showButton('voucher', $booking))
|
||||
@php($confirm = ($booking->hasDocument('voucher') ? "onclick=\"return confirm('Die vorhandenen Voucher / Agentur werden überschrieben. Sind sie sicher?')\"" : ""))
|
||||
<button type="submit" name="action" value="createPDF_Voucher" class="btn btn-sm btn-dark mr-2 mt-2" style="background-color: rgba(200, 21, 176, 0.9)" {!! $confirm !!}>Voucher</button>
|
||||
@endif
|
||||
@if(App\Helper\BookingDocument::showButton('coupon', $booking))
|
||||
@php($confirm = ($booking->hasDocument('coupon') ? "onclick=\"return confirm('ACHTUNG: Es wird ein neuer Gutschein angelegt.')\"" : ""))
|
||||
<button type="button" class="btn btn-sm btn-warning mr-2 mt-2" data-toggle="modal" data-target="#modals-load-content"
|
||||
data-id="new-file"
|
||||
data-model="BookingDocuments"
|
||||
data-action="createPDF_Coupon"
|
||||
data-url="{{ route('booking_detail', [$booking->id]) }}"
|
||||
data-redirect="back"
|
||||
data-booking_id="{{$booking->id}}"
|
||||
data-route="{{ route('booking_modal_load') }}" {!! $confirm !!}>Gutschein</button>
|
||||
@endif
|
||||
@if(App\Helper\BookingDocument::showButton('storno', $booking))
|
||||
@php($confirm = ($booking->hasDocument('storno') ? "onclick=\"return confirm('ACHTUNG: Die vorhandene Storno wird überschrieben.')\"" : ""))
|
||||
<button type="button" class="btn btn-sm btn-danger mr-2 mt-2" data-toggle="modal" data-target="#modals-load-content"
|
||||
data-target="#modals-load-content"
|
||||
data-id="new-file"
|
||||
data-model="BookingDocuments"
|
||||
data-action="createPDF_Storno"
|
||||
data-url="{{ route('booking_detail', [$booking->id]) }}"
|
||||
data-redirect="back"
|
||||
data-booking_id="{{$booking->id}}"
|
||||
data-route="{{ route('booking_modal_load') }}" {!! $confirm !!}>Storno</button>
|
||||
@endif
|
||||
{!! Form::close() !!}
|
||||
</div>
|
||||
<hr>
|
||||
</div>
|
||||
<div class="text-right d-block w-100">
|
||||
<button type="button" class="btn btn-sm btn-primary" data-toggle="modal"
|
||||
data-target="#modals-load-content"
|
||||
data-id="new-file"
|
||||
data-model="bookingFile"
|
||||
data-action="modal-upload-booking-file"
|
||||
data-url=""
|
||||
data-redirect="back"
|
||||
data-booking_id="{{$booking->id}}"
|
||||
data-route="{{ route('booking_modal_load') }}"><i class="ion ion-md-cloud-upload"></i> Datei hinzufügen</button>
|
||||
@if(Auth::user()->isPermission('sua-st-em'))
|
||||
<div class="float-left small">Allgemeine Dateien unter: <a href="{{route('admin_settings_emails', ['settings'])}}">Einstellungen -> E-Mails / Einstellungen</a></div>
|
||||
@endif
|
||||
@if(Auth::user()->isPermission('sua-st-co'))
|
||||
<br><div class="float-left small">Landesspezifische Dateien unter: <a href="{{route('admin_settings_travel_country', [])}}">Einstellungen -> Reieseländer</a></div>
|
||||
@endif
|
||||
<br><div class="float-left small">Passolution Dateien aktualisieren: <a class="ml-2 btn btn-xs btn-warning" href="{{ route('booking_delete', [$booking->id, 'passolution_file']) }}" onclick="return confirm('{{__('Einreisebestimmungen erneuern?')}}');"><i class="fa fa-sync"></i></a>
|
||||
<br><div class="float-left small">Passolution Dateien aktualisieren: <a class="ml-2 btn btn-xs btn-warning" href="{{ route('booking_delete', [$booking->id, 'passolution_file']) }}" onclick="return confirm('{{__('Einreisebestimmungen erneuern?')}}');"><i class="fa fa-sync"></i></a>
|
||||
</div>
|
||||
|
||||
|
||||
<button type="button" class="btn btn-sm btn-primary" data-toggle="modal"
|
||||
data-target="#modals-load-content"
|
||||
data-id="new-file"
|
||||
data-model="bookingFile"
|
||||
data-action="modal-upload-booking-file"
|
||||
data-url=""
|
||||
data-redirect="back"
|
||||
data-booking_id="{{$booking->id}}"
|
||||
data-route="{{ route('booking_modal_load') }}"><i class="ion ion-md-cloud-upload"></i> Datei hinzufügen</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -116,7 +116,7 @@
|
|||
<!-- / Messages sidebox -->
|
||||
|
||||
<!-- Messages content wrapper -->
|
||||
<div class="d-flex flex-column w-100">
|
||||
<div class="d-flex flex-column max-width-md">
|
||||
<!-- Header -->
|
||||
<div class="flex-grow-0">
|
||||
<h4 class="media align-items-center font-weight-bold container-p-x py-3 py-lg-4 m-0">
|
||||
|
|
|
|||
|
|
@ -22,7 +22,7 @@
|
|||
<hr>
|
||||
<div class="text-left mt-3">
|
||||
<button type="submit" name="action" value="update_booking_number" class="btn btn-sm btn-secondary">{{ __('save changes') }}</button>
|
||||
<a href="{{route('bookings')}}" class="btn btn-sm btn-default">{{ __('zur Übersicht') }}</a>
|
||||
<a href="{{route('requests')}}" class="btn btn-sm btn-default">{{ __('zur Übersicht') }}</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -1,6 +1,8 @@
|
|||
<div class="card mb-2">
|
||||
<h6 class="card-header bg-primary text-white py-2" data-toggle="collapse" data-target="#collapseBookingParticipant" aria-expanded="false" aria-controls="collapseBookingParticipant">
|
||||
<strong style="line-height: 1.6em">Teilnehmer</strong>
|
||||
<span class="badge badge-secondary">{{ $booking->pax }}</span>
|
||||
|
||||
</h6>
|
||||
<div class="collapse" id="collapseBookingParticipant">
|
||||
<div class="card-body row">
|
||||
|
|
@ -101,7 +103,7 @@
|
|||
<hr>
|
||||
<div class="text-left mt-3">
|
||||
<button type="submit" name="action" value="update_booking_participant" class="btn btn-sm btn-secondary">{{ __('save changes') }}</button>
|
||||
<a href="{{route('bookings')}}" class="btn btn-sm btn-default">{{ __('zur Übersicht') }}</a>
|
||||
<a href="{{route('requests')}}" class="btn btn-sm btn-default">{{ __('zur Übersicht') }}</a>
|
||||
<a href="{{route('booking_action', ['booking_participant_add', $booking->id])}}" class="btn btn-sm btn-primary float-right ml-2"><i class="fa fa-plus-circle"></i> {{ __('Neuen Teilnehmer') }}</a>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -125,7 +125,7 @@
|
|||
<hr>
|
||||
<div class="text-left mt-3">
|
||||
<button type="submit" name="action" value="update_booking_price" class="btn btn-sm btn-secondary">{{ __('save changes') }}</button>
|
||||
<a href="{{route('bookings')}}" class="btn btn-sm btn-default">{{ __('zur Übersicht') }}</a>
|
||||
<a href="{{route('requests')}}" class="btn btn-sm btn-default">{{ __('zur Übersicht') }}</a>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -68,7 +68,7 @@
|
|||
<hr>
|
||||
<div class="text-left mt-3">
|
||||
<button type="submit" name="action" value="update_service_provider_entry" class="btn btn-sm btn-secondary">{{ __('save changes') }}</button>
|
||||
<a href="{{route('bookings')}}" class="btn btn-sm btn-default">{{ __('zur Übersicht') }}</a>
|
||||
<a href="{{route('requests')}}" class="btn btn-sm btn-default">{{ __('zur Übersicht') }}</a>
|
||||
|
||||
<a href="{{route('booking_action', ['service_provider_entry_add_discount', $booking->id])}}" class="btn btn-sm btn-primary float-right ml-2"><i class="fa fa-plus-circle"></i> {{ __('Neuer Rabatt') }}</a>
|
||||
<a href="{{route('booking_action', ['service_provider_entry_add_payment', $booking->id])}}" class="btn btn-sm btn-primary float-right"><i class="fa fa-plus-circle"></i> {{ __('Neue Zahlung') }}</a>
|
||||
|
|
|
|||
|
|
@ -83,7 +83,7 @@
|
|||
<hr>
|
||||
<div class="text-left mt-3">
|
||||
<button type="submit" name="action" value="update_booking_services" class="btn btn-sm btn-secondary">{{ __('save changes') }}</button>
|
||||
<a href="{{route('bookings')}}" class="btn btn-sm btn-default">{{ __('zur Übersicht') }}</a>
|
||||
<a href="{{route('requests')}}" class="btn btn-sm btn-default">{{ __('zur Übersicht') }}</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
|
|
|||
|
|
@ -40,7 +40,7 @@
|
|||
</h4>
|
||||
<ul class="nav nav-sm nav-tabs nav-justified tabs-alt mb-3" id="top-nav-quick-jump">
|
||||
<li class="nav-item">
|
||||
<a class="nav-link" href="javascript:void(0)" data-collapse="#collapseBookingInfo">
|
||||
<a class="nav-link" href="javascript:void(0)" data-collapse="#collapseBookingCustomer">
|
||||
Kunde
|
||||
</a>
|
||||
</li>
|
||||
|
|
@ -75,7 +75,7 @@
|
|||
</a>
|
||||
</li>
|
||||
<li class="nav-item">
|
||||
<a class="nav-link" href="javascript:void(0)" data-collapse="#collapseBookingOrganisation">
|
||||
<a class="nav-link active" href="javascript:void(0)" data-collapse="#collapseBookingOrganisation">
|
||||
Organisation
|
||||
</a>
|
||||
</li>
|
||||
|
|
@ -112,7 +112,7 @@
|
|||
<input type="hidden" name="id" id="id" value="{{$id}}">
|
||||
|
||||
<!-- Info -->
|
||||
@include('booking._detail_info')
|
||||
@include('booking._detail_customer')
|
||||
|
||||
<!-- Anfrage -->
|
||||
@include('booking._detail_lead')
|
||||
|
|
@ -126,7 +126,7 @@
|
|||
<!-- MyJack -->
|
||||
@include('booking._detail_myjack')
|
||||
|
||||
<!-- MyJack -->
|
||||
<!-- Teilnehmer -->
|
||||
@include('booking._detail_participant')
|
||||
|
||||
<!-- Preis -->
|
||||
|
|
@ -149,6 +149,9 @@
|
|||
|
||||
@include('booking._detail_notice')
|
||||
|
||||
@include('booking._detail_delete')
|
||||
|
||||
|
||||
<div class="float-right mt-3">
|
||||
<a href="{{route('requests')}}" class="btn btn-sm btn-default">{{ __('zur Übersicht') }}</a>
|
||||
<a href="{{ make_old_url('/index.php/booking/'.$booking->id.'/edit') }}" class="btn btn-sm btn-default float-right">{{ __('zurück ins CRM v2') }}</a>
|
||||
|
|
@ -189,6 +192,14 @@
|
|||
<script>
|
||||
$(document).ready(function() {
|
||||
|
||||
$("#booking-form-validation button[type='submit']").on("click", function(event) {
|
||||
$(':input[required]', "#booking-form-validation").each(function() {
|
||||
if ($(this).val() == "" || $(this).val() == null) {
|
||||
$(this).closest(".collapse").collapse('show');
|
||||
return false;
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
var collapseHashValue = null;
|
||||
$('[rel="tooltip"]').tooltip({trigger: "hover"});
|
||||
|
|
@ -212,28 +223,32 @@
|
|||
});
|
||||
|
||||
$(".collapse").on('shown.bs.collapse', function (){
|
||||
if(collapseHashValue){
|
||||
/* if(collapseHashValue){
|
||||
$('a[data-collapse="#'+collapseHashValue+'"]').click();
|
||||
collapseHashValue = null;
|
||||
}
|
||||
CookiesAddJSONValue('booking_collapse', $(this).attr('id'));
|
||||
}*/
|
||||
// CookiesAddJSONValue('booking_collapse', $(this).attr('id'));
|
||||
window.location.hash = "#"+$(this).attr('id');
|
||||
|
||||
});
|
||||
|
||||
$(".collapse").on('hidden.bs.collapse', function (){
|
||||
CookiesRemoveJSONValue('booking_collapse', $(this).attr('id'));
|
||||
// CookiesRemoveJSONValue('booking_collapse', $(this).attr('id'));
|
||||
});
|
||||
|
||||
function init_site(){
|
||||
if(window.location.hash){
|
||||
value = $(window.location.hash).attr('id');
|
||||
if(value){
|
||||
collapseHashValue = value;
|
||||
CookiesAddJSONValue('booking_collapse', value);
|
||||
$('a[data-collapse="#'+value+'"]').click();
|
||||
|
||||
//CookiesAddJSONValue('booking_collapse', value);
|
||||
}
|
||||
}
|
||||
var booking_collapses = Cookies.get('booking_collapse');
|
||||
var booking_collapses = '{!! \App\Services\Util::prepareCollapseValues() !!}';
|
||||
/*var lead_collapses = Cookies.get('lead_collapse'); */
|
||||
|
||||
/* var booking_collapses = Cookies.get('booking_collapse'); */
|
||||
if (booking_collapses != null)
|
||||
{
|
||||
booking_collapses = JSON.parse(booking_collapses);
|
||||
|
|
@ -243,6 +258,7 @@
|
|||
}
|
||||
}
|
||||
init_site();
|
||||
|
||||
|
||||
|
||||
var oTable = $('#datatables-customer-mails').DataTable({
|
||||
|
|
|
|||
|
|
@ -7,8 +7,12 @@
|
|||
</h4>
|
||||
|
||||
<div class="card">
|
||||
<div class="card-datatable table-responsive">
|
||||
<table class="datatables-bookings table table-striped table-bordered">
|
||||
<div class="table-responsive-track" id="datatables-booking-scroll">
|
||||
<div class="table-responsive-thumb" id="datatables-booking-thumb">
|
||||
</div>
|
||||
</div>
|
||||
<div class="card-datatable table-responsive" id="datatables-booking-table">
|
||||
<table class="datatables-bookings table table-striped table-bordered" id="datatables-booking">
|
||||
|
||||
<thead>
|
||||
<tr>
|
||||
|
|
@ -43,6 +47,9 @@
|
|||
"iDisplayLength": 100,
|
||||
"language": {
|
||||
"url": "/js/German.json"
|
||||
},
|
||||
drawCallback: function () {
|
||||
dataTableScrollTrack('#datatables-booking');
|
||||
}
|
||||
});
|
||||
});
|
||||
|
|
|
|||
52
resources/views/booking/modal_create_coupon.blade.php
Normal file
52
resources/views/booking/modal_create_coupon.blade.php
Normal file
|
|
@ -0,0 +1,52 @@
|
|||
<div class="modal-content">
|
||||
<div class="modal-header">
|
||||
<h5 class="modal-title">
|
||||
{{ __('Gutschein') }}
|
||||
<span class="font-weight-light">erstellen</span>
|
||||
</h5>
|
||||
<button type="button" class="close" data-dismiss="modal" aria-label="Close">×</button>
|
||||
</div>
|
||||
{!! Form::open(['url' => $data['url'], 'class' => '', 'id' => 'create-coupon-form']) !!}
|
||||
{{ Form::hidden('booking_id', $data['booking_id']) }}
|
||||
{{ Form::hidden('action', $data['action']) }}
|
||||
|
||||
<div class="modal-body">
|
||||
<div class="form-row">
|
||||
<div class="form-group col-sm-6">
|
||||
<label for="default_value" class="form-label">{{ __('Betrag in ') }} €</label>
|
||||
{{ Form::text('value', $data['default_value'], ['placeholder' => __('50,00'), 'class' => 'form-control', 'required' => true]) }}
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-row">
|
||||
<div class="form-group col-sm-6">
|
||||
<label class="form-label" for="issue_date">{{ __('Gültig von') }}*</label>
|
||||
{{ Form::text('issue_date', $data['issue_date'], ['placeholder' => __('dd.mm.yyyy'), 'class' => 'form-control datepicker-base', 'required' => true]) }}
|
||||
</div>
|
||||
<div class="form-group col-sm-6">
|
||||
<label class="form-label" for="valid_date">{{ __('Gültig bis') }}*</label>
|
||||
{{ Form::text('valid_date', $data['valid_date'], ['placeholder' => __('dd.mm.yyyy'), 'class' => 'form-control datepicker-base', 'required' => true]) }}
|
||||
<i class="mt-1">Standard: {{ config('booking.coupon_valid_date_month') }} Monate Gültigkeit</i>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
<button type="button" class="btn btn-default" data-dismiss="modal">schließen</button>
|
||||
<button type="submit" class="btn @if($data['has_coupon']) btn-warning @else btn-primary @endif" name="action" value="{{ $data['action'] }}">@if($data['has_coupon']) Neuen @endif Gutschein erstellen</button>
|
||||
</div>
|
||||
{!! Form::close() !!}
|
||||
</div>
|
||||
<script type="text/javascript">
|
||||
$('.datepicker-base').datepicker({
|
||||
calendarWeeks: true,
|
||||
todayBtn: 'linked',
|
||||
// daysOfWeekDisabled: '1',
|
||||
todayHighlight: true,
|
||||
multidate: false,
|
||||
daysOfWeekHighlighted: '0,6',
|
||||
autoclose: true,
|
||||
format: 'dd.mm.yyyy',
|
||||
language: 'de',
|
||||
clearBtn: true,
|
||||
|
||||
});
|
||||
</script>
|
||||
92
resources/views/booking/modal_create_storno.blade.php
Normal file
92
resources/views/booking/modal_create_storno.blade.php
Normal file
|
|
@ -0,0 +1,92 @@
|
|||
<div class="modal-content">
|
||||
<div class="modal-header">
|
||||
<h5 class="modal-title">
|
||||
{{ __('Storno der Reisekosten') }}
|
||||
</h5>
|
||||
<button type="button" class="close" data-dismiss="modal" aria-label="Close">×</button>
|
||||
</div>
|
||||
{!! Form::open(['url' => $data['url'], 'class' => '', 'id' => 'create-coupon-form']) !!}
|
||||
{{ Form::hidden('booking_id', $data['booking_id']) }}
|
||||
{{ Form::hidden('action', $data['action']) }}
|
||||
|
||||
<div class="modal-body">
|
||||
<div class="form-row">
|
||||
<div class="form-group col-sm-6">
|
||||
<div class="input-group">
|
||||
<select class="custom-select" name="storno_level">
|
||||
{!! HTMLHelper::getSelectedOptions(
|
||||
[0 => '0%', 10 =>'10%', 20 => '20%', 30 => '30%', 40 => '40%', 50 => '50%', 60 => '60%', 70 => '70%', 80 => '80%', 90 => '90%', 100 => '100%'],
|
||||
$data['storno_level']) !!}
|
||||
</select>
|
||||
<div class="input-group-append">
|
||||
<span class="input-group-text"> der Reisekosten stornieren </span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group col-sm-6">
|
||||
<p class="mt-2"><strong><i> Gesamtpreis: {{ $data['price'] }} </i></strong></p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-row">
|
||||
<div class="form-group col-sm-6">
|
||||
<div class="input-group">
|
||||
<div class="input-group-prepend">
|
||||
<span class="input-group-text"> oder Zahl in % </span>
|
||||
</div>
|
||||
{{ Form::text('storno_level_number', $data['storno_level_number'], ['placeholder' => __('als %'), 'class' => 'form-control']) }}
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group col-sm-6">
|
||||
<div class="input-group">
|
||||
<div class="input-group-prepend">
|
||||
<span class="input-group-text"> oder Storno als Betrag in € </span>
|
||||
</div>
|
||||
{{ Form::text('storno_total_price', $data['storno_total_price'], ['placeholder' => __('in EURO'), 'class' => 'form-control']) }}
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="form-row">
|
||||
<div class="form-group col-sm-6">
|
||||
<label class="form-label" for="storno_date">{{ __('Stornodatum') }}*</label>
|
||||
{{ Form::text('storno_date', $data['storno_date'], ['placeholder' => __('dd.mm.yyyy'), 'class' => 'form-control datepicker-base', 'required' => true]) }}
|
||||
</div>
|
||||
<div class="form-group col-sm-6">
|
||||
<label class="form-label" for="storno_print">{{ __('Druckdatum') }}*</label>
|
||||
{{ Form::text('storno_print', $data['storno_print'], ['placeholder' => __('dd.mm.yyyy'), 'class' => 'form-control datepicker-base', 'required' => true]) }}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="form-row">
|
||||
<div class="form-group col-12">
|
||||
<label for="travel_place_id" class="form-label">{{__('Status')}}</label>
|
||||
<select class="custom-select" name="storno_status_id">
|
||||
{!! HTMLHelper::getSelectedOptions(
|
||||
[11 => 'Storno durch VA', 12 =>'Storno durch Kunde', 14 => 'Umbuchen'],
|
||||
$data['storno_status_id'], '-') !!}
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
<button type="button" class="btn btn-default" data-dismiss="modal">schließen</button>
|
||||
<button type="submit" class="btn @if($data['has_storno']) btn-warning @else btn-primary @endif" name="action" value="{{ $data['action'] }}">Storno @if($data['has_storno']) überschreiben @else erstellen @endif </button>
|
||||
</div>
|
||||
{!! Form::close() !!}
|
||||
</div>
|
||||
<script type="text/javascript">
|
||||
$('.datepicker-base').datepicker({
|
||||
calendarWeeks: true,
|
||||
todayBtn: 'linked',
|
||||
// daysOfWeekDisabled: '1',
|
||||
todayHighlight: true,
|
||||
multidate: false,
|
||||
daysOfWeekHighlighted: '0,6',
|
||||
autoclose: true,
|
||||
format: 'dd.mm.yyyy',
|
||||
language: 'de',
|
||||
clearBtn: true,
|
||||
|
||||
});
|
||||
</script>
|
||||
|
|
@ -53,12 +53,12 @@
|
|||
</div>
|
||||
<div class="form-group col-sm-2 col-6">
|
||||
<select class="selectpicker" data-style="btn-default" name="info_availables[local][{{$wday}}][from]" data-live-search="true">
|
||||
{!! \App\Services\HTMLHelper::getTimeInSteps($available->from) !!}
|
||||
{!! \App\Helper\HTMLHelper::getTimeInSteps($available->from) !!}
|
||||
</select>
|
||||
</div>
|
||||
<div class="form-group col-sm-2 col-6">
|
||||
<select class="selectpicker" data-style="btn-default" name="info_availables[local][{{$wday}}][to]" data-live-search="true">
|
||||
{!! \App\Services\HTMLHelper::getTimeInSteps($available->to) !!}
|
||||
{!! \App\Helper\HTMLHelper::getTimeInSteps($available->to) !!}
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
|
|
@ -79,7 +79,7 @@
|
|||
<div class="col-sm-2 col-6">
|
||||
{{ Form::text('special_availables['.$special_local->id.'][date]', $special_local->date, array('placeholder'=>__('Datum'), 'class'=>'form-control datepicker-base')) }}
|
||||
</div>
|
||||
<div class="col-sm-2 col-6 py-2"><strong>{!! \App\Services\HTMLHelper::getDeDay($special_local->wday) !!}</strong></div>
|
||||
<div class="col-sm-2 col-6 py-2"><strong>{!! \App\Helper\HTMLHelper::getDeDay($special_local->wday) !!}</strong></div>
|
||||
|
||||
<div class="col-sm-2 col-12 py-2">
|
||||
<label class="switcher">
|
||||
|
|
@ -94,12 +94,12 @@
|
|||
</div>
|
||||
<div class="form-group col-sm-2 col-6">
|
||||
<select class="selectpicker" data-style="btn-default" name="special_availables[{{$special_local->id}}][from]" data-live-search="true">
|
||||
{!! \App\Services\HTMLHelper::getTimeInSteps($special_local->from) !!}
|
||||
{!! \App\Helper\HTMLHelper::getTimeInSteps($special_local->from) !!}
|
||||
</select>
|
||||
</div>
|
||||
<div class="form-group col-sm-2 col-6">
|
||||
<select class="selectpicker" data-style="btn-default" name="special_availables[{{$special_local->id}}][to]" data-live-search="true">
|
||||
{!! \App\Services\HTMLHelper::getTimeInSteps($special_local->to) !!}
|
||||
{!! \App\Helper\HTMLHelper::getTimeInSteps($special_local->to) !!}
|
||||
</select>
|
||||
</div>
|
||||
<div class="col-sm-1 col-2 p-1">
|
||||
|
|
@ -134,12 +134,12 @@
|
|||
</div>
|
||||
<div class="form-group col-sm-2 col-6">
|
||||
<select class="selectpicker" data-style="btn-default" name="info_availables[phone][{{$wday}}][from]" data-live-search="true">
|
||||
{!! \App\Services\HTMLHelper::getTimeInSteps($available->from) !!}
|
||||
{!! \App\Helper\HTMLHelper::getTimeInSteps($available->from) !!}
|
||||
</select>
|
||||
</div>
|
||||
<div class="form-group col-sm-2 col-6">
|
||||
<select class="selectpicker" data-style="btn-default" name="info_availables[phone][{{$wday}}][to]" data-live-search="true">
|
||||
{!! \App\Services\HTMLHelper::getTimeInSteps($available->to) !!}
|
||||
{!! \App\Helper\HTMLHelper::getTimeInSteps($available->to) !!}
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
|
|
@ -160,7 +160,7 @@
|
|||
<div class="col-sm-2 col-6">
|
||||
{{ Form::text('special_availables['.$special_phone->id.'][date]', $special_phone->date, array('placeholder'=>__('Datum'), 'class'=>'form-control datepicker-base')) }}
|
||||
</div>
|
||||
<div class="col-sm-2 col-6 py-2"><strong>{!! \App\Services\HTMLHelper::getDeDay($special_phone->wday) !!}</strong></div>
|
||||
<div class="col-sm-2 col-6 py-2"><strong>{!! \App\Helper\HTMLHelper::getDeDay($special_phone->wday) !!}</strong></div>
|
||||
|
||||
<div class="col-sm-2 col-12 py-2">
|
||||
<label class="switcher">
|
||||
|
|
@ -175,12 +175,12 @@
|
|||
</div>
|
||||
<div class="form-group col-sm-2 col-6">
|
||||
<select class="selectpicker" data-style="btn-default" name="special_availables[{{$special_phone->id}}][from]" data-live-search="true">
|
||||
{!! \App\Services\HTMLHelper::getTimeInSteps($special_phone->from) !!}
|
||||
{!! \App\Helper\HTMLHelper::getTimeInSteps($special_phone->from) !!}
|
||||
</select>
|
||||
</div>
|
||||
<div class="form-group col-sm-2 col-6">
|
||||
<select class="selectpicker" data-style="btn-default" name="special_availables[{{$special_phone->id}}][to]" data-live-search="true">
|
||||
{!! \App\Services\HTMLHelper::getTimeInSteps($special_phone->to) !!}
|
||||
{!! \App\Helper\HTMLHelper::getTimeInSteps($special_phone->to) !!}
|
||||
</select>
|
||||
</div>
|
||||
<div class="col-sm-1 col-2 p-1">
|
||||
|
|
|
|||
|
|
@ -31,7 +31,7 @@
|
|||
</label>
|
||||
@if($feedback->lvl != 1)
|
||||
<label for="feedback_parent" class="form-label">{{__('Parent')}}*</label>
|
||||
<select class="selectpicker" data-style="btn-default" name="feedback_parent" required>
|
||||
<select class="custom-select" data-style="btn-default" name="feedback_parent" required>
|
||||
{!! HTMLHelper::getParentBy($feedback->parent, $feedback->getParentsArray()) !!}
|
||||
</select>
|
||||
@else
|
||||
|
|
@ -56,8 +56,8 @@
|
|||
|
||||
<div class="form-row">
|
||||
<div class="form-group col-sm-12">
|
||||
<label class="form-label" for="feedback_slug">{{ __('Text') }}*</label>
|
||||
{{ Form::textarea('content', HTMLHelper::filterHTML($feedback->content, ['src' => ['addHost']]) , ['class' => 'form-control summernote']) }}
|
||||
<label class="form-label" for="feedback_content_new">{{ __('Text') }}*</label>
|
||||
{{ Form::textarea('content_new', HTMLHelper::filterHTML($feedback->content_new, ['src' => ['addHost']]) , ['class' => 'form-control summernote', 'id'=>'feedback_content_new']) }}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
|
@ -76,6 +76,34 @@
|
|||
</div>
|
||||
</div>
|
||||
|
||||
<h4 class="mb-0 bg-light p-1">Hauptbild</h4>
|
||||
<hr class="mt-0">
|
||||
<div class="media mx-auto pb-3" id="lfm-data-fill">
|
||||
<img src="{{$feedback->getImage('thumb_url')}}" alt="" class="img_thumb_url d-block ui-w-100">
|
||||
<div class="media-body mt-2 ml-2">
|
||||
<div class="form-row">
|
||||
<div class="form-group col-10 col-sm-11" >
|
||||
{{ Form::hidden('image[slug]', $feedback->getImage('slug')) }}
|
||||
{{ Form::hidden('image[thumb_url]', $feedback->getImage('thumb_url')) }}
|
||||
{{ Form::hidden('image[url]', $feedback->getImage('url')) }}
|
||||
{{ Form::text('image[title]', $feedback->getImage('title'), array('placeholder'=>'Bildtitel', 'class'=>'form-control mb-2')) }}
|
||||
{{ Form::text('image[alt]', $feedback->getImage('alt'), array('placeholder'=>'Bild ALT Tag', 'class'=>'form-control')) }}
|
||||
</div>
|
||||
<div class="form-group col-2 col-sm-1">
|
||||
<button type="button" class="btn btn-sm btn-secondary float-right btn-lfm-open-modal"
|
||||
data-id="#lfm-data-fill"
|
||||
data-obj="image"
|
||||
data-set='["url", "slug", "thumb_url"]'
|
||||
data-img='.img_thumb_url'
|
||||
data-title="title"
|
||||
data-alt="alt">
|
||||
<i class="fa fa-image"></i>
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
|
@ -187,4 +215,12 @@
|
|||
--}}
|
||||
|
||||
|
||||
@endsection
|
||||
|
||||
@section('scripts')
|
||||
<script>
|
||||
$(document).ready(function() {
|
||||
IqLFileManager.init();
|
||||
});
|
||||
</script>
|
||||
@endsection
|
||||
91
resources/views/cms/travel_guide/test.blade.php
Normal file
91
resources/views/cms/travel_guide/test.blade.php
Normal file
|
|
@ -0,0 +1,91 @@
|
|||
@extends('layouts.layout-2')
|
||||
|
||||
@section('content')
|
||||
<style>
|
||||
.alert ul {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
</style>
|
||||
@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
|
||||
|
||||
|
||||
{!! Form::open(['url' => route('cms_travel_guide_test'), 'class' => 'form-horizontal']) !!}
|
||||
|
||||
<h4 class="font-weight-bold py-3 mb-1">
|
||||
Reiseführer TEST Editor
|
||||
|
||||
</h4>
|
||||
<div class="clearfix"></div>
|
||||
|
||||
<input type="hidden" name="id" id="id" value="">
|
||||
|
||||
<div class="card mb-2">
|
||||
<div class="card-body">
|
||||
<div class="form-row">
|
||||
<div class="form-group col-sm-12">
|
||||
<label class="form-label" for="content_new">summernote</label>
|
||||
<br clear="all">
|
||||
{{ Form::textarea('content_new', '' , ['class' => 'form-control summernote']) }}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="card mb-2">
|
||||
<div class="card-body">
|
||||
<div class="form-row">
|
||||
<div class="form-group col-sm-12">
|
||||
<label class="form-label" for="content_new">summernote small</label>
|
||||
<br clear="all">
|
||||
{{ Form::textarea('content_new', '' , ['class' => 'form-control summernote-small']) }}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="card mb-2">
|
||||
<div class="card-body">
|
||||
<div class="form-row">
|
||||
<div class="form-group col-sm-12">
|
||||
<label class="form-label" for="content_new">summernote exsmall</label>
|
||||
<br clear="all">
|
||||
{{ Form::textarea('content_new', '' , ['class' => 'form-control summernote-exsmall']) }}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="card mb-2">
|
||||
<div class="card-body">
|
||||
<div class="form-row">
|
||||
<div class="form-group col-sm-12">
|
||||
<label class="form-label" for="content_new">summernote air</label>
|
||||
<br clear="all">
|
||||
{{ Form::textarea('content_new', '' , ['class' => 'form-control summernote-air']) }}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{!! Form::close() !!}
|
||||
@endsection
|
||||
|
||||
@section('scripts')
|
||||
|
||||
@endsection
|
||||
|
|
@ -79,7 +79,7 @@
|
|||
data-route="{{ route('iq_content_modal_load') }}"><span class="fa fa-edit"></span></a>
|
||||
</div>
|
||||
<div class="dd" id="netstable-content-tree" data-id="{{$model->id}}">
|
||||
{!! \App\Services\HTMLTreeHelper::makeNestableList($model, ($tree_node ? $tree_node->id : false)) !!}
|
||||
{!! \App\Helper\TreeHTML::makeNestableList($model, ($tree_node ? $tree_node->id : false)) !!}
|
||||
</div>
|
||||
</div>
|
||||
{!! Form::close() !!}
|
||||
|
|
@ -106,25 +106,25 @@
|
|||
</div>
|
||||
</div>
|
||||
<div class="">
|
||||
{{-- <div class="nav-responsive-md">
|
||||
<ul class="nav nav-pills nav-fill">
|
||||
<li class="nav-item">
|
||||
<a href="{{route('iq_content_tree_detail', [$model->id, $tree_node->id])}}" class="nav-link @if(!$section) active1 @endif">{{$tree_node->name}}
|
||||
</a>
|
||||
</li>
|
||||
@if($tree_node->iq_content_sites)
|
||||
@foreach($tree_node->iq_content_sites as $iq_content_site)
|
||||
<li class="nav-item">
|
||||
<a href="{{route('iq_content_tree_detail', [$model->id, $tree_node->id,$iq_content_site->id])}}" class="nav-link @if($iq_content_site && $iq_content_site->id == $section) active @endif">{{ $iq_content_site->id }}
|
||||
|
||||
</a>
|
||||
</li>
|
||||
@endforeach
|
||||
@endif
|
||||
</ul>
|
||||
</div>
|
||||
--}}
|
||||
|
||||
{{--
|
||||
<div class="nav-responsive-md">
|
||||
<ul class="nav nav-pills nav-fill">
|
||||
<li class="nav-item">
|
||||
<a href="{{route('iq_content_tree_detail', [$model->id, $tree_node->id])}}" class="nav-link @if(!$section) active1 @endif">{{$tree_node->name}}
|
||||
</a>
|
||||
</li>
|
||||
@if($tree_node->iq_content_sites)
|
||||
@foreach($tree_node->iq_content_sites as $iq_content_site)
|
||||
<li class="nav-item">
|
||||
<a href="{{route('iq_content_tree_detail', [$model->id, $tree_node->id,$iq_content_site->id])}}" class="nav-link @if($iq_content_site && $iq_content_site->id == $section) active @endif">
|
||||
{{ $iq_content_site->id }}
|
||||
</a>
|
||||
</li>
|
||||
@endforeach
|
||||
@endif
|
||||
</ul>
|
||||
</div>
|
||||
--}}
|
||||
@if(!$site_fields)
|
||||
<div class="">
|
||||
<input type="hidden" name="id" value="{{$tree_node->id}}">
|
||||
|
|
|
|||
|
|
@ -129,9 +129,18 @@
|
|||
@foreach ($customer->coupons as $coupon)
|
||||
<tr>
|
||||
<td>
|
||||
<a href="{{ route('customer_file_show', ['coupon', $coupon->id]) }}" target="_blank" class="badge badge-md badge-warning">
|
||||
<i class="fa fa-file-pdf mr-1"></i> Gutschein {{$coupon->number}}
|
||||
@if($coupon->booking_document)
|
||||
|
||||
<a href="{{ $coupon->booking_document->getURL('file') }}" target="_blank" class="badge badge-md badge-warning">
|
||||
<i class="fa fa-file-pdf mr-1"></i> Gutschein {{$coupon->number}}
|
||||
</a>
|
||||
@else
|
||||
<a href="{{ route('customer_file_show', ['coupon', $coupon->id]) }}" target="_blank" class="badge badge-md badge-warning">
|
||||
<i class="fa fa-file-pdf mr-1"></i> Gutschein {{$coupon->number}}
|
||||
</a>
|
||||
@endif
|
||||
|
||||
|
||||
</td>
|
||||
<td>
|
||||
{{ \App\Services\Util::_number_format($coupon->value)}} €
|
||||
|
|
@ -151,10 +160,17 @@
|
|||
</td>
|
||||
|
||||
<td>
|
||||
<a href="{{ route('customer_file_show', ['coupon', $coupon->id, true]) }}" class="btn btn-xs btn-default"
|
||||
title="Download" data-placement="left" rel="tooltip">
|
||||
<i class="fa fa-download"></i>
|
||||
</a>
|
||||
@if($coupon->booking_document)
|
||||
<a href="{{ $coupon->booking_document->getURL('download') }}" class="btn btn-xs btn-default"
|
||||
title="Download" data-placement="left" rel="tooltip">
|
||||
<i class="fa fa-download"></i>
|
||||
</a>
|
||||
@else
|
||||
<a href="{{ route('customer_file_show', ['coupon', $coupon->id, true]) }}" class="btn btn-xs btn-default"
|
||||
title="Download" data-placement="left" rel="tooltip">
|
||||
<i class="fa fa-download"></i>
|
||||
</a>
|
||||
@endif
|
||||
</td>
|
||||
</tr>
|
||||
@endforeach
|
||||
|
|
@ -162,8 +178,6 @@
|
|||
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -39,7 +39,7 @@
|
|||
|
||||
<ul class="nav nav-sm nav-tabs nav-justified tabs-alt mb-3" id="top-nav-quick-jump">
|
||||
<li class="nav-item">
|
||||
<a class="nav-link" href="javascript:void(0)" data-collapse="#collapseCustomerDetail">
|
||||
<a class="nav-link active" href="javascript:void(0)" data-collapse="#collapseCustomerDetail">
|
||||
Kunde
|
||||
</a>
|
||||
</li>
|
||||
|
|
@ -71,6 +71,16 @@
|
|||
<script>
|
||||
$(document).ready(function() {
|
||||
|
||||
|
||||
$("#customer-form-validation button[type='submit']").on("click", function(event) {
|
||||
$(':input[required]', "#customer-form-validation").each(function() {
|
||||
if ($(this).val() == "" || $(this).val() == null) {
|
||||
$(this).closest(".collapse").collapse('show');
|
||||
return false;
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
var collapseHashValue = null;
|
||||
$('[rel="tooltip"]').tooltip({trigger: "hover"});
|
||||
|
||||
|
|
@ -93,28 +103,30 @@
|
|||
});
|
||||
|
||||
$(".collapse").on('shown.bs.collapse', function (){
|
||||
if(collapseHashValue){
|
||||
/*if(collapseHashValue){
|
||||
$('a[data-collapse="#'+collapseHashValue+'"]').click();
|
||||
collapseHashValue = null;
|
||||
}
|
||||
CookiesAddJSONValue('customer_collapse', $(this).attr('id'));
|
||||
*/
|
||||
window.location.hash = "#"+$(this).attr('id');
|
||||
|
||||
});
|
||||
|
||||
$(".collapse").on('hidden.bs.collapse', function (){
|
||||
CookiesRemoveJSONValue('customer_collapse', $(this).attr('id'));
|
||||
//CookiesRemoveJSONValue('customer_collapse', $(this).attr('id'));
|
||||
});
|
||||
|
||||
function init_site(){
|
||||
if(window.location.hash){
|
||||
value = $(window.location.hash).attr('id');
|
||||
if(value){
|
||||
collapseHashValue = value;
|
||||
CookiesAddJSONValue('customer_collapse', value);
|
||||
$('a[data-collapse="#'+value+'"]').click();
|
||||
//CookiesAddJSONValue('customer_collapse', value);
|
||||
}
|
||||
}
|
||||
var customer_collapses = Cookies.get('customer_collapse');
|
||||
var customer_collapses = '{!! \App\Services\Util::prepareCollapseValues() !!}';
|
||||
/*var lead_collapses = Cookies.get('lead_collapse'); */
|
||||
if (customer_collapses != null)
|
||||
{
|
||||
customer_collapses = JSON.parse(customer_collapses);
|
||||
|
|
@ -122,6 +134,14 @@
|
|||
$("#"+customer_collapses[customer_collapse]).collapse("show");
|
||||
}
|
||||
}
|
||||
/*var customer_collapses = Cookies.get('customer_collapse');
|
||||
if (customer_collapses != null)
|
||||
{
|
||||
customer_collapses = JSON.parse(customer_collapses);
|
||||
for (var customer_collapse in customer_collapses){
|
||||
$("#"+customer_collapses[customer_collapse]).collapse("show");
|
||||
}
|
||||
}*/
|
||||
}
|
||||
init_site();
|
||||
});
|
||||
|
|
|
|||
|
|
@ -7,13 +7,17 @@
|
|||
</h4>
|
||||
|
||||
<div class="card">
|
||||
<div class="card-datatable table-responsive">
|
||||
<table class="datatables-customer table table-striped table-bordered">
|
||||
<div class="table-responsive-track" id="datatables-customer-scroll">
|
||||
<div class="table-responsive-thumb" id="datatables-customer-thumb">
|
||||
</div>
|
||||
</div>
|
||||
<div class="card-datatable table-responsive" id="datatables-customer-table">
|
||||
<table class="datatables-customer table table-striped table-bordered" id="datatables-customer">
|
||||
|
||||
<thead>
|
||||
<tr>
|
||||
<th style="max-width: 60px;"> </th>
|
||||
<th>{{__('KundenID')}}</th>
|
||||
<th>{{__('KundenID')}}1</th>
|
||||
<th>{{__('Vorname')}}</th>
|
||||
<th>{{__('Nachname')}}</th>
|
||||
<th>{{__('E-Mail')}}</th>
|
||||
|
|
@ -41,6 +45,9 @@
|
|||
"iDisplayLength": 100,
|
||||
"language": {
|
||||
"url": "/js/German.json"
|
||||
},
|
||||
drawCallback: function () {
|
||||
dataTableScrollTrack('#datatables-customer');
|
||||
}
|
||||
});
|
||||
});
|
||||
|
|
|
|||
|
|
@ -7,8 +7,12 @@
|
|||
</h4>
|
||||
|
||||
<div class="card">
|
||||
<div class="card-datatable table-responsive">
|
||||
<table class="datatables-customer table table-striped table-bordered">
|
||||
<div class="table-responsive-track" id="datatables-customer-scroll">
|
||||
<div class="table-responsive-thumb" id="datatables-customer-thumb">
|
||||
</div>
|
||||
</div>
|
||||
<div class="card-datatable table-responsive" id="datatables-customer-table">
|
||||
<table class="datatables-customer table table-striped table-bordered" id="datatables-customer">
|
||||
|
||||
<thead>
|
||||
<tr>
|
||||
|
|
@ -55,6 +59,9 @@
|
|||
"iDisplayLength": 100,
|
||||
"language": {
|
||||
"url": "/js/German.json"
|
||||
},
|
||||
drawCallback: function () {
|
||||
dataTableScrollTrack('#datatables-customer');
|
||||
}
|
||||
});
|
||||
});
|
||||
|
|
|
|||
|
|
@ -12,149 +12,20 @@
|
|||
<tbody>
|
||||
@php($booking_files_count = 1)
|
||||
|
||||
@if($booking->booking_applications)
|
||||
@foreach($booking->booking_applications as $booking_application)
|
||||
<tr>
|
||||
<th scope="row">{{$booking_files_count++}}</th>
|
||||
<td>
|
||||
<a href="{{ route('customer_file_show', ['booking_application', $booking_application->id]) }}" target="_blank" class="badge badge-md badge-primary">
|
||||
<i class="fa fa-file-pdf mr-1"></i> Reiseanmeldung
|
||||
</a>
|
||||
</td>
|
||||
<td>
|
||||
GB: {{ \App\Services\Util::_number_format($booking_application->total)}} €
|
||||
</td>
|
||||
<td>{{\App\Services\Util::_format_date($booking_application->updated_at, 'date')}}</td>
|
||||
<td>
|
||||
<button data-target="{{ route('customer_file_show', ['booking_application', $booking_application->id, true]) }}" data-name="Reiseanmeldung.pdf" class="btn btn-xs btn-primary add-file-to-attachment add-file-to-attachment"
|
||||
title="als Anhang hinzufügen" data-placement="left" rel="tooltip">
|
||||
<i class="fa fa-cloud-download-alt"></i>
|
||||
</button>
|
||||
</td>
|
||||
</tr>
|
||||
@endforeach
|
||||
@endif
|
||||
|
||||
@if($booking->booking_confirmations)
|
||||
@foreach($booking->booking_confirmations as $booking_confirmation)
|
||||
<tr>
|
||||
<th scope="row">{{$booking_files_count++}}</th>
|
||||
<td>
|
||||
<a href="{{ route('customer_file_show', ['booking_confirmation', $booking_confirmation->id]) }}" target="_blank" class="badge badge-md badge-success">
|
||||
<i class="fa fa-file-pdf mr-1"></i> Reisebestätigung
|
||||
</a>
|
||||
</td>
|
||||
<td>
|
||||
GP: {{ \App\Services\Util::_number_format($booking_confirmation->total)}} € |
|
||||
AZ: {{ \App\Services\Util::_number_format($booking_confirmation->deposit)}} € |
|
||||
RE: {{ \App\Services\Util::_number_format($booking_confirmation->final_payment)}} €
|
||||
</td>
|
||||
<td>{{\App\Services\Util::_format_date($booking_confirmation->updated_at, 'date')}}</td>
|
||||
<td>
|
||||
<button data-target="{{ route('customer_file_show', ['booking_confirmation', $booking_confirmation->id]) }}" data-name="Reisebestätigung.pdf" class="btn btn-xs btn-primary add-file-to-attachment"
|
||||
title="als Anhang hinzufügen" data-placement="left" rel="tooltip">
|
||||
<i class="fa fa-cloud-download-alt"></i>
|
||||
</button>
|
||||
</td>
|
||||
</tr>
|
||||
@endforeach
|
||||
@endif
|
||||
{!! App\Helper\BookingDocument::getBookingDocumentsHTMLTable('registration', $booking, 'mail') !!}
|
||||
|
||||
{!! App\Helper\BookingDocument::getBookingDocumentsHTMLTable('confirmation', $booking, 'mail') !!}
|
||||
|
||||
@if($booking->booking_stornos)
|
||||
@foreach($booking->booking_stornos as $booking_storno)
|
||||
<tr>
|
||||
<th scope="row">{{$booking_files_count++}}</th>
|
||||
<td>
|
||||
<a href="{{ route('customer_file_show', ['booking_storno', $booking_storno->id]) }}" target="_blank" class="badge badge-md badge-danger">
|
||||
<i class="fa fa-file-pdf mr-1"></i> Stornobestätigung
|
||||
</a>
|
||||
</td>
|
||||
<td>
|
||||
Stornobetrag: {{ \App\Services\Util::_number_format($booking_storno->total)}} €
|
||||
</td>
|
||||
<td>{{\App\Services\Util::_format_date($booking_storno->updated_at, 'date')}}</td>
|
||||
<td>
|
||||
<button data-target="{{ route('customer_file_show', ['booking_storno', $booking_storno->id]) }}" data-name="Stornobestätigung.pdf" class="btn btn-xs btn-primary add-file-to-attachment"
|
||||
title="als Anhang hinzufügen" data-placement="left" rel="tooltip">
|
||||
<i class="fa fa-cloud-download-alt"></i>
|
||||
</button>
|
||||
</td>
|
||||
</tr>
|
||||
@endforeach
|
||||
@endif
|
||||
{!! App\Helper\BookingDocument::getBookingDocumentsHTMLTable('storno', $booking, 'mail') !!}
|
||||
|
||||
@if($booking->coupons)
|
||||
@foreach($booking->coupons as $coupon)
|
||||
<tr>
|
||||
<th scope="row">{{$booking_files_count++}}</th>
|
||||
<td>
|
||||
<a href="{{ route('customer_file_show', ['coupon', $coupon->id]) }}" target="_blank" class="badge badge-md badge-warning">
|
||||
<i class="fa fa-file-pdf mr-1"></i> Gutschein {{$coupon->number}}
|
||||
</a>
|
||||
</td>
|
||||
<td>
|
||||
Wert: {{ \App\Services\Util::_number_format($coupon->value)}} € |
|
||||
bis: {{\App\Services\Util::_format_date($coupon->valid_date, 'date')}} |
|
||||
@if($coupon->is_redeemed) <i class="fa fa-check-circle text-success"></i> {{\App\Services\Util::_format_date($coupon->redeem_date, 'date')}} @else <i class="fa fa-times-circle text-danger"></i> @endif
|
||||
</td>
|
||||
<td>{{\App\Services\Util::_format_date($coupon->issue_date, 'date')}}</td>
|
||||
<td>
|
||||
<button data-target="{{ route('customer_file_show', ['coupon', $coupon->id]) }}" data-name="Gutschein_{{$coupon->number}}.pdf" class="btn btn-xs btn-primary add-file-to-attachment"
|
||||
title="als Anhang hinzufügen" data-placement="left" rel="tooltip">
|
||||
<i class="fa fa-cloud-download-alt"></i>
|
||||
</button>
|
||||
</td>
|
||||
</tr>
|
||||
@endforeach
|
||||
@endif
|
||||
{!! App\Helper\BookingDocument::getBookingDocumentsHTMLTable('coupon', $booking, 'mail') !!}
|
||||
|
||||
@if($booking->booking_vouchers)
|
||||
@foreach($booking->booking_vouchers as $booking_voucher)
|
||||
<tr>
|
||||
<th scope="row">{{$booking_files_count++}}</th>
|
||||
<td>
|
||||
<a href="{{ route('customer_file_show', ['booking_voucher', $booking_voucher->id]) }}" target="_blank" class="badge badge-md badge-dark">
|
||||
<i class="fa fa-file-pdf mr-1"></i> Voucher ID {{$booking_voucher->id}}
|
||||
</a>
|
||||
</td>
|
||||
<td>
|
||||
Voucher für den Kunden
|
||||
</td>
|
||||
<td>{{\App\Services\Util::_format_date($booking_voucher->updated_at, 'date')}}</td>
|
||||
<td>
|
||||
<button data-target="{{ route('customer_file_show', ['booking_voucher', $booking_voucher->id]) }}" data-name="Voucher-ID_{{$booking_voucher->id}}.pdf" class="btn btn-xs btn-primary add-file-to-attachment"
|
||||
title="als Anhang hinzufügen" data-placement="left" rel="tooltip">
|
||||
<i class="fa fa-cloud-download-alt"></i>
|
||||
</button>
|
||||
</td>
|
||||
</tr>
|
||||
@endforeach
|
||||
@endif
|
||||
|
||||
@if($booking->booking_voucher_agencys)
|
||||
@foreach($booking->booking_voucher_agencys as $booking_voucher_agency)
|
||||
<tr>
|
||||
<th scope="row">{{$booking_files_count++}}</th>
|
||||
<td>
|
||||
<a href="{{ route('customer_file_show', ['booking_voucher_agency', $booking_voucher_agency->id]) }}" target="_blank" class="badge badge-md badge-dark">
|
||||
<i class="fa fa-file-pdf mr-1"></i> Voucher-Agentur ID {{$booking_voucher_agency->id}}
|
||||
</a>
|
||||
</td>
|
||||
<td>
|
||||
Voucher für die Agentur
|
||||
</td>
|
||||
<td>{{\App\Services\Util::_format_date($booking_voucher_agency->updated_at, 'date')}}</td>
|
||||
|
||||
<td>
|
||||
<button data-target="{{ route('customer_file_show', ['booking_voucher_agency', $booking_voucher->id]) }}" data-name="Voucher-Agentur-ID_{{$booking_voucher->id}}.pdf" class="btn btn-xs btn-primary add-file-to-attachment"
|
||||
title="als Anhang hinzufügen" data-placement="left" rel="tooltip">
|
||||
<i class="fa fa-cloud-download-alt"></i>
|
||||
</button>
|
||||
</td>
|
||||
</tr>
|
||||
@endforeach
|
||||
@endif
|
||||
{!! App\Helper\BookingDocument::getBookingDocumentsHTMLTable('voucher', $booking, 'mail') !!}
|
||||
|
||||
{!! App\Helper\BookingDocument::getBookingDocumentsHTMLTable('voucher_agency', $booking, 'mail') !!}
|
||||
|
||||
|
||||
@if($booking->insurance_certificates)
|
||||
@foreach($booking->insurance_certificates as $insurance_certificate)
|
||||
<tr>
|
||||
|
|
|
|||
|
|
@ -13,6 +13,7 @@
|
|||
<div class="modal-body">
|
||||
{!! Form::open(['url' => $value->url, 'class' => '', 'id'=>'customer-mail-form']) !!}
|
||||
{{ Form::hidden('booking_id', $value->id) }}
|
||||
{{ Form::hidden('collapse_shows', '') }}
|
||||
{{ Form::hidden('action', '') }}
|
||||
@if(isset($value->save_customer_mail_id))
|
||||
{{ Form::hidden('save_customer_mail_id', $value->save_customer_mail_id) }}
|
||||
|
|
@ -147,6 +148,11 @@
|
|||
<button class="ql-blockquote"></button>
|
||||
<button class="ql-code-block"></button>
|
||||
</span>
|
||||
|
||||
<span class="ql-formats">
|
||||
<select class="ql-color"></select>
|
||||
<select class="ql-background"></select>
|
||||
</span>
|
||||
<span class="ql-formats">
|
||||
<button class="ql-list" value="ordered"></button>
|
||||
<button class="ql-list" value="bullet"></button>
|
||||
|
|
@ -359,9 +365,21 @@
|
|||
}
|
||||
})
|
||||
}
|
||||
|
||||
function check_collapse_shows(){
|
||||
var collapse_shows = [];
|
||||
$('.layout-content').find('.collapse').each(function () {
|
||||
if($(this).hasClass('show')){
|
||||
collapse_shows.push($(this).attr('id'));
|
||||
}
|
||||
});
|
||||
$('input[name=collapse_shows]').val(collapse_shows.join(','));
|
||||
}
|
||||
|
||||
$(document).ready(function() {
|
||||
|
||||
check_collapse_shows();
|
||||
|
||||
$('#open_modal_quill_preview').on('click', function (event) {
|
||||
data = {};
|
||||
$.each($(this).data(), function(index, value){
|
||||
|
|
|
|||
|
|
@ -98,6 +98,7 @@
|
|||
<hr class="border-light m-0">
|
||||
<div class="px-4 pt-4 pb-2">
|
||||
{!! Form::open(['url' => route('customer_mail_detail', [$customer_mail->id, 'move-mail']), 'class' => 'move-mail-form']) !!}
|
||||
{{ Form::hidden('collapse_shows', '') }}
|
||||
<div class="form-row">
|
||||
<div class="col-sm-6">
|
||||
<label for="customer_mail_dir" class="form-label">Ablegen unter:</label>
|
||||
|
|
@ -129,6 +130,7 @@
|
|||
{!! Form::close() !!}
|
||||
<hr>
|
||||
{!! Form::open(['url' => route('customer_mail_detail', [$customer_mail->id, 'forward_email']), 'class' => 'forward-mail-form']) !!}
|
||||
{{ Form::hidden('collapse_shows', '') }}
|
||||
<div class="form-row">
|
||||
<div class="col-sm-6">
|
||||
<label for="customer_mail_forward_email" class="form-label">E-Mail weiterleiten:</label>
|
||||
|
|
|
|||
|
|
@ -34,7 +34,19 @@
|
|||
})
|
||||
}
|
||||
|
||||
function check_collapse_shows(){
|
||||
var collapse_shows = [];
|
||||
$('.layout-content').find('.collapse').each(function () {
|
||||
if($(this).hasClass('show')){
|
||||
collapse_shows.push($(this).attr('id'));
|
||||
}
|
||||
});
|
||||
$('input[name=collapse_shows]').val(collapse_shows.join(','));
|
||||
}
|
||||
|
||||
$(document).ready(function() {
|
||||
check_collapse_shows();
|
||||
|
||||
$('form.move-mail-form').each(function () {
|
||||
var _form = $(this);
|
||||
$(this).find('.customer_mail_dir').on('change', function () {
|
||||
|
|
|
|||
|
|
@ -11,7 +11,6 @@
|
|||
|
||||
Ihr Team von STERN TOURS
|
||||
|
||||
|
||||
---------------
|
||||
---------------
|
||||
|
||||
|
|
@ -22,7 +21,7 @@ e-Mail: stern@sterntours.de | Internet: www.sterntours.de
|
|||
|
||||
Handelsregister: Amtsgericht Charlottenburg | HRB 67111
|
||||
Steuer-Nr.: 27/545/30703 | UStId: DE192609253
|
||||
Geschäftsführung: Thomas Stern
|
||||
Geschäftsführung: Leoni Stern
|
||||
|
||||
Unsere vollständige Datenschutzerklärung finden Sie auf unserer Webseite unter {{route('data_protected')}}
|
||||
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@
|
|||
<td style="color:#9b9b9b; font-size:12px;">
|
||||
Handelsregister: Amtsgericht Charlottenburg | HRB 67111<br>
|
||||
Steuer-Nr.: 27/545/30703 | UStId: DE192609253<br>
|
||||
Geschäftsführung: Thomas Stern<br>
|
||||
Geschäftsführung: Leoni Stern<br>
|
||||
<br>
|
||||
Unsere vollständige Datenschutzerklärung finden Sie auf unserer Webseite unter <a href="{{route('data_protected')}}">www.sterntours.de/datenschutz</a> <br>
|
||||
<br>
|
||||
|
|
@ -23,7 +23,7 @@
|
|||
Unser Unternehmen ist zur Teilnahme an einem Streitbeilegungsverfahren bei dieser
|
||||
Verbraucherschlichtungsstelle nicht verpflichtet und nimmt auch nicht freiwillig daran teil.
|
||||
<br><br>
|
||||
© 2020 alle Rechte vorbehalten
|
||||
© 2024 alle Rechte vorbehalten
|
||||
<br>
|
||||
<br>
|
||||
</td>
|
||||
|
|
|
|||
|
|
@ -7,8 +7,12 @@
|
|||
</h4>
|
||||
|
||||
<div class="card">
|
||||
<div class="card-datatable table-responsive">
|
||||
<table class="datatables-customer table table-striped table-bordered">
|
||||
<div class="table-responsive-track" id="datatables-customer-scroll">
|
||||
<div class="table-responsive-thumb" id="datatables-customer-thumb">
|
||||
</div>
|
||||
</div>
|
||||
<div class="card-datatable table-responsive" id="datatables-customer-table">
|
||||
<table class="datatables-customer table table-striped table-bordered" id="datatables-customer">
|
||||
|
||||
<thead>
|
||||
<tr>
|
||||
|
|
@ -50,6 +54,9 @@
|
|||
"iDisplayLength": 100,
|
||||
"language": {
|
||||
"url": "/js/German.json"
|
||||
},
|
||||
drawCallback: function () {
|
||||
dataTableScrollTrack('#datatables-customer');
|
||||
}
|
||||
});
|
||||
});
|
||||
|
|
|
|||
|
|
@ -7,8 +7,12 @@
|
|||
</h4>
|
||||
|
||||
<div class="card">
|
||||
<div class="card-datatable table-responsive">
|
||||
<table class="datatables-customer table table-striped table-bordered">
|
||||
<div class="table-responsive-track" id="datatables-customer-scroll">
|
||||
<div class="table-responsive-thumb" id="datatables-customer-thumb">
|
||||
</div>
|
||||
</div>
|
||||
<div class="card-datatable table-responsive" id="datatables-customer-table">
|
||||
<table class="datatables-customer table table-striped table-bordered" id="datatables-customer">
|
||||
|
||||
<thead>
|
||||
<tr>
|
||||
|
|
@ -47,6 +51,9 @@
|
|||
"iDisplayLength": 100,
|
||||
"language": {
|
||||
"url": "/js/German.json"
|
||||
},
|
||||
drawCallback: function () {
|
||||
dataTableScrollTrack('#datatables-customer');
|
||||
}
|
||||
});
|
||||
});
|
||||
|
|
|
|||
|
|
@ -22,11 +22,11 @@
|
|||
|
||||
<!-- Core stylesheets -->
|
||||
<link rel="stylesheet" href="{{ mix('/vendor/css/bootstrap.css') }}">
|
||||
<link rel="stylesheet" href="{{ mix('/vendor/css/appwork.css') }}">
|
||||
<link rel="stylesheet" href="{{ mix('/vendor/css/theme-corporate.css') }}">
|
||||
<link rel="stylesheet" href="{{ mix('/vendor/css/appwork.css') }}?v=1">
|
||||
<link rel="stylesheet" href="{{ asset('/vendor/css/theme-shadow.css') }}">
|
||||
<link rel="stylesheet" href="{{ mix('/vendor/css/colors.css') }}">
|
||||
<link rel="stylesheet" href="{{ mix('/vendor/css/uikit.css') }}">
|
||||
<link rel="stylesheet" href="{{ asset('/vendor/css/mycolors.css') }}">
|
||||
<link rel="stylesheet" href="{{ asset('/vendor/css/mycolors-shadow.css') }}">
|
||||
|
||||
<link rel="stylesheet" href="{{ mix('/vendor/libs/growl/growl.css') }}">
|
||||
|
||||
|
|
@ -145,11 +145,11 @@
|
|||
<script src="{{ asset('/vendor/libs/quill-placeholder-module/dist/placeholder-module.js?v=1') }}"></script>
|
||||
|
||||
@if(isset($lfm_helper))
|
||||
<script src="{{ asset('/js/summernote-iq-content-extension.js?v=4') }}"></script>
|
||||
<script src="{{ asset('/js/summernote-iq-content-extension.js?v=6') }}"></script>
|
||||
<script src="{{ asset('/js/summernote-image-title.js?v=2') }}"></script>
|
||||
<script src="{{ asset('/vendor/laravel-filemanager/js/cropper.min.js') }}"></script>
|
||||
<script src="{{ asset('/js/filemanager.js') }}?v=4"></script>
|
||||
<script src="{{ asset('/js/pages_file-manager.js') }}?v=4"></script>
|
||||
<script src="{{ asset('/js/filemanager.js') }}?v=6"></script>
|
||||
<script src="{{ asset('/js/pages_file-manager.js') }}?v=6"></script>
|
||||
|
||||
@endif
|
||||
|
||||
|
|
|
|||
|
|
@ -23,11 +23,11 @@
|
|||
|
||||
<!-- Core stylesheets -->
|
||||
<link rel="stylesheet" href="{{ mix('/vendor/css/bootstrap.css') }}">
|
||||
<link rel="stylesheet" href="{{ mix('/vendor/css/appwork.css') }}">
|
||||
<link rel="stylesheet" href="{{ mix('/vendor/css/theme-corporate.css') }}">
|
||||
<link rel="stylesheet" href="{{ mix('/vendor/css/appwork.css') }}?v=1">
|
||||
<link rel="stylesheet" href="{{ asset('/vendor/css/theme-shadow.css') }}">
|
||||
<link rel="stylesheet" href="{{ mix('/vendor/css/colors.css') }}">
|
||||
<link rel="stylesheet" href="{{ mix('/vendor/css/uikit.css') }}">
|
||||
<link rel="stylesheet" href="{{ asset('/vendor/css/mycolors.css') }}">
|
||||
<link rel="stylesheet" href="{{ asset('/vendor/css/mycolors-shadow.css') }}">
|
||||
|
||||
<link rel="stylesheet" href="{{ mix('/vendor/libs/growl/growl.css') }}">
|
||||
|
||||
|
|
|
|||
|
|
@ -213,6 +213,10 @@
|
|||
<li class="sidenav-item{{ Request::is('cms/travel_guide/content') ? ' active' : '' }}">
|
||||
<a href="{{ route('cms_travel_guide_content') }}" class="sidenav-link"><i class="sidenav-icon ion ion-md-paper"></i><div>Reiseführer Inhalte</div></a>
|
||||
</li>
|
||||
<li class="sidenav-item{{ Request::is('cms/travel_guide/test') ? ' active' : '' }}">
|
||||
<a href="{{ route('cms_travel_guide_test') }}" class="sidenav-link"><i class="sidenav-icon ion ion-ios-alert "></i><div>TEST</div></a>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</li>
|
||||
@endif
|
||||
|
|
@ -306,6 +310,11 @@
|
|||
<a href="{{ route('admin_settings_airline') }}" class="sidenav-link"><i class="sidenav-icon ion ion-md-airplane"></i><div>{{ __('Airline') }}</div></a>
|
||||
</li>
|
||||
@endif
|
||||
@if(Auth::user()->isPermission('sua-st-ap'))
|
||||
<li class="sidenav-item{{ Request::is('admin/settings/airport') ? ' active' : '' }}">
|
||||
<a href="{{ route('admin_settings_airport') }}" class="sidenav-link"><i class="sidenav-icon ion ion-ios-airplane"></i><div>{{ __('Airport') }}</div></a>
|
||||
</li>
|
||||
@endif
|
||||
@if(Auth::user()->isPermission('sua-st-em'))
|
||||
<li class="sidenav-item{{ Request::is('admin/settings/emails') ? ' active' : '' }}">
|
||||
<a href="{{ route('admin_settings_emails') }}" class="sidenav-link"><i class="sidenav-icon ion ion-ios-mail"></i><div>{{ __('E-Mails') }}</div></a>
|
||||
|
|
@ -405,6 +414,17 @@
|
|||
<a href="{{ route('admin_report_check_bookings') }}" class="sidenav-link"><i class="sidenav-icon ion ion-md-flash"></i><div>{{ __('Preise pürfen') }}</div></a>
|
||||
</li>
|
||||
@endif
|
||||
@if(Auth::user()->isPermission('sua-re-fw'))
|
||||
<li class="sidenav-item{{ Request::is('admin/report/fewo') ? ' active' : '' }}">
|
||||
<a href="{{ route('admin_report_fewo') }}" class="sidenav-link"><i class="sidenav-icon ion ion-ios-home"></i><div>{{ __('Buchungen FeWo') }}</div></a>
|
||||
</li>
|
||||
@endif
|
||||
|
||||
@if(Auth::user()->isPermission('sua-re-le'))
|
||||
<li class="sidenav-item{{ Request::is('admin/report/leads') ? ' active' : '' }}">
|
||||
<a href="{{ route('admin_report_leads') }}" class="sidenav-link"><i class="sidenav-icon ion ion-ios-contact"></i><div>{{ __('Buchungen Anfragen') }}</div></a>
|
||||
</li>
|
||||
@endif
|
||||
|
||||
</ul>
|
||||
</li>
|
||||
|
|
|
|||
|
|
@ -52,7 +52,7 @@
|
|||
@include('layouts.includes.layout-navbar')
|
||||
|
||||
<!-- Layout content -->
|
||||
<div class="layout-content">
|
||||
<div class="layout-content {{ Request::is(['requests', 'leads', 'travel_user_booking_fewos', 'admin/report/leads']) ? ' max-width-100' : '' }}">
|
||||
|
||||
<!-- Content -->
|
||||
<div class="container-fluid flex-grow-1 container-p-y">
|
||||
|
|
|
|||
|
|
@ -110,7 +110,7 @@
|
|||
<hr class="border-light m-4">
|
||||
</div>
|
||||
|
||||
<div class="d-flex flex-column w-100">
|
||||
<div class="d-flex flex-column max-width-md">
|
||||
<div class="flex-grow-0">
|
||||
<h4 class="media align-items-center font-weight-bold container-p-x py-3 py-lg-4 m-0">
|
||||
<a href="javascript:void(0)" class="messages-sidebox-toggler d-lg-none d-block align-self-center text-muted px-3 mr-3"><i class="ion ion-md-more"></i></a>
|
||||
|
|
|
|||
|
|
@ -1,6 +1,8 @@
|
|||
<div class="card mb-2">
|
||||
<h6 class="card-header bg-primary text-white py-2" data-toggle="collapse" data-target="#collapseLeadParticipant" aria-expanded="false" aria-controls="collapseLeadParticipant">
|
||||
<strong style="line-height: 1.6em">Teilnehmer</strong>
|
||||
<span class="badge badge-secondary">{{ $lead->lead_participants->count() }}</span>
|
||||
|
||||
</h6>
|
||||
<div class="collapse" id="collapseLeadParticipant">
|
||||
<div class="card-body row">
|
||||
|
|
|
|||
|
|
@ -46,7 +46,7 @@
|
|||
|
||||
<div class="col-sm-12">
|
||||
<div class="text-left mt-2">
|
||||
<button type="submit" name="action" value="saveStatus" class="btn btn-sm btn-secondary">Änderungen speichern</button>
|
||||
<button type="submit" name="action" value="saveStatus" class="btn btn-sm btn-primary">Status ändern</button>
|
||||
<a href="{{route('leads')}}" class="btn btn-sm btn-default">{{ __('zur Übersicht') }}</a>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -43,7 +43,7 @@
|
|||
|
||||
<ul class="nav nav-sm nav-tabs nav-justified tabs-alt mb-3" id="top-nav-quick-jump">
|
||||
<li class="nav-item">
|
||||
<a class="nav-link" href="javascript:void(0)" data-collapse="#collapseLeadCustomer">
|
||||
<a class="nav-link active" href="javascript:void(0)" data-collapse="#collapseLeadCustomer">
|
||||
Kunde
|
||||
</a>
|
||||
</li>
|
||||
|
|
@ -91,12 +91,13 @@
|
|||
@include('lead._detail_customer')
|
||||
<!-- Anfrage -->
|
||||
@include('lead._detail_lead')
|
||||
@if($id !== "new" && $lead)
|
||||
@include('lead._detail_participant')
|
||||
@endif
|
||||
<!-- Status -->
|
||||
@include('lead._detail_status')
|
||||
|
||||
@if($id !== "new" && $lead)
|
||||
@include('lead._detail_participant')
|
||||
@endif
|
||||
|
||||
{!! Form::close() !!}
|
||||
|
||||
@if($id !== "new" && $lead)
|
||||
|
|
@ -115,6 +116,16 @@
|
|||
<script>
|
||||
$(document).ready(function() {
|
||||
|
||||
|
||||
$("#lead-form-validation button[type='submit']").on("click", function(event) {
|
||||
$(':input[required]', "#lead-form-validation").each(function() {
|
||||
if ($(this).val() == "" || $(this).val() == null) {
|
||||
$(this).closest(".collapse").collapse('show');
|
||||
return false;
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
var collapseHashValue = null;
|
||||
$('[rel="tooltip"]').tooltip({trigger: "hover"});
|
||||
|
||||
|
|
@ -137,28 +148,28 @@
|
|||
});
|
||||
|
||||
$(".collapse").on('shown.bs.collapse', function (){
|
||||
if(collapseHashValue){
|
||||
$('a[data-collapse="#'+collapseHashValue+'"]').click();
|
||||
/*if(collapseHashValue){
|
||||
collapseHashValue = null;
|
||||
}
|
||||
CookiesAddJSONValue('lead_collapse', $(this).attr('id'));
|
||||
}*/
|
||||
//CookiesAddJSONValue('lead_collapse', $(this).attr('id'));
|
||||
window.location.hash = "#"+$(this).attr('id');
|
||||
|
||||
});
|
||||
|
||||
$(".collapse").on('hidden.bs.collapse', function (){
|
||||
CookiesRemoveJSONValue('lead_collapse', $(this).attr('id'));
|
||||
//CookiesRemoveJSONValue('lead_collapse', $(this).attr('id'));
|
||||
});
|
||||
|
||||
function init_site(){
|
||||
if(window.location.hash){
|
||||
value = $(window.location.hash).attr('id');
|
||||
if(value){
|
||||
collapseHashValue = value;
|
||||
CookiesAddJSONValue('lead_collapse', value);
|
||||
$('a[data-collapse="#'+value+'"]').click();
|
||||
//CookiesAddJSONValue('lead_collapse', value);
|
||||
}
|
||||
}
|
||||
var lead_collapses = Cookies.get('lead_collapse');
|
||||
var lead_collapses = '{!! \App\Services\Util::prepareCollapseValues() !!}';
|
||||
/*var lead_collapses = Cookies.get('lead_collapse'); */
|
||||
if (lead_collapses != null)
|
||||
{
|
||||
lead_collapses = JSON.parse(lead_collapses);
|
||||
|
|
|
|||
|
|
@ -7,9 +7,12 @@
|
|||
</h4>
|
||||
|
||||
<div class="card">
|
||||
<div class="card-datatable table-responsive">
|
||||
<div class="table-responsive-track" id="datatables-leads-scroll">
|
||||
<div class="table-responsive-thumb" id="datatables-leads-thumb">
|
||||
</div>
|
||||
</div>
|
||||
<div class="card-datatable table-responsive" id="datatables-leads-table">
|
||||
<table class="datatables-leads table table-striped table-bordered" id="datatables-leads">
|
||||
|
||||
<thead>
|
||||
<tr>
|
||||
<th style="max-width: 60px;"> </th>
|
||||
|
|
@ -59,11 +62,13 @@
|
|||
"url": "/js/German.json"
|
||||
},
|
||||
drawCallback: function () {
|
||||
dataTableScrollTrack('#datatables-leads');
|
||||
$('#datatables-leads [rel="tooltip"]').tooltip({trigger: "hover"});
|
||||
$('#datatables-leads [data-toggle="popover"]').popover({trigger: "hover", content: get_popover_content, html: true,});
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
function get_popover_content() {
|
||||
if ($(this).data('lead_id')) {
|
||||
var data = {};
|
||||
|
|
|
|||
|
|
@ -13,6 +13,7 @@
|
|||
<div class="modal-body">
|
||||
{!! Form::open(['url' => $value->url, 'class' => '', 'id'=>'lead-mail-form']) !!}
|
||||
{{ Form::hidden('lead_id', $value->id) }}
|
||||
{{ Form::hidden('collapse_shows', '') }}
|
||||
{{ Form::hidden('action', '') }}
|
||||
@if(isset($value->save_lead_mail_id))
|
||||
{{ Form::hidden('save_lead_mail_id', $value->save_lead_mail_id) }}
|
||||
|
|
@ -140,6 +141,10 @@
|
|||
<button class="ql-blockquote"></button>
|
||||
<button class="ql-code-block"></button>
|
||||
</span>
|
||||
<span class="ql-formats">
|
||||
<select class="ql-color"></select>
|
||||
<select class="ql-background"></select>
|
||||
</span>
|
||||
<span class="ql-formats">
|
||||
<button class="ql-list" value="ordered"></button>
|
||||
<button class="ql-list" value="bullet"></button>
|
||||
|
|
@ -352,8 +357,20 @@
|
|||
})
|
||||
}
|
||||
|
||||
function check_collapse_shows(){
|
||||
var collapse_shows = [];
|
||||
$('.layout-content').find('.collapse').each(function () {
|
||||
if($(this).hasClass('show')){
|
||||
collapse_shows.push($(this).attr('id'));
|
||||
}
|
||||
});
|
||||
$('input[name=collapse_shows]').val(collapse_shows.join(','));
|
||||
}
|
||||
|
||||
$(document).ready(function() {
|
||||
|
||||
check_collapse_shows();
|
||||
|
||||
$('#open_modal_quill_preview').on('click', function (event) {
|
||||
data = {};
|
||||
$.each($(this).data(), function(index, value){
|
||||
|
|
|
|||
|
|
@ -93,6 +93,8 @@
|
|||
<hr class="border-light m-0">
|
||||
<div class="px-4 pt-4 pb-2">
|
||||
{!! Form::open(['url' => route('lead_mail_detail', [$lead_mail->id, 'move-mail-lead']), 'class' => 'move-mail-form']) !!}
|
||||
{{ Form::hidden('collapse_shows', '') }}
|
||||
|
||||
<div class="form-row">
|
||||
<div class="col-sm-6">
|
||||
<label for="lead_mail_dir" class="form-label">Ablegen unter:</label>
|
||||
|
|
@ -123,6 +125,8 @@
|
|||
{!! Form::close() !!}
|
||||
<hr>
|
||||
{!! Form::open(['url' => route('lead_mail_detail', [$lead_mail->id, 'forward-mail-lead']), 'class' => 'forward-mail-form']) !!}
|
||||
{{ Form::hidden('collapse_shows', '') }}
|
||||
|
||||
<div class="form-row">
|
||||
<div class="col-sm-6">
|
||||
<label for="lead_mail_forward_email" class="form-label">E-Mail weiterleiten:</label>
|
||||
|
|
|
|||
|
|
@ -33,8 +33,18 @@
|
|||
}
|
||||
})
|
||||
}
|
||||
function check_collapse_shows(){
|
||||
var collapse_shows = [];
|
||||
$('.layout-content').find('.collapse').each(function () {
|
||||
if($(this).hasClass('show')){
|
||||
collapse_shows.push($(this).attr('id'));
|
||||
}
|
||||
});
|
||||
$('input[name=collapse_shows]').val(collapse_shows.join(','));
|
||||
}
|
||||
|
||||
$(document).ready(function() {
|
||||
check_collapse_shows();
|
||||
$('form.move-mail-form').each(function () {
|
||||
var _form = $(this);
|
||||
$(this).find('.lead_mail_dir').on('change', function () {
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@
|
|||
<p>
|
||||
Emser Str. 3<br>
|
||||
10719 Berlin<br>
|
||||
Vertreten d. d. Geschäftsführer Herrn Thomas Stern<br>
|
||||
Vertreten d. d. Geschäftsführung Frau Leoni Stern<br>
|
||||
Telefon: +49 30 700 94 100<br>
|
||||
Telefax: +49 30 700 94 1044<br>
|
||||
E-Mail: <a href="mailto:stern@sterntours.de">stern@sterntours.de</a></p>
|
||||
|
|
|
|||
|
|
@ -14,7 +14,7 @@
|
|||
</p>
|
||||
|
||||
<p class="ft">
|
||||
Geschäftsführer: Thomas Stern<br>
|
||||
Geschäftsführung: Leoni Stern<br>
|
||||
E-Mail: stern@sterntours.de<br>
|
||||
Tel.: 030 / 700 94 100<br>
|
||||
Fax: 030 / 700 94 1044
|
||||
|
|
|
|||
|
|
@ -3,9 +3,13 @@
|
|||
<h4 class="font-weight-bold py-3 mb-4">
|
||||
{{ __('E-Mails Buchungen') }}
|
||||
</h4>
|
||||
<div class="card">
|
||||
<div class="card-datatable table-responsive">
|
||||
<table class="datatables-mails table table-striped table-bordered">
|
||||
<div class="card">
|
||||
<div class="table-responsive-track" id="datatables-mails-scroll">
|
||||
<div class="table-responsive-thumb" id="datatables-mails-thumb">
|
||||
</div>
|
||||
</div>
|
||||
<div class="card-datatable table-responsive" id="datatables-mails-table">
|
||||
<table class="datatables-mails table table-striped table-bordered" id="datatables-mails">
|
||||
|
||||
<thead>
|
||||
<tr>
|
||||
|
|
@ -43,6 +47,9 @@
|
|||
"iDisplayLength": 100,
|
||||
"language": {
|
||||
"url": "/js/German.json"
|
||||
},
|
||||
drawCallback: function () {
|
||||
dataTableScrollTrack('#datatables-mails');
|
||||
}
|
||||
});
|
||||
});
|
||||
|
|
|
|||
|
|
@ -4,8 +4,12 @@
|
|||
{{ __('E-Mails Buchungen FeWo') }}
|
||||
</h4>
|
||||
<div class="card">
|
||||
<div class="card-datatable table-responsive">
|
||||
<table class="datatables-mails table table-striped table-bordered">
|
||||
<div class="table-responsive-track" id="datatables-mails-scroll">
|
||||
<div class="table-responsive-thumb" id="datatables-mails-thumb">
|
||||
</div>
|
||||
</div>
|
||||
<div class="card-datatable table-responsive" id="datatables-mails-table">
|
||||
<table class="datatables-mails table table-striped table-bordered" id="datatables-mails">
|
||||
|
||||
<thead>
|
||||
<tr>
|
||||
|
|
@ -43,6 +47,9 @@
|
|||
"iDisplayLength": 100,
|
||||
"language": {
|
||||
"url": "/js/German.json"
|
||||
},
|
||||
drawCallback: function () {
|
||||
dataTableScrollTrack('#datatables-mails');
|
||||
}
|
||||
});
|
||||
});
|
||||
|
|
|
|||
|
|
@ -4,8 +4,12 @@
|
|||
{{ __('E-Mails Buchungen') }}
|
||||
</h4>
|
||||
<div class="card">
|
||||
<div class="card-datatable table-responsive">
|
||||
<table class="datatables-mails table table-striped table-bordered">
|
||||
<div class="table-responsive-track" id="datatables-mails-scroll">
|
||||
<div class="table-responsive-thumb" id="datatables-mails-thumb">
|
||||
</div>
|
||||
</div>
|
||||
<div class="card-datatable table-responsive" id="datatables-mails-table">
|
||||
<table class="datatables-mails table table-striped table-bordered" id="datatables-mails">
|
||||
|
||||
<thead>
|
||||
<tr>
|
||||
|
|
@ -41,6 +45,9 @@
|
|||
"iDisplayLength": 100,
|
||||
"language": {
|
||||
"url": "/js/German.json"
|
||||
},
|
||||
drawCallback: function () {
|
||||
dataTableScrollTrack('#datatables-mails');
|
||||
}
|
||||
});
|
||||
});
|
||||
|
|
|
|||
21
resources/views/pdf/booking_confirmation.blade.php
Normal file
21
resources/views/pdf/booking_confirmation.blade.php
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
@extends('pdf.layout-template')
|
||||
|
||||
@section('content')
|
||||
|
||||
|
||||
@include('pdf.components.booking_header')
|
||||
|
||||
@include('pdf.components.booking_participant')
|
||||
|
||||
@include('pdf.components.booking_body')
|
||||
|
||||
@include('pdf.components.booking_regulations')
|
||||
|
||||
@include('pdf.components.booking_info')
|
||||
|
||||
@include('pdf.components.booking_sterntours')
|
||||
|
||||
@include('pdf.components.booking_footer')
|
||||
|
||||
|
||||
@endsection
|
||||
151
resources/views/pdf/booking_coupon.blade.php
Normal file
151
resources/views/pdf/booking_coupon.blade.php
Normal file
|
|
@ -0,0 +1,151 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<base href="{{ url('/') }}">
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
|
||||
<title>STERN TOURS</title>
|
||||
<style>
|
||||
/*DIN LANG*/
|
||||
@font-face {
|
||||
font-family: "Source Sans 3";
|
||||
src: url("fonts/source-sans-3-v15-latin-regular.ttf") format("truetype");
|
||||
font-weight: 400;
|
||||
font-style: normal;
|
||||
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'Source Sans 3';
|
||||
font-style: normal;
|
||||
font-weight: 500;
|
||||
src: url('fonts/source-sans-3-v15-latin-500.ttf') format('truetype');
|
||||
}
|
||||
@font-face {
|
||||
font-family: 'Source Sans 3';
|
||||
font-style: normal;
|
||||
font-weight: 600;
|
||||
src: url('fonts/source-sans-3-v15-latin-600.ttf') format('truetype');
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'Source Sans 3';
|
||||
font-style: normal;
|
||||
font-weight: 700;
|
||||
src: url('fonts/source-sans-3-v15-latin-700.ttf') format('truetype');
|
||||
}
|
||||
|
||||
|
||||
html {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
body {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
margin: 0 auto;
|
||||
padding: 0;
|
||||
color: #000;
|
||||
font-size: 11.5pt;
|
||||
line-height: 1em;
|
||||
font-weight: 400 ;
|
||||
font-family: "Source Sans 3", serif;
|
||||
|
||||
}
|
||||
|
||||
table {
|
||||
border: none;
|
||||
}
|
||||
|
||||
strong {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
@page {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
/* margin: 20mm 15mm 22mm 15mm; */
|
||||
color:#000;
|
||||
}
|
||||
|
||||
main {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
|
||||
}
|
||||
|
||||
.page_break { page-break-before: always; }
|
||||
|
||||
#pdf-page {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
a {
|
||||
color: #648859 !important;
|
||||
}
|
||||
|
||||
#coupon-address {
|
||||
position: absolute;
|
||||
top: 50mm;
|
||||
left: 120mm;
|
||||
width: 60mm;
|
||||
height: 40mm;
|
||||
padding: 0px;
|
||||
text-align: left;
|
||||
font-size: 11.5pt;
|
||||
line-height: 1.1em;
|
||||
font-weight: 400;
|
||||
}
|
||||
#coupon-value {
|
||||
position: absolute;
|
||||
top: 50mm;
|
||||
left: 14mm;
|
||||
width: 100mm;
|
||||
height: 40mm;
|
||||
padding: 0px;
|
||||
text-align: left;
|
||||
font-size: 11.5pt;
|
||||
font-weight: 400;
|
||||
}
|
||||
.coupon-value-euro {
|
||||
font-size: 50pt;
|
||||
line-height: 0.8em;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div id="coupon-value">
|
||||
im Wert von<br>
|
||||
<span class="coupon-value-euro">{{ _number_format($coupon->value) }} €</span><br>
|
||||
<br><br>
|
||||
<table style="width: 100mm">
|
||||
<tr>
|
||||
<td style="width: 25mm">Nummer:</td>
|
||||
<td style="width: 75mm">{{ $coupon->number }}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Gültig vom:</td>
|
||||
<td>{{ _format_date($coupon->issue_date) }}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Gültig bis:</td>
|
||||
<td>{{ _format_date($coupon->valid_date) }}</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<div id="coupon-address">
|
||||
Ausgestellt für:<br>
|
||||
@if($coupon->customer)
|
||||
{{ ($coupon->customer->salutation ? $coupon->customer->salutation->name . ' ' : '' ) }}
|
||||
{{ ($coupon->customer->title ? $coupon->customer->title . ' ' : '' ) }}
|
||||
{{ $coupon->customer->fullName() }}<br>
|
||||
{{ $coupon->customer->street ? $coupon->customer->street : '' }}<br>
|
||||
{{ $coupon->customer->zip ? $coupon->customer->zip." " : '' }}
|
||||
{{ $coupon->customer->city ? $coupon->customer->city : '' }}
|
||||
@endif
|
||||
</div>
|
||||
<div class="page_break">
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
23
resources/views/pdf/booking_registration.blade.php
Normal file
23
resources/views/pdf/booking_registration.blade.php
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
@extends('pdf.layout-template')
|
||||
|
||||
@section('content')
|
||||
|
||||
|
||||
@include('pdf.components.booking_header')
|
||||
|
||||
@include('pdf.components.booking_participant')
|
||||
|
||||
@include('pdf.components.booking_body')
|
||||
|
||||
@include('pdf.components.booking_regulations')
|
||||
|
||||
@include('pdf.components.booking_signature')
|
||||
|
||||
@include('pdf.components.booking_info')
|
||||
|
||||
@include('pdf.components.booking_sterntours')
|
||||
|
||||
@include('pdf.components.booking_footer')
|
||||
|
||||
|
||||
@endsection
|
||||
15
resources/views/pdf/booking_storno.blade.php
Normal file
15
resources/views/pdf/booking_storno.blade.php
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
@extends('pdf.layout-template')
|
||||
|
||||
@section('content')
|
||||
|
||||
@include('pdf.components.booking_header')
|
||||
|
||||
@include('pdf.components.booking_participant')
|
||||
|
||||
@include('pdf.components.booking_body_storno')
|
||||
|
||||
@include('pdf.components.booking_sterntours')
|
||||
|
||||
@include('pdf.components.booking_footer_storno')
|
||||
|
||||
@endsection
|
||||
17
resources/views/pdf/booking_voucher.blade.php
Normal file
17
resources/views/pdf/booking_voucher.blade.php
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
@extends('pdf.layout-template')
|
||||
|
||||
@section('content')
|
||||
|
||||
@include('pdf.components.booking_header')
|
||||
|
||||
@include('pdf.components.booking_participant')
|
||||
|
||||
@include('pdf.components.booking_body_voucher')
|
||||
|
||||
@include('pdf.components.booking_info')
|
||||
|
||||
@include('pdf.components.booking_sterntours')
|
||||
|
||||
@include('pdf.components.booking_footer')
|
||||
|
||||
@endsection
|
||||
32
resources/views/pdf/components/booking_body.blade.php
Normal file
32
resources/views/pdf/components/booking_body.blade.php
Normal file
|
|
@ -0,0 +1,32 @@
|
|||
<table border="0" cellspacing="0" cellpadding="0" class="booking-table">
|
||||
<tr>
|
||||
<th width="10%" class="text-center">Von</th>
|
||||
<th width="10%" class="text-center">Bis</th>
|
||||
<th width="55%">Leistungen</th>
|
||||
<th width="10%" class="text-center">Teilnehmer</th>
|
||||
<th width="15%" class="text-right">Preis in €</th>
|
||||
</tr>
|
||||
@if ($booking->new_drafts)
|
||||
@include('pdf.components.booking_drafs')
|
||||
@else
|
||||
@include('pdf.components.booking_drafs_old')
|
||||
@endif
|
||||
|
||||
<tr>
|
||||
<td colspan="4" class="text-right"><strong>Gesamtpreis: </strong></td>
|
||||
<td class="text-right"><strong> {{ $booking->price }} €</strong></td>
|
||||
</tr>
|
||||
|
||||
@foreach ($booking->booking_service_items as $booking_service_item)
|
||||
@if ($booking_service_item->travel_company && $booking_service_item->travel_company->name == 'ELVIA')
|
||||
<tr>
|
||||
<td colspan="5"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Reiseversicherung</td>
|
||||
<td colspan="4"> {{ $booking_service_item->name }}</td>
|
||||
<td class="text-right"><strong> {{ $booking_service_item->service_price }} €</strong></td>
|
||||
</tr>
|
||||
@endif
|
||||
@endforeach
|
||||
</table>
|
||||
29
resources/views/pdf/components/booking_body_storno.blade.php
Normal file
29
resources/views/pdf/components/booking_body_storno.blade.php
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
<table border="0" cellspacing="0" cellpadding="0" class="booking-table">
|
||||
<tr>
|
||||
<th width="10%" class="text-center">Von</th>
|
||||
<th width="10%" class="text-center">Bis</th>
|
||||
<th width="45%">Leistungen</th>
|
||||
<th width="10%" class="text-center">Teilnehmer</th>
|
||||
<th width="10%" class="text-center">Status</th>
|
||||
<th width="15%" class="text-right">Preis in €</th>
|
||||
</tr>
|
||||
@if ($booking->new_drafts)
|
||||
@include('pdf.components.booking_drafs_storno')
|
||||
@else
|
||||
@include('pdf.components.booking_drafs_old_storno')
|
||||
@endif
|
||||
|
||||
<tr>
|
||||
<td colspan="4" class="text-left"><strong>
|
||||
Reisebetrag am {{ _format_date($document->storno_date) }}, {{ $booking->pax }} Teilnehmer
|
||||
</strong></td>
|
||||
<td class="text-center"></td>
|
||||
<td class="text-right">{{ $booking->price }} €</strong></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td colspan="4" class="text-left"><strong>Storno-Reisebetrag:</strong></td>
|
||||
<td class="text-center"><i>{{ _number_format($document->storno_level) }} %</i></td>
|
||||
<td class="text-right"><strong> {{ $booking->price_canceled }} €</strong></td>
|
||||
</tr>
|
||||
</table>
|
||||
|
|
@ -0,0 +1,17 @@
|
|||
<table border="0" cellspacing="0" cellpadding="0" class="booking-table">
|
||||
<tr>
|
||||
<th width="10%" class="text-center">Von</th>
|
||||
<th width="10%" class="text-center">Bis</th>
|
||||
<th width="55%">Leistungen</th>
|
||||
<th width="10%" class="text-center">Teilnehmer</th>
|
||||
<th width="15%" class="text-right">Preis in €</th>
|
||||
</tr>
|
||||
@if ($booking->new_drafts)
|
||||
|
||||
|
||||
@include('pdf.components.booking_drafs_voucher')
|
||||
@else
|
||||
@include('pdf.components.booking_drafs_old_voucher')
|
||||
@endif
|
||||
|
||||
</table>
|
||||
65
resources/views/pdf/components/booking_drafs.blade.php
Normal file
65
resources/views/pdf/components/booking_drafs.blade.php
Normal file
|
|
@ -0,0 +1,65 @@
|
|||
@foreach ($booking->booking_draft_items as $booking_draft_item)
|
||||
@if ($booking_draft_item->in_pdf)
|
||||
@if (in_array($booking_draft_item->draft_type_id, ['26', '30', '31', '32', '33', '34', '35', '36', '37', '41', '42']))
|
||||
<tr>
|
||||
<td class="text-center">{{ _format_date($booking_draft_item->start_date) }}</td>
|
||||
<td class="text-center">{{ _format_date($booking_draft_item->end_date) }}</td>
|
||||
<td>{{ $booking_draft_item->service }}</td>
|
||||
<td class="text-right">
|
||||
@if (in_array($booking_draft_item->draft_type_id, ['30', '36', '37']))
|
||||
@if ($booking_draft_item->adult > 0)
|
||||
{{ $booking_draft_item->adult == 1 ? $booking_draft_item->adult . ' Erwachsener' : $booking_draft_item->adult . ' Erwachsene' }}
|
||||
@endif
|
||||
@if ($booking_draft_item->children > 0)
|
||||
<br>
|
||||
{{ $booking_draft_item->children == 1 ? $booking_draft_item->children . ' Kind' : $booking_draft_item->children . ' Kinder' }}
|
||||
@endif
|
||||
@else
|
||||
@if ($booking_draft_item->adult > 0)
|
||||
{{ $booking_draft_item->adult == 1 ? $booking_draft_item->adult . ' Person' : $booking_draft_item->adult . ' Personen' }}
|
||||
@endif
|
||||
@endif
|
||||
|
||||
@if ($booking_draft_item->adult > 0 || $booking_draft_item->children > 0)
|
||||
<br>
|
||||
@if ($booking_draft_item->draft_type_id == 36 || $booking_draft_item->draft_type_id == 37)
|
||||
<strong>Gesamt {{ $booking_draft_item->days_duration }}
|
||||
{{ $booking_draft_item->days_duration == 1 ? 'Tag' : 'Tage' }} </strong>
|
||||
@else
|
||||
<strong>Gesamt:</strong>
|
||||
@endif
|
||||
@endif
|
||||
</td>
|
||||
<td class="text-right">
|
||||
@if ($booking_draft_item->adult > 0)
|
||||
{{ $booking_draft_item->price_adult }} €
|
||||
@endif
|
||||
@if ($booking_draft_item->children > 0)
|
||||
<br>
|
||||
{{ $booking_draft_item->price_children }} €
|
||||
@endif
|
||||
@if ($booking_draft_item->adult > 0 || $booking_draft_item->children > 0)
|
||||
<br>
|
||||
<strong> {{ _number_format($booking_draft_item->getItemPrice('total')) }} €</strong>
|
||||
@endif
|
||||
</td>
|
||||
</tr>
|
||||
@elseif($booking_draft_item->draft_type_id == 27)
|
||||
<tr>
|
||||
<td class="text-center"> {{ _format_date($booking_draft_item->start_date) }}</td>
|
||||
<td class="text-center"> {{ _format_date($booking_draft_item->end_date) }}</td>
|
||||
<td>{{ $booking_draft_item->service }}</td>
|
||||
<td class="text-center"> {{ $booking->pax }}</td>
|
||||
<td class="text-right"></td>
|
||||
</tr>
|
||||
@else
|
||||
<tr>
|
||||
<td class="text-center"> {{ _format_date($booking_draft_item->start_date) }}</td>
|
||||
<td class="text-center"> {{ _format_date($booking_draft_item->end_date) }}</td>
|
||||
<td>{{ $booking_draft_item->service }}</td>
|
||||
<td class="text-center"> {{ $booking->pax }}</td>
|
||||
<td class="text-right"></td>
|
||||
</tr>
|
||||
@endif
|
||||
@endif
|
||||
@endforeach
|
||||
39
resources/views/pdf/components/booking_drafs_old.blade.php
Normal file
39
resources/views/pdf/components/booking_drafs_old.blade.php
Normal file
|
|
@ -0,0 +1,39 @@
|
|||
|
||||
@foreach($booking->arrangements as $arrangement)
|
||||
@if($arrangement->in_pdf && $arrangement->arrangement_type)
|
||||
|
||||
@php ($data = $arrangement->getDataAsMap())
|
||||
@if($arrangement->arrangement_type->name == 'Preisinformation')
|
||||
<tr>
|
||||
<td align="center"></td>
|
||||
<td align="center"></td>
|
||||
<td> {{ $data['Name'] }}</td>
|
||||
<td align="center"> {{ $data['Teilnehmer'] }}</td>
|
||||
<td align="right"> {{ _number_format($data['Preis']) }} €</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="center"></td>
|
||||
<td align="center"></td>
|
||||
<td>Für {{ $data['Teilnehmer'] }} {{ $data['Teilnehmer'] > 1 ? 'Personen' : 'Person' }}</td>
|
||||
<td align="center"></td>
|
||||
<td align="right"><strong> {{ _number_format($data['Preis'] * (float)$data['Teilnehmer']) }} €</strong></td>
|
||||
</tr>
|
||||
@elseif($arrangement->arrangement_type->name == 'Text')
|
||||
<tr>
|
||||
<td align="center"> {{ _format_date($arrangement->begin) }}</td>
|
||||
<td align="center"> {{ _format_date($arrangement->end) }}</td>
|
||||
<td> {{ $arrangement->getDataS() }}</td>
|
||||
<td align="center"> {{ array_key_exists('Teilnehmer', $data) ? $data['Teilnehmer'] : '' }}</td>
|
||||
<td align="right"></td>
|
||||
</tr>
|
||||
@else
|
||||
<tr>
|
||||
<td align="center"> {{ _format_date($arrangement->begin) }}</td>
|
||||
<td align="center"> {{ _format_date($arrangement->end) }}</td>
|
||||
<td> {{ $arrangement->getDataS() }}</td>
|
||||
<td align="center"> {{ array_key_exists('Teilnehmer', $data) ? $data['Teilnehmer'] : $booking->pax }}</td>
|
||||
<td align="right"></td>
|
||||
</tr>
|
||||
@endif
|
||||
@endif
|
||||
@endforeach
|
||||
|
|
@ -0,0 +1,44 @@
|
|||
|
||||
@foreach($booking->arrangements as $arrangement)
|
||||
@if($arrangement->in_pdf && $arrangement->arrangement_type)
|
||||
|
||||
@php ($data = $arrangement->getDataAsMap())
|
||||
@if($arrangement->arrangement_type->name == 'Preisinformation')
|
||||
<tr>
|
||||
<td align="center"></td>
|
||||
<td align="center"></td>
|
||||
<td> {{ $data['Name'] }}</td>
|
||||
<td align="center"></td>
|
||||
<td align="center"> {{ $data['Teilnehmer'] }}</td>
|
||||
<td align="center"><strong>storniert</strong></td>
|
||||
<td align="right"> {{ _number_format($data['Preis']) }} €</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="center"></td>
|
||||
<td align="center"></td>
|
||||
<td>Für {{ $data['Teilnehmer'] }} {{ $data['Teilnehmer'] > 1 ? 'Personen' : 'Person' }}</td>
|
||||
<td align="center"></td>
|
||||
<td align="center"><strong>storniert</strong></td>
|
||||
<td align="right"><strong> {{ _number_format($data['Preis'] * (float)$data['Teilnehmer']) }} €</strong></td>
|
||||
</tr>
|
||||
@elseif($arrangement->arrangement_type->name == 'Text')
|
||||
<tr>
|
||||
<td align="center"> {{ _format_date($arrangement->begin) }}</td>
|
||||
<td align="center"> {{ _format_date($arrangement->end) }}</td>
|
||||
<td> {{ $arrangement->getDataS() }}</td>
|
||||
<td align="center"> {{ array_key_exists('Teilnehmer', $data) ? $data['Teilnehmer'] : '' }}</td>
|
||||
<td align="center"><strong>storniert</strong></td>
|
||||
<td align="right"></td>
|
||||
</tr>
|
||||
@else
|
||||
<tr>
|
||||
<td align="center"> {{ _format_date($arrangement->begin) }}</td>
|
||||
<td align="center"> {{ _format_date($arrangement->end) }}</td>
|
||||
<td> {{ $arrangement->getDataS() }}</td>
|
||||
<td align="center"> {{ array_key_exists('Teilnehmer', $data) ? $data['Teilnehmer'] : $booking->pax }}</td>
|
||||
<td align="center"><strong>storniert</strong></td>
|
||||
<td align="right"></td>
|
||||
</tr>
|
||||
@endif
|
||||
@endif
|
||||
@endforeach
|
||||
|
|
@ -0,0 +1,23 @@
|
|||
|
||||
@foreach($booking->arrangements as $arrangement)
|
||||
@if($arrangement->in_pdf && $arrangement->arrangement_type && $arrangement->arrangement_type->name != 'Preisinformation')
|
||||
@php ($data = $arrangement->getDataAsMap())
|
||||
@if($arrangement->arrangement_type->name == 'Text')
|
||||
<tr>
|
||||
<td align="center"> {{ _format_date($arrangement->begin) }}</td>
|
||||
<td align="center"> {{ _format_date($arrangement->end) }}</td>
|
||||
<td> {{ $arrangement->getDataS() }}</td>
|
||||
<td align="center"> {{ array_key_exists('Teilnehmer', $data) ? $data['Teilnehmer'] : '' }}</td>
|
||||
<td align="right"></td>
|
||||
</tr>
|
||||
@else
|
||||
<tr>
|
||||
<td align="center"> {{ _format_date($arrangement->begin) }}</td>
|
||||
<td align="center"> {{ _format_date($arrangement->end) }}</td>
|
||||
<td> {{ $arrangement->getDataS() }}</td>
|
||||
<td align="center"> {{ array_key_exists('Teilnehmer', $data) ? $data['Teilnehmer'] : $booking->pax }}</td>
|
||||
<td align="right"></td>
|
||||
</tr>
|
||||
@endif
|
||||
@endif
|
||||
@endforeach
|
||||
174
resources/views/pdf/components/booking_drafs_oldblade.php
Normal file
174
resources/views/pdf/components/booking_drafs_oldblade.php
Normal file
|
|
@ -0,0 +1,174 @@
|
|||
|
||||
<table border="0" cellspacing="0" cellpadding="0" width="100%" class="booking-table">
|
||||
<tr>
|
||||
<th width="10%">Art</th>
|
||||
<th width="35%">Leistungen</th>
|
||||
<th width="10%" align="center">Von</th>
|
||||
<th width="10%" align="center">Bis</th>
|
||||
<th width="15%" align="center">Teilnehmer</th>
|
||||
<th width="15%" align="center">Preis in EUR</th>
|
||||
</tr>
|
||||
@if($booking->new_drafts)
|
||||
foreach($booking->booking_draft_items as $booking_draft_item)
|
||||
@if($booking_draft_item->in_pdf)
|
||||
@if(in_array($booking_draft_item->draft_type_id, array('26', '30', '31', '32', '33', '34', '35', '36', '37', '41', '42')))
|
||||
{{-- /*
|
||||
//Rundreise
|
||||
@if($form["draft_type_id"]->getValue() == 24)
|
||||
@endif
|
||||
//Preisinfo
|
||||
@if($form["draft_type_id"]->getValue() == 26)
|
||||
@endif
|
||||
//Preis info Hotel
|
||||
@if($form["draft_type_id"]->getValue() == 30)
|
||||
@endif
|
||||
//Preis info Leistungen
|
||||
@if($form["draft_type_id"]->getValue() == 31)
|
||||
pro Person:
|
||||
$set_price_info_field = ['data-pi_field' => 'service'];
|
||||
@endif
|
||||
//Preis info Kategorie
|
||||
@if($form["draft_type_id"]->getValue() == 32)
|
||||
@endif */
|
||||
--}}
|
||||
<tr>
|
||||
<td width="10%" ><strong>{{ $booking_draft_item->draft_type->name }}</strong></td>
|
||||
<td width="35%">{{ $booking_draft_item->service }}</td>
|
||||
<td width="10%" align="center">{{ _format_date($booking_draft_item->start_date) }}</td>
|
||||
<td width="10%" align="center">{{ _format_date($booking_draft_item->end_date) }}</td>
|
||||
<td width="15%" align="right" >
|
||||
@if(in_array($booking_draft_item->draft_type_id, array('30', '36', '37')))
|
||||
@if($booking_draft_item->adult > 0)
|
||||
{{ ($booking_draft_item->adult == 1 ? $booking_draft_item->adult.' Erwachsener' : $booking_draft_item->adult.' Erwachsene') }}
|
||||
@endif
|
||||
@if($booking_draft_item->children > 0)
|
||||
<br>
|
||||
{{ ($booking_draft_item->children == 1 ? $booking_draft_item->children.' Kind' : $booking_draft_item->children.' Kinder') }}
|
||||
@endif
|
||||
@else
|
||||
@if($booking_draft_item->adult > 0)
|
||||
{{ ($booking_draft_item->adult == 1 ? $booking_draft_item->adult.' Person' : $booking_draft_item->adult.' Personen') }}
|
||||
@endif
|
||||
@endif
|
||||
|
||||
@if($booking_draft_item->adult > 0 || $booking_draft_item->children > 0)
|
||||
<br>
|
||||
@if($booking_draft_item->draft_type_id == 36 || $booking_draft_item->draft_type_id == 37)
|
||||
<strong>Gesamt {{ $booking_draft_item->days_duration }} {{ ($booking_draft_item->days_duration == 1 ? 'Tag' : 'Tage') }} </strong>
|
||||
@else
|
||||
<strong>Gesamt:</strong>
|
||||
@endif
|
||||
@endif
|
||||
</td>
|
||||
<td width="15%" align="right">
|
||||
@if($booking_draft_item->adult > 0)
|
||||
{{ $booking_draft_item->price_adult }} €
|
||||
@endif
|
||||
@if($booking_draft_item->children > 0)
|
||||
<br>
|
||||
{{ $booking_draft_item->price_children }} €
|
||||
@endif
|
||||
@if($booking_draft_item->adult > 0 || $booking_draft_item->children > 0)
|
||||
<br>
|
||||
<strong> $booking_draft_item->getItemPrice('total') € </strong>
|
||||
@endif
|
||||
</td>
|
||||
</tr>
|
||||
@elseif($booking_draft_item->draft_type_id == 27)
|
||||
<tr>
|
||||
<td width="10%" ></td>
|
||||
<td width="35%"> {{ $booking_draft_item->service }}</td>
|
||||
<td width="10%" align="center"> {{ _format_date($booking_draft_item->start_date) }}</td>
|
||||
<td width="10%" align="center"> {{ _format_date($booking_draft_item->end_date) }}</td>
|
||||
<td width="15%" align="center"> {{ $booking->getPax()}}</td>
|
||||
<td width="15%" align="right"></td>
|
||||
</tr>
|
||||
@else
|
||||
<tr>
|
||||
<td width="10%" ><strong> {{ $booking_draft_item->getDraftType()->getName() }}</td>
|
||||
<td width="35%"> {{ $booking_draft_item->service }}</td>
|
||||
<td width="10%" align="center"> {{ _format_date($booking_draft_item->start_date) }}</td>
|
||||
<td width="10%" align="center"> {{ _format_date($booking_draft_item->end_date) }}</td>
|
||||
<td width="15%" align="center"> {{ $booking->getPax()}}</td>
|
||||
<td width="15%" align="right"></td>
|
||||
</tr>
|
||||
@endif
|
||||
@endif
|
||||
@endforeach
|
||||
@else
|
||||
@foreach($booking->getArrangement() as $arrangement)
|
||||
@if($arrangement->getInPdf())
|
||||
|
||||
$data = $arrangement->getDataAsMap() }}
|
||||
}}
|
||||
@if($arrangement->getArrangementType()->getName() == 'Preisinformation')
|
||||
<tr>
|
||||
<td width="10%"><strong>Preis</strong></td>
|
||||
<td width="35%"> {{ $data['Name'] }}</td>
|
||||
<td width="10%" align="center"></td>
|
||||
<td width="10%" align="center"></td>
|
||||
<td width="15%" align="center"> {{ $data['Teilnehmer'] }}</td>
|
||||
<td width="15%" align="right"> {{ $data['Preis'], '€') }}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="10%"><strong>Preis</strong></td>
|
||||
<td width="35%">Für {{ $data['Teilnehmer'] }} {{ $data['Teilnehmer'] > 1 ? 'Personen' : 'Person' }}</td>
|
||||
<td width="10%" align="center"></td>
|
||||
<td width="10%" align="center"></td>
|
||||
<td width="15%" align="center"></td>
|
||||
<td width="15%" align="right"><strong> {{ $data['Preis'] * (float)$data['Teilnehmer'], '€') }}</strong></td>
|
||||
</tr>
|
||||
@elseif($arrangement->getArrangementType()->getName() == 'Text')
|
||||
<tr>
|
||||
<td width="10%"></td>
|
||||
<td width="35%"> {{ $arrangement->getDataS() }}</td>
|
||||
<td width="10%" align="center"> {{ _format_date($arrangement->getBegin()) }}</td>
|
||||
<td width="10%" align="center"> {{ _format_date($arrangement->getEnd()) }}</td>
|
||||
<td width="15%" align="center"> {{ array_key_exists('Teilnehmer', $data) ? $data['Teilnehmer'] : '' }}</td>
|
||||
<td width="15%" align="right"></td>
|
||||
</tr>
|
||||
@else
|
||||
<tr>
|
||||
<td width="10%"> {{ $arrangement->getArrangementType()->getName() }}</td>
|
||||
<td width="35%"> {{ $arrangement->getDataS() }}</td>
|
||||
<td width="10%" align="center"> {{ _format_date($arrangement->getBegin()) }}</td>
|
||||
<td width="10%" align="center"> {{ _format_date($arrangement->getEnd()) }}</td>
|
||||
<td width="15%" align="center"> {{ array_key_exists('Teilnehmer', $data) ? $data['Teilnehmer'] : $booking->getPax() }}</td>
|
||||
<td width="15%" align="right"></td>
|
||||
</tr>
|
||||
@endif
|
||||
@endif
|
||||
@endforeach
|
||||
@endif
|
||||
<tr>
|
||||
<td width="10%"><strong>Gesamtpreis</strong></td>
|
||||
<td width="35%"></td>
|
||||
<td width="10%"></td>
|
||||
<td width="10%"></td>
|
||||
<td width="15%"></td>
|
||||
<td width="15%" align="right"><u><strong> {{ format_currency($booking->getPrice(), '€') }}</strong></u></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="10%"> </td>
|
||||
<td width="35%"> </td>
|
||||
<td width="10%"> </td>
|
||||
<td width="10%"> </td>
|
||||
<td width="15%"> </td>
|
||||
<td width="15%"> </td>
|
||||
</tr>
|
||||
|
||||
@foreach($booking->getBookingServiceItems() as $serviceItem)
|
||||
@if($serviceItem->getTravelCompany()->getName() == 'ELVIA')
|
||||
<tr>
|
||||
<td width="10%">Reiseversicherung</td>
|
||||
<td width="35%"> {{ $serviceItem->getName() }}</td>
|
||||
<td width="10%" align="center"></td>
|
||||
<td width="10%" align="center"></td>
|
||||
<td width="15%" align="center"></td>
|
||||
<td width="15%" align="right"><strong> {{ format_currency($serviceItem->getServicePrice(), '€') }}</strong></td>
|
||||
</tr>
|
||||
@endif
|
||||
@endforeach
|
||||
|
||||
</table>
|
||||
<br />
|
||||
|
|
@ -0,0 +1,67 @@
|
|||
@foreach ($booking->booking_draft_items as $booking_draft_item)
|
||||
@if ($booking_draft_item->in_pdf)
|
||||
@if (in_array($booking_draft_item->draft_type_id, ['26', '30', '31', '32', '33', '34', '35', '36', '37', '41', '42']))
|
||||
<tr>
|
||||
<td class="text-center">{{ _format_date($booking_draft_item->start_date) }}</td>
|
||||
<td class="text-center">{{ _format_date($booking_draft_item->end_date) }}</td>
|
||||
<td>{{ $booking_draft_item->service }}</td>
|
||||
<td class="text-right">
|
||||
@if (in_array($booking_draft_item->draft_type_id, ['30', '36', '37']))
|
||||
@if ($booking_draft_item->adult > 0)
|
||||
{{ $booking_draft_item->adult == 1 ? $booking_draft_item->adult . ' Erwachsener' : $booking_draft_item->adult . ' Erwachsene' }}
|
||||
@endif
|
||||
@if ($booking_draft_item->children > 0)
|
||||
<br>
|
||||
{{ $booking_draft_item->children == 1 ? $booking_draft_item->children . ' Kind' : $booking_draft_item->children . ' Kinder' }}
|
||||
@endif
|
||||
@else
|
||||
@if ($booking_draft_item->adult > 0)
|
||||
{{ $booking_draft_item->adult == 1 ? $booking_draft_item->adult . ' Person' : $booking_draft_item->adult . ' Personen' }}
|
||||
@endif
|
||||
@endif
|
||||
@if ($booking_draft_item->adult > 0 || $booking_draft_item->children > 0)
|
||||
<br>
|
||||
@if ($booking_draft_item->draft_type_id == 36 || $booking_draft_item->draft_type_id == 37)
|
||||
<strong>Gesamt {{ $booking_draft_item->days_duration }}
|
||||
{{ $booking_draft_item->days_duration == 1 ? 'Tag' : 'Tage' }} </strong>
|
||||
@else
|
||||
<strong>Gesamt:</strong>
|
||||
@endif
|
||||
@endif
|
||||
</td>
|
||||
<td class="text-center"><strong>storniert</strong></td>
|
||||
<td class="text-right">
|
||||
@if ($booking_draft_item->adult > 0)
|
||||
{{ $booking_draft_item->price_adult }} €
|
||||
@endif
|
||||
@if ($booking_draft_item->children > 0)
|
||||
<br>
|
||||
{{ $booking_draft_item->price_children }} €
|
||||
@endif
|
||||
@if ($booking_draft_item->adult > 0 || $booking_draft_item->children > 0)
|
||||
<br>
|
||||
<strong> {{ _number_format($booking_draft_item->getItemPrice('total')) }} €</strong>
|
||||
@endif
|
||||
</td>
|
||||
</tr>
|
||||
@elseif($booking_draft_item->draft_type_id == 27)
|
||||
<tr>
|
||||
<td class="text-center"> {{ _format_date($booking_draft_item->start_date) }}</td>
|
||||
<td class="text-center"> {{ _format_date($booking_draft_item->end_date) }}</td>
|
||||
<td>{{ $booking_draft_item->service }}</td>
|
||||
<td class="text-center"> {{ $booking->pax }}</td>
|
||||
<td class="text-center"><strong>storniert</strong></td>
|
||||
<td class="text-right"></td>
|
||||
</tr>
|
||||
@else
|
||||
<tr>
|
||||
<td class="text-center"> {{ _format_date($booking_draft_item->start_date) }}</td>
|
||||
<td class="text-center"> {{ _format_date($booking_draft_item->end_date) }}</td>
|
||||
<td>{{ $booking_draft_item->service }}</td>
|
||||
<td class="text-center"> {{ $booking->pax }}</td>
|
||||
<td class="text-center"><strong>storniert</strong></td>
|
||||
<td class="text-right"></td>
|
||||
</tr>
|
||||
@endif
|
||||
@endif
|
||||
@endforeach
|
||||
|
|
@ -0,0 +1,23 @@
|
|||
@foreach ($booking->booking_draft_items as $booking_draft_item)
|
||||
@if ($booking_draft_item->in_pdf)
|
||||
@if (in_array($booking_draft_item->draft_type_id, ['26', '30', '31', '32', '33', '34', '35']))
|
||||
|
||||
@elseif($booking_draft_item->draft_type_id == 27)
|
||||
<tr>
|
||||
<td class="text-center"> {{ _format_date($booking_draft_item->start_date) }}</td>
|
||||
<td class="text-center"> {{ _format_date($booking_draft_item->end_date) }}</td>
|
||||
<td>{{ $booking_draft_item->service }}</td>
|
||||
<td class="text-center"> {{ $booking->pax }}</td>
|
||||
<td class="text-right"></td>
|
||||
</tr>
|
||||
@else
|
||||
<tr>
|
||||
<td class="text-center"> {{ _format_date($booking_draft_item->start_date) }}</td>
|
||||
<td class="text-center"> {{ _format_date($booking_draft_item->end_date) }}</td>
|
||||
<td>{{ $booking_draft_item->service }}</td>
|
||||
<td class="text-center"> {{ $booking->pax }}</td>
|
||||
<td class="text-right"></td>
|
||||
</tr>
|
||||
@endif
|
||||
@endif
|
||||
@endforeach
|
||||
23
resources/views/pdf/components/booking_footer.blade.php
Normal file
23
resources/views/pdf/components/booking_footer.blade.php
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
<table cellspacing="0" cellpadding="0" class="booking-table pdf-break-block">
|
||||
<tr>
|
||||
<th style="">
|
||||
|
||||
</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="100%" class="text-center">
|
||||
{!! \App\Models\CMSContent::getContentBySlug('pdf-footer-hinweise-rueckfragen') !!}
|
||||
@if($booking->travel_country)
|
||||
@foreach ($booking->travel_country->getContactLandsModels() as $country)
|
||||
{!! $country->contact_footer !!}
|
||||
<br>
|
||||
@endforeach
|
||||
@endif
|
||||
<br>
|
||||
{!! \App\Models\CMSContent::getContentBySlug('pdf-footer-hinweise-reisebedingungen') !!}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
|
||||
|
||||
|
|
@ -0,0 +1,15 @@
|
|||
<table cellspacing="0" cellpadding="0" class="booking-table pdf-break-block">
|
||||
<tr>
|
||||
<th style="">
|
||||
|
||||
</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="100%" class="text-center">
|
||||
{!! \App\Models\CMSContent::getContentBySlug('pdf-footer-hinweise-reisebedingungen') !!}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
|
||||
|
||||
38
resources/views/pdf/components/booking_head.blade.php
Normal file
38
resources/views/pdf/components/booking_head.blade.php
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
<table cellspacing="0" cellpadding="0" width="100%" border="0">
|
||||
<tr style="background: #648859;">
|
||||
<th width="50%" align="left" style="color: #ffffff; padding:0 0.5rem">
|
||||
<h3>{{ $document->title }} {{ _format_date($document->date) }}</h3>
|
||||
</th>
|
||||
<th width="50%" align="left" style="color: #ffffff; padding:0 0.5rem">
|
||||
<h3>Kundennummer: {{ $booking->customer->id }}</h3>
|
||||
</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="left" style="color: #000; padding:0.5rem">
|
||||
{{-- @if (!isset($is_agency) || $is_agency !== true) --}}
|
||||
@if ($booking->customer->salutation_id != 3)
|
||||
{{ $booking->customer->getSalutation() }}
|
||||
@endif
|
||||
{{ $booking->customer->fullName() }}<br />
|
||||
{{ $booking->customer->street }}<br />
|
||||
{{ $booking->customer->zip }} {{ $booking->customer->city }}<br />
|
||||
{{ $booking->customer->country_id }}<br /><br />
|
||||
Tel.: {{ $booking->customer->phone }}<br />
|
||||
E-Mail-Adresse: {{ $booking->customer->email }}
|
||||
{{-- @endif --}}
|
||||
</td>
|
||||
<td align="left" style="color: #000; padding:0.5rem">
|
||||
Buchungsnummer: <strong>{{ $booking->lead_id }}</strong><br />
|
||||
Buchungsdatum: <strong>{{ _format_date($booking->booking_date) }}</strong><br /><br />
|
||||
Reisetermin: <strong>{{ _format_date($booking->start_date) }} -
|
||||
{{ _format_date($booking->end_date) }}</strong><br />
|
||||
Reisenummer: {{ $booking->travel_number }}<br />
|
||||
@if ($booking->travel_agenda)
|
||||
{{ $booking->travel_agenda->title }}
|
||||
@else
|
||||
{{ $booking->title }}
|
||||
@endif
|
||||
<br />
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
68
resources/views/pdf/components/booking_header.blade.php
Normal file
68
resources/views/pdf/components/booking_header.blade.php
Normal file
|
|
@ -0,0 +1,68 @@
|
|||
|
||||
<h1>{{ $document->title }} | {{ _format_date($document->date) }} </h1>
|
||||
<br>
|
||||
<table cellspacing="0" cellpadding="0" class="booking-table">
|
||||
<tr>
|
||||
<th width="50%">
|
||||
<h3> </h3>
|
||||
</th>
|
||||
<th width="50%">
|
||||
<h3></h3>
|
||||
</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
@if($document->voucher === null || $document->voucher !== 'agency')
|
||||
@if ($booking->customer->salutation_id != 3)
|
||||
{{ $booking->customer->getSalutation() }}
|
||||
@endif
|
||||
{{ $booking->customer->fullName() }}<br>
|
||||
{{ $booking->customer->street }}<br>
|
||||
{{ $booking->customer->zip }} {{ $booking->customer->city }}<br>
|
||||
@if($booking->customer->travel_country)
|
||||
{{ $booking->customer->travel_country->name }}
|
||||
@endif
|
||||
<br><br>
|
||||
Tel.: {{ $booking->customer->phone }}<br>
|
||||
E-Mail-Adresse: {{ $booking->customer->email }}
|
||||
@endif
|
||||
</td>
|
||||
<td>
|
||||
<table border="0" class="no-border-table">
|
||||
<tr>
|
||||
<td>Kundennummer:</td>
|
||||
<td><strong>{{ $booking->customer_id }}</strong></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Buchungsnummer:</td>
|
||||
<td><strong>{{ $booking->lead_id }}</strong></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Buchungsdatum:</td>
|
||||
<td><strong>{{ _format_date($booking->booking_date) }}</strong></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><br></td>
|
||||
<td></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Reisetermin:</td>
|
||||
<td><strong>{{ _format_date($booking->start_date) }} - {{ _format_date($booking->end_date) }}</strong></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Reisenummer:</td>
|
||||
<td><strong>{{ $booking->travel_number }}</strong></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Reiseprogramm:</td>
|
||||
<td><strong>
|
||||
@if ($booking->travel_agenda)
|
||||
{{ $booking->travel_agenda->name }}
|
||||
@else
|
||||
{{ $booking->title }}
|
||||
@endif</strong></td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
25
resources/views/pdf/components/booking_info.blade.php
Normal file
25
resources/views/pdf/components/booking_info.blade.php
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
@if($booking->travel_country)
|
||||
@foreach ($booking->travel_country->getContactLandsModels() as $country)
|
||||
<table border="0" cellspacing="0" cellpadding="4" class="booking-table pdf-break-block">
|
||||
<tr>
|
||||
<th width="100%" colspan="4" class="text-center">
|
||||
{!! $country->contact_headline !!}
|
||||
</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="25%" align="center">
|
||||
{!! $country->contact_text_1 !!}
|
||||
</td>
|
||||
<td width="25%" align="center" >
|
||||
{!! $country->contact_text_2 !!}
|
||||
</td>
|
||||
<td width="25%" align="center">
|
||||
{!! $country->contact_text_3 !!}
|
||||
</td>
|
||||
<td width="25%" align="center">
|
||||
{!! $country->contact_text_4 !!}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
@endforeach
|
||||
@endif
|
||||
42
resources/views/pdf/components/booking_participant.blade.php
Normal file
42
resources/views/pdf/components/booking_participant.blade.php
Normal file
|
|
@ -0,0 +1,42 @@
|
|||
<table cellspacing="0" cellpadding="0" class="booking-table">
|
||||
<tr>
|
||||
<th width="50%">
|
||||
Reiseteilnehmer
|
||||
</th>
|
||||
<th width="50%">
|
||||
Geburtsdatum
|
||||
</th>
|
||||
</tr>
|
||||
@if ($booking->participant_firstname)
|
||||
<tr>
|
||||
<td>
|
||||
@if ($booking->participant_salutation)
|
||||
{{ $booking->participant_salutation->name }}
|
||||
@endif
|
||||
{{ $booking->participant_firstname }} {{ $booking->participant_name }}
|
||||
</td>
|
||||
<td>
|
||||
@if($document->voucher === null || $document->voucher !== 'agency')
|
||||
{{ _format_date($booking->participant_birthdate) }}
|
||||
@endif
|
||||
</td>
|
||||
</tr>
|
||||
@endif
|
||||
@foreach ($booking->participants as $participant)
|
||||
@if(!$participant->participant_storno)
|
||||
<tr>
|
||||
<td>
|
||||
@if ($participant->salutation)
|
||||
{{ $participant->salutation->name }}
|
||||
@endif
|
||||
{{ $participant->participant_firstname }} {{ $participant->participant_name }}
|
||||
</td>
|
||||
<td>
|
||||
@if($document->voucher === null || $document->voucher !== 'agency')
|
||||
{{ _format_date($participant->participant_birthdate) }}
|
||||
@endif
|
||||
</td>
|
||||
</tr>
|
||||
@endif
|
||||
@endforeach
|
||||
</table>
|
||||
72
resources/views/pdf/components/booking_regulations.blade.php
Normal file
72
resources/views/pdf/components/booking_regulations.blade.php
Normal file
|
|
@ -0,0 +1,72 @@
|
|||
<table cellspacing="0" cellpadding="0" class="booking-table pdf-break-block">
|
||||
<tr>
|
||||
<th>
|
||||
Sonstiges
|
||||
</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
@if($booking->travel_country->name == 'Jordanien')
|
||||
Einreise-, Visabestimmungen und gesundheitspolizeilichen Vorschriften für deutsche Staatsbürger: Einreise mit Reisepass und dieser muss sechs Monate bei Einreise gültig sein. Deutsche Staatsangehörige benötigen zur Einreise nach Jordanien ein Visum. Eine Gelbfieberimpfung ist bei Einreise aus Infektionsgebieten vorgeschrieben. Bei direkter Einreise aus Deutschland ist keine Gelbfieberimpfung notwendig.<br>
|
||||
Weitere Informationen zu den aktuellen Einreise- und Visabestimmungen finden Sie auf der Seite der jordanischen Botschaft:<br>
|
||||
<a href="http://www.jordanembassy.de/" target="_blank">www.jordanembassy.de/</a><br>
|
||||
<a href="http://www.tourism.jo/Contents/Visa_Information.aspx" target="_blank">www.tourism.jo/Contents/Visa_Information.aspx</a>
|
||||
<br><br>Wir empfehlen Ihnen, sich von Ihrem Hausarzt über Ihren Impfschutz und weitere landesspezifische, medizinische Hinweise beraten zu lassen.
|
||||
<br><br>
|
||||
<b>STERN TOURS GmbH empfiehlt generell den Abschluss einer Reise-Rücktrittskosten-Versicherung und einer Auslands-Reisekrankenversicherung mit Rücktransport.</b>
|
||||
@endif
|
||||
@if($booking->travel_country->name == 'Israel')
|
||||
Einreise- und Visabestimmungen für deutsche Staatsbürger: Einreise mit Reisepass und dieser muss sechs Monate über die Reise hinaus gültig sein. Deutsche Staatsbürger, die nach 1928 geboren sind, benötigen kein Transit- oder Besuchsvisum. Sie erhalten bei der Einreise eine Einreisekarte und bei der Ausreise eine Ausreisekarte (Ein- und Ausreisestempel werden nicht in den Pass gestempelt). Eine Gelbfieberimpfung ist bei Einreise aus Infektionsgebieten vorgeschrieben. Bei direkter Einreise aus Deutschland ist keine Gelbfieberimpfung notwendig.<br>
|
||||
Weitere Informationen zu den aktuellen Einreise- und Visabestimmungen finden Sie auf der Seite der israelischen Botschaft:<br>
|
||||
<a href="http://embassies.gov.il/berlin/ConsularServices/visainformation/Pages/Allgemeine-Informationen0124-4349.aspx" target="_blank">embassies.gov.il/berlin/ConsularServices/visainformation/Pages/Allgemeine-Informationen0124-4349.aspx</a>
|
||||
<br><br>Wir empfehlen Ihnen, sich von Ihrem Hausarzt über Ihren Impfschutz und weitere landesspezifische, medizinische Hinweise beraten zu lassen.
|
||||
<br><br>Bitte beachten Sie, dass bei Anreise am Samstag wegen des Shabat in vielen Hotels Einschränkungen beim Service, beim Check-In und beim Zimmerbezug geben kann.
|
||||
<br><br>
|
||||
<b>STERN TOURS GmbH empfiehlt generell den Abschluss einer Reise-Rücktrittskosten-Versicherung und einer Auslands-Reisekrankenversicherung mit Rücktransport.</b>
|
||||
@endif
|
||||
@if($booking->travel_country->name == 'Israel/Jordanien')
|
||||
<b>Israel</b> Einreise-, Visabestimmungen und gesundheitspolizeilichen Vorschriften für deutsche Staatsbürger: Einreise mit Reisepass und dieser muss sechs Monate über die Reise hinaus gültig sein. Deutsche Staatsbürger, die nach 1928 geboren sind, benötigen kein Transit- oder Besuchsvisum. Sie erhalten bei der Einreise eine Einreisekarte und bei der Ausreise eine Ausreisekarte (Ein- und Ausreisestempel werden nicht in den Pass gestempelt). Eine Gelbfieberimpfung ist bei Einreise aus Infektionsgebieten vorgeschrieben. Bei direkter Einreise aus Deutschland ist keine Gelbfieberimpfung notwendig.<br>
|
||||
Weitere Informationen finden Sie auf der Seite der israelischen Botschaft:<br>
|
||||
<a href="http://embassies.gov.il/berlin/ConsularServices/visainformation/Pages/Allgemeine-Informationen0124-4349.aspx" target="_blank">embassies.gov.il/berlin/ConsularServices/visainformation/Pages/Allgemeine-Informationen0124-4349.aspx</a>
|
||||
<br><br>
|
||||
<b>Jordanien</b> Einreise-, Visabestimmungen und gesundheitspolizeilichen Vorschriften für deutsche Staatsbürger: Einreise mit Reisepass und dieser muss sechs Monate bei Einreise gültig sein. Deutsche Staatsangehörige benötigen zur Einreise nach Jordanien ein Visum. Eine Gelbfieberimpfung ist bei Einreise aus Infektionsgebieten vorgeschrieben. Bei direkter Einreise aus Deutschland ist keine Gelbfieberimpfung notwendig.<br>
|
||||
Weitere Informationen zu den aktuellen Einreise- und Visabestimmungen finden Sie auf der Seite der jordanischen Botschaft:<br>
|
||||
<a href="http://www.jordanembassy.de/" target="_blank">www.jordanembassy.de/</a><br>
|
||||
<a href="http://www.tourism.jo/Contents/Visa_Information.aspx" target="_blank">www.tourism.jo/Contents/Visa_Information.aspx</a>
|
||||
<br><br>Wir empfehlen Ihnen, sich von Ihrem Hausarzt über Ihren Impfschutz und weitere landesspezifische, medizinische Hinweise beraten zu lassen.
|
||||
<br><br>Bitte beachten Sie, dass bei Anreise am Samstag wegen des Shabat in vielen Hotels Einschränkungen beim Service, beim Check-In und beim Zimmerbezug geben kann.
|
||||
<br><br>
|
||||
<b>STERN TOURS GmbH empfiehlt generell den Abschluss einer Reise-Rücktrittskosten-Versicherung und einer Auslands-Reisekrankenversicherung mit Rücktransport.</b>
|
||||
@endif
|
||||
@if($booking->travel_country->name == 'Oman')
|
||||
Einreise-, Visabestimmungen und gesundheitspolizeilichen Vorschriften für deutsche Staatsbürger: Einreise mit Reisepass und dieser muss noch sechs Monate nach Einreise gültig sein. Deutsche Staatsangehörige benötigen zur Einreise nach Jordanien ein Visum. Deutsche Staatsangehörige können bei der Royal Oman Police ein <a href="https://evisa.rop.gov.om/home" target="_blank">e-Visum</a> beantragen. Eine Gelbfieberimpfung ist bei Einreise aus einem Gelbfieber-Endemie Gebiet vorgeschrieben. Bei direkter Einreise aus Deutschland ist keine Gelbfieberimpfung notwendig.<br>
|
||||
Weitere Informationen zu den aktuellen Einreise- und Visabestimmungen finden Sie auf der Seite vom Auswärtigen Amt:<br>
|
||||
<a href="https://www.auswaertiges-amt.de/de/aussenpolitik/laender/oman-node/omansicherheit/204160" target="_blank">www.auswaertiges-amt.de</a>
|
||||
<br><br>Wir empfehlen Ihnen, sich von Ihrem Hausarzt über Ihren Impfschutz und weitere landesspezifische, medizinische Hinweise beraten zu lassen.
|
||||
<br><br>
|
||||
<b>STERN TOURS GmbH empfiehlt generell den Abschluss einer Reise-Rücktrittskosten-Versicherung und einer Auslands-Reisekrankenversicherung mit Rücktransport.</b>
|
||||
@endif
|
||||
@if($booking->travel_country->name == 'Ägypten')
|
||||
<b>Ägypten</b> Einreise-, Visabestimmungen und gesundheitspolizeilichen Vorschriften für deutsche Staatsbürger: Einreise mit Reisepass und dieser muss sechs Monate über die Reise hinaus gültig sein. Deutsche Staatsangehörige benötigen für die Einreise ein Visum. Eine Gelbfieberimpfung ist bei Einreise aus Infektionsgebieten vorgeschrieben. Bei direkter Einreise aus Deutschland ist keine Gelbfieberimpfung notwendig.<br>
|
||||
Weitere Informationen finden Sie auf der Seite der ägyptischen Botschaft:<br>
|
||||
<a href="http://www.egyptian-embassy.de/" target="_blank">www.egyptian-embassy.de/</a>
|
||||
<br><br>Wir empfehlen Ihnen, sich von Ihrem Hausarzt über Ihren Impfschutz und weitere landesspezifische, medizinische Hinweise beraten zu lassen.
|
||||
<br><br>
|
||||
|
||||
<b>STERN TOURS GmbH empfiehlt generell den Abschluss einer Reise-Rücktrittskosten-Versicherung und einer Auslands-Reisekrankenversicherung mit Rücktransport.</b><br><br> <hr><br>
|
||||
<center>Sollten vor Ort Fragen auftreten, wenden Sie sich bitte an Herrn Rabie 0020 1228 777940 - Herr Rashad Tel: 0020 1228 777942<br>
|
||||
Örtlicher Vertreter: New Vision Travel, 7 Ali El Gendy st., 6 District Nasr City, Cairo<br>
|
||||
Phone: 0020 22 2725646 * Fax: 0020 22 2725733 </center><br>
|
||||
@endif
|
||||
</td>
|
||||
</tr>
|
||||
@if(isset($document->name) && $document->name == 'registration')
|
||||
<tr>
|
||||
<td>
|
||||
<br>
|
||||
Reiserücktrittskostenversicherung angeboten [ <strong>X</strong> ]
|
||||
<br><br>
|
||||
</td>
|
||||
</tr>
|
||||
@endif
|
||||
</table>
|
||||
28
resources/views/pdf/components/booking_signature.blade.php
Normal file
28
resources/views/pdf/components/booking_signature.blade.php
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
<table border="0" cellspacing="0" cellpadding="0" class="booking-table pdf-break-block">
|
||||
<tr>
|
||||
<th width="50%">Unterschrift</th>
|
||||
<th width="50%"></th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td rowspan="2" style="border-bottom:0; border-right:0;">
|
||||
Dieser Buchungsauftrag wird durch meine Unterschrift verbindlich.<br>
|
||||
Die Reise- und Zahlungsbedingungen des Reiseveranstalters <br>
|
||||
bzw. Leistungsträgers habe ich zur Kenntnis genommen.
|
||||
</td>
|
||||
<td style="border-bottom:0; border-left:0;"> <br><br><br></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="text-right" style="border-top: 1pt; border-bottom:0; border-left:0;"><strong>Datum & Unterschrift des Kunden</strong></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td rowspan="2" style="border-top:0; border-right:0;">
|
||||
Hiermit erkläre ich, dass ich für die Verpflichtungen der von mir<br>
|
||||
angemeldeten Reiseteilnehmer gegenüber dem Reiseveranstalter / <br>
|
||||
Leistungsträger wie für meine eigenen einstehen werde.
|
||||
</td>
|
||||
<td style="border-top:0; border-left:0;"> <br><br><br></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="text-right" style="border-top: 1pt; border-left:0;"><strong>Datum & Unterschrift des Kunden</strong></td>
|
||||
</tr>
|
||||
</table>
|
||||
20
resources/views/pdf/components/booking_sterntours.blade.php
Normal file
20
resources/views/pdf/components/booking_sterntours.blade.php
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
<table cellspacing="0" cellpadding="0" class="booking-table pdf-break-block">
|
||||
<tr>
|
||||
<th width="50%"></th>
|
||||
<th class="text-right" width="50%">STERN TOURS GmbH</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td rowspan="2" style="border-top:0; border-right:0;">
|
||||
<br>
|
||||
</td>
|
||||
<td class="text-right" style="border-top:0; border-left:0;">
|
||||
Emser Straße 3<br />
|
||||
10719 Berlin<br />
|
||||
Tel: 030/700 94 100<br />
|
||||
Fax: 030/700 94 1044<br />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="text-right" style="border-top: 1pt; border-left:0;"><strong>Stempel des Reisebüros</strong></td>
|
||||
</tr>
|
||||
</table>
|
||||
213
resources/views/pdf/components/booking_storno.blade.php
Normal file
213
resources/views/pdf/components/booking_storno.blade.php
Normal file
|
|
@ -0,0 +1,213 @@
|
|||
<?php
|
||||
/**
|
||||
* @var Arrangement $arrangement
|
||||
*/
|
||||
?>
|
||||
<table border="0" cellspacing="0" cellpadding="2" width="100%" style="font-size: 9px;">
|
||||
<tr style="background: #254584;">
|
||||
<td style="color: #ffffff">Reiseteilnehmer</td>
|
||||
<td style="color: #ffffff">Geburtsdatum</td>
|
||||
</tr>
|
||||
<?php if($document->getBooking()->getParticipantFirstname()): ?>
|
||||
<tr>
|
||||
<td align="left" width="50%" style="border-bottom: 1px solid #254584;border-left: 1px solid #254584;"><?php echo $document->getBooking()->getParticipantSalutation() ?> <?php echo $document->getBooking()->getParticipantFirstname() ?> <?php echo $document->getBooking()->getParticipantName() ?></td>
|
||||
<td align="left" width="50%" style="border-bottom: 1px solid #254584;border-right: 1px solid #254584;"><?php echo format_date($document->getBooking()->getParticipantBirthdate(), 'p') ?></td>
|
||||
</tr>
|
||||
<?php endif ?>
|
||||
<?php foreach($document->getBooking()->getAdditionalParticipants() as $participant): ?>
|
||||
<tr>
|
||||
<td align="left" width="50%" style="border-bottom: 1px solid #254584;border-left: 1px solid #254584;"><?php echo $participant->getParticipantSalutation() ?> <?php echo $participant->getParticipantFirstname() ?> <?php echo $participant->getParticipantName() ?></td>
|
||||
<td align="left" width="50%" style="border-bottom: 1px solid #254584;border-right: 1px solid #254584;" ><?php echo format_date($participant->getParticipantBirthdate(), 'p') ?></td>
|
||||
</tr>
|
||||
<?php endforeach ?>
|
||||
|
||||
</table>
|
||||
<br />
|
||||
<table border="0" cellspacing="0" cellpadding="2" width="100%" style="font-size: 9px;">
|
||||
<tr style="background: #254584;">
|
||||
<td width="8%" style="color: #ffffff;">Art</td>
|
||||
<td width="35%" style="color: #ffffff;">Leistungen</td>
|
||||
<td width="8%" align="center" style="color: #ffffff;">Von</td>
|
||||
<td width="8%" align="center" style="color: #ffffff;">Bis</td>
|
||||
<td width="11%" align="center" style="color: #ffffff;">Teilnehmer</td>
|
||||
<td width="10%" align="center" style="color: #ffffff;">Status</td>
|
||||
<td width="15%" align="center" style="color: #ffffff;">Preis in EUR</td>
|
||||
</tr>
|
||||
<?php if($document->getBooking()->getNewDrafts()): ?>
|
||||
<?php foreach($document->getBooking()->getBookingDraftItem() as $booking_draft_item): ?>
|
||||
<?php if($booking_draft_item->getInPdf()): ?>
|
||||
<?php if(in_array($booking_draft_item->getDraftTypeId(), array('26', '30', '31', '32', '33', '34', '35', '36', '37', '41', '42'))): ?>
|
||||
<?php /* //Rundreise
|
||||
if($form["draft_type_id"]->getValue() == 24){
|
||||
|
||||
}
|
||||
//Preisinfo
|
||||
if($form["draft_type_id"]->getValue() == 26){
|
||||
|
||||
}
|
||||
//Preis info Hotel
|
||||
if($form["draft_type_id"]->getValue() == 30){
|
||||
|
||||
|
||||
}
|
||||
//Preis info Leistungen
|
||||
if($form["draft_type_id"]->getValue() == 31){pro Person:
|
||||
$set_price_info_field = ['data-pi_field' => 'service'];
|
||||
|
||||
}
|
||||
//Preis info Kategorie
|
||||
if($form["draft_type_id"]->getValue() == 32){
|
||||
|
||||
}
|
||||
*/ ?>
|
||||
<tr>
|
||||
<td style="border-bottom: 1px solid #254584;border-left: 1px solid #254584;border-right: 1px solid #254584;vertical-align: top"><strong><?php echo $booking_draft_item->getDraftType()->getName() ?></strong></td>
|
||||
<td style="border-bottom: 1px solid #254584;border-right: 1px solid #254584;vertical-align: top"><?php echo $booking_draft_item->getService() ?></td>
|
||||
<td style="border-bottom: 1px solid #254584;border-right: 1px solid #254584;vertical-align: top" align="center"><?php echo format_date($booking_draft_item->getStartDate(), 'p') ?></td>
|
||||
<td style="border-bottom: 1px solid #254584;border-right: 1px solid #254584;vertical-align: top" align="center"><?php echo format_date($booking_draft_item->getEndDate(), 'p') ?></td>
|
||||
<td style="border-bottom: 1px solid #254584;border-right: 1px solid #254584;vertical-align: top" align="right" >
|
||||
<?php
|
||||
if(in_array($booking_draft_item->getDraftTypeId(), array('30', '36', '37'))){
|
||||
if($booking_draft_item->getAdult() > 0){
|
||||
echo ($booking_draft_item->getAdult() == 1 ? $booking_draft_item->getAdult().' Erwachsener' : $booking_draft_item->getAdult().' Erwachsene');
|
||||
}
|
||||
if($booking_draft_item->getChildren() > 0){
|
||||
echo "<br>";
|
||||
echo ($booking_draft_item->getChildren() == 1 ? $booking_draft_item->getChildren().' Kind' : $booking_draft_item->getChildren().' Kinder');
|
||||
}
|
||||
}else{
|
||||
if($booking_draft_item->getAdult() > 0){
|
||||
echo ($booking_draft_item->getAdult() == 1 ? $booking_draft_item->getAdult().' Person' : $booking_draft_item->getAdult().' Personen');
|
||||
}
|
||||
}
|
||||
|
||||
if($booking_draft_item->getAdult() > 0 || $booking_draft_item->getChildren() > 0) {
|
||||
echo "<br>";
|
||||
if($booking_draft_item->getDraftTypeId() == 36 || $booking_draft_item->getDraftTypeId() == 37) {
|
||||
echo '<strong>Gesamt '.$booking_draft_item->getDaysDuration().' '.($booking_draft_item->getDaysDuration() == 1 ? 'Tag' : 'Tage').':</strong>';
|
||||
}else{
|
||||
echo '<strong>Gesamt:</strong>';
|
||||
}
|
||||
}
|
||||
?>
|
||||
</td>
|
||||
<td style="border-bottom: 1px solid #254584;border-right: 1px solid #254584;vertical-align: top" align="center"><strong>storniert</strong></td>
|
||||
<td style="border-bottom: 1px solid #254584;border-right: 1px solid #254584; vertical-align: top" align="right">
|
||||
<?php
|
||||
if($booking_draft_item->getAdult() > 0){
|
||||
echo format_currency((float)$booking_draft_item->getPriceAdult(), '€');
|
||||
}
|
||||
if($booking_draft_item->getChildren() > 0){
|
||||
echo "<br>";
|
||||
echo format_currency((float)$booking_draft_item->getPriceChildren(), '€');
|
||||
}
|
||||
if($booking_draft_item->getAdult() > 0 || $booking_draft_item->getChildren() > 0){
|
||||
echo "<br>";
|
||||
if($booking_draft_item->getDraftTypeId() == 36 || $booking_draft_item->getDraftTypeId() == 37){
|
||||
echo '<strong>'.format_currency(((float)$booking_draft_item->getAdult() * (float)$booking_draft_item->getPriceAdult() * (float)$booking_draft_item->getDaysDuration()) + ((float)$booking_draft_item->getChildren() * (float)$booking_draft_item->getPriceChildren() * (float)$booking_draft_item->getDaysDuration()), '€').'</strong>';
|
||||
}else{
|
||||
echo '<strong>'.format_currency(((float)$booking_draft_item->getAdult() * (float)$booking_draft_item->getPriceAdult()) + ((float)$booking_draft_item->getChildren() * (float)$booking_draft_item->getPriceChildren()), '€').'</strong>';
|
||||
}
|
||||
}
|
||||
?>
|
||||
</td>
|
||||
</tr>
|
||||
<?php elseif($booking_draft_item->getDraftTypeId() == 27): ?>
|
||||
<tr>
|
||||
<td style="border-bottom: 1px solid #254584;border-left: 1px solid #254584;border-right: 1px solid #254584;vertical-align: top"></td>
|
||||
<td style="border-bottom: 1px solid #254584;border-right: 1px solid #254584;vertical-align: top"><?php echo $booking_draft_item->getService() ?></td>
|
||||
<td style="border-bottom: 1px solid #254584;border-right: 1px solid #254584;vertical-align: top" align="center"><?php echo format_date($booking_draft_item->getStartDate(), 'p') ?></td>
|
||||
<td style="border-bottom: 1px solid #254584;border-right: 1px solid #254584;vertical-align: top" align="center"><?php echo format_date($booking_draft_item->getEndDate(), 'p') ?></td>
|
||||
<td style="border-bottom: 1px solid #254584;border-right: 1px solid #254584;vertical-align: top" align="center"><?php echo $document->getBooking()->getPax()?></td>
|
||||
<td style="border-bottom: 1px solid #254584;border-right: 1px solid #254584;vertical-align: top" align="center"><strong>storniert</strong></td>
|
||||
|
||||
<td style="border-bottom: 1px solid #254584;border-right: 1px solid #254584;vertical-align: top" align="right"></td>
|
||||
</tr>
|
||||
<?php else: ?>
|
||||
<tr>
|
||||
<td style="border-bottom: 1px solid #254584;border-left: 1px solid #254584;border-right: 1px solid #254584;vertical-align: top"><strong><?php echo $booking_draft_item->getDraftType()->getName() ?></td>
|
||||
<td style="border-bottom: 1px solid #254584;border-right: 1px solid #254584;vertical-align: top"><?php echo $booking_draft_item->getService() ?></td>
|
||||
<td style="border-bottom: 1px solid #254584;border-right: 1px solid #254584;vertical-align: top" align="center"><?php echo format_date($booking_draft_item->getStartDate(), 'p') ?></td>
|
||||
<td style="border-bottom: 1px solid #254584;border-right: 1px solid #254584;vertical-align: top" align="center"><?php echo format_date($booking_draft_item->getEndDate(), 'p') ?></td>
|
||||
<td style="border-bottom: 1px solid #254584;border-right: 1px solid #254584;vertical-align: top" align="center"><?php echo $document->getBooking()->getPax()?></td>
|
||||
<td style="border-bottom: 1px solid #254584;border-right: 1px solid #254584;vertical-align: top" align="center"><strong>storniert</strong></td>
|
||||
|
||||
<td style="border-bottom: 1px solid #254584;border-right: 1px solid #254584;vertical-align: top" align="right"></td>
|
||||
</tr>
|
||||
<?php endif ?>
|
||||
<?php endif ?>
|
||||
<?php endforeach ?>
|
||||
<?php else: ?>
|
||||
<?php foreach($document->getBooking()->getArrangement() as $arrangement): ?>
|
||||
<?php if($arrangement->getInPdf() && $arrangement->getTypeId() != 13): ?>
|
||||
<?php
|
||||
$data = $arrangement->getDataAsMap();
|
||||
?>
|
||||
<?php if($arrangement->getArrangementType()->getName() == 'Preisinformation'): ?>
|
||||
<tr>
|
||||
<td style="border-bottom: 1px solid #254584;border-left: 1px solid #254584;border-right: 1px solid #254584;"><strong>Preis</strong></td>
|
||||
<td style="border-bottom: 1px solid #254584;border-right: 1px solid #254584;"><?php echo $data['Name'] ?></td>
|
||||
<td style="border-bottom: 1px solid #254584;border-right: 1px solid #254584;" align="center"></td>
|
||||
<td style="border-bottom: 1px solid #254584;border-right: 1px solid #254584;" align="center"></td>
|
||||
<td style="border-bottom: 1px solid #254584;border-right: 1px solid #254584;" align="center"><?php echo $data['Teilnehmer'] ?></td>
|
||||
<td style="border-bottom: 1px solid #254584;border-right: 1px solid #254584;vertical-align: top" align="center"><strong>storniert</strong></td>
|
||||
<td style="border-bottom: 1px solid #254584;border-right: 1px solid #254584;" align="right"><?php echo format_currency((float)$data['Preis'], '€') ?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="border-bottom: 1px solid #254584;border-left: 1px solid #254584;border-right: 1px solid #254584;"><strong>Preis</strong></td>
|
||||
<td style="border-bottom: 1px solid #254584;border-right: 1px solid #254584;">Für <?php echo $data['Teilnehmer'] ?> <?php echo $data['Teilnehmer'] > 1 ? 'Personen' : 'Person' ?></td>
|
||||
<td style="border-bottom: 1px solid #254584;border-right: 1px solid #254584;" align="center"></td>
|
||||
<td style="border-bottom: 1px solid #254584;border-right: 1px solid #254584;" align="center"></td>
|
||||
<td style="border-bottom: 1px solid #254584;border-right: 1px solid #254584;" align="center"></td>
|
||||
<td style="border-bottom: 1px solid #254584;border-right: 1px solid #254584;vertical-align: top" align="center"><strong>storniert</strong></td>
|
||||
<td style="border-bottom: 1px solid #254584;border-right: 1px solid #254584;" align="right"><strong><?php echo format_currency((float)$data['Preis'] * (float)$data['Teilnehmer'], '€') ?></strong></td>
|
||||
</tr>
|
||||
<?php elseif($arrangement->getArrangementType()->getName() == 'Text'): ?>
|
||||
<tr>
|
||||
<td style="border-bottom: 1px solid #254584;border-left: 1px solid #254584;border-right: 1px solid #254584;"></td>
|
||||
<td style="border-bottom: 1px solid #254584;border-right: 1px solid #254584;"><?php echo $arrangement->getDataS() ?></td>
|
||||
<td style="border-bottom: 1px solid #254584;border-right: 1px solid #254584;" align="center"><?php echo format_date($arrangement->getBegin(), 'p') ?></td>
|
||||
<td style="border-bottom: 1px solid #254584;border-right: 1px solid #254584;" align="center"><?php echo format_date($arrangement->getEnd(), 'p') ?></td>
|
||||
<td style="border-bottom: 1px solid #254584;border-right: 1px solid #254584;" align="center"><?php echo array_key_exists('Teilnehmer', $data) ? $data['Teilnehmer'] : '' ?></td>
|
||||
<td style="border-bottom: 1px solid #254584;border-right: 1px solid #254584;vertical-align: top" align="center"><strong>storniert</strong></td>
|
||||
<td style="border-bottom: 1px solid #254584;border-right: 1px solid #254584;" align="right"></td>
|
||||
</tr>
|
||||
<?php else: ?>
|
||||
<tr>
|
||||
<td style="border-bottom: 1px solid #254584;border-left: 1px solid #254584;border-right: 1px solid #254584;"><?php echo $arrangement->getArrangementType()->getName() ?></td>
|
||||
<td style="border-bottom: 1px solid #254584;border-right: 1px solid #254584;"><?php echo $arrangement->getDataS() ?></td>
|
||||
<td style="border-bottom: 1px solid #254584;border-right: 1px solid #254584;" align="center"><?php echo format_date($arrangement->getBegin(), 'p') ?></td>
|
||||
<td style="border-bottom: 1px solid #254584;border-right: 1px solid #254584;" align="center"><?php echo format_date($arrangement->getEnd(), 'p') ?></td>
|
||||
<td style="border-bottom: 1px solid #254584;border-right: 1px solid #254584;" align="center"><?php echo array_key_exists('Teilnehmer', $data) ? $data['Teilnehmer'] : $document->getBooking()->getPax() ?></td>
|
||||
<td style="border-bottom: 1px solid #254584;border-right: 1px solid #254584;vertical-align: top" align="center"><strong>storniert</strong></td>
|
||||
<td style="border-bottom: 1px solid #254584;border-right: 1px solid #254584;" align="right"></td>
|
||||
</tr>
|
||||
<?php endif ?>
|
||||
<?php endif ?>
|
||||
<?php endforeach ?>
|
||||
<?php endif ?>
|
||||
<tr>
|
||||
<td style="border-bottom: 1px solid #254584;border-left: 1px solid #254584;" colspan="3"><strong>Storno-Reisebetrag am <?php echo format_date($document->getStornoDate(), 'p') ?>, <?php echo array_key_exists('Teilnehmer', $data) ? $data['Teilnehmer'] : $document->getBooking()->getPax() ?> Teilnehmer</strong></td>
|
||||
<td style="border-bottom: 1px solid #254584;"></td>
|
||||
<td style="border-bottom: 1px solid #254584;"></td>
|
||||
<td style="border-bottom: 1px solid #254584;border-right: 1px solid #254584;vertical-align: top" align="center"></td>
|
||||
<td style="border-bottom: 1px solid #254584;border-right: 1px solid #254584;" align="right"><strong><?php echo format_currency($document->getBooking()->getPriceCanceled(), '€') ?></strong></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="border-bottom: 1px solid #254584;border-left: 1px solid #254584;" colspan="3"><strong>Gesamtbetrag</strong></td>
|
||||
<td style="border-bottom: 1px solid #254584;"></td>
|
||||
<td style="border-bottom: 1px solid #254584;"></td>
|
||||
<td style="border-bottom: 1px solid #254584;border-right: 1px solid #254584;vertical-align: top" align="center"></td>
|
||||
<td style="border-bottom: 1px solid #254584;border-right: 1px solid #254584;" align="right"><strong><?php echo format_currency($document->getBooking()->getPriceCanceled(), '€') ?></strong></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="border-bottom: 1px solid #254584;"> </td>
|
||||
<td style="border-bottom: 1px solid #254584;"> </td>
|
||||
<td style="border-bottom: 1px solid #254584;"> </td>
|
||||
<td style="border-bottom: 1px solid #254584;"> </td>
|
||||
<td style="border-bottom: 1px solid #254584;"> </td>
|
||||
<td style="border-bottom: 1px solid #254584;"> </td>
|
||||
<td style="border-bottom: 1px solid #254584;"> </td>
|
||||
</tr>
|
||||
</table>
|
||||
<br />
|
||||
114
resources/views/pdf/components/booking_styles.blade.php
Normal file
114
resources/views/pdf/components/booking_styles.blade.php
Normal file
|
|
@ -0,0 +1,114 @@
|
|||
<style>
|
||||
|
||||
/*DIN LANG*/
|
||||
@font-face {
|
||||
font-family: "Source Sans 3";
|
||||
src: url("fonts/source-sans-3-v15-latin-regular.ttf") format("truetype");
|
||||
font-weight: 400;
|
||||
font-style: normal;
|
||||
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'Source Sans 3';
|
||||
font-style: normal;
|
||||
font-weight: 500;
|
||||
src: url('fonts/source-sans-3-v15-latin-500.ttf') format('truetype');
|
||||
}
|
||||
@font-face {
|
||||
font-family: 'Source Sans 3';
|
||||
font-style: normal;
|
||||
font-weight: 600;
|
||||
src: url('fonts/source-sans-3-v15-latin-600.ttf') format('truetype');
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'Source Sans 3';
|
||||
font-style: normal;
|
||||
font-weight: 700;
|
||||
src: url('fonts/source-sans-3-v15-latin-700.ttf') format('truetype');
|
||||
}
|
||||
|
||||
|
||||
html {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
body {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
margin: 0 auto;
|
||||
padding: 0;
|
||||
color: #000;
|
||||
font-size: 11.5pt;
|
||||
line-height: 9pt;
|
||||
font-weight: 400 ;
|
||||
font-family: "Source Sans 3", serif;
|
||||
|
||||
}
|
||||
|
||||
h2 {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
ul,
|
||||
ol {
|
||||
padding-left: 2rem;
|
||||
}
|
||||
|
||||
li {
|
||||
padding-bottom: 0.5rem;
|
||||
}
|
||||
.booking-table {
|
||||
width: 180mm;
|
||||
border-collapse: collapse;
|
||||
margin-bottom: 2rem;
|
||||
text-align: left;
|
||||
font-size: 8pt;
|
||||
}
|
||||
.booking-table tr {
|
||||
}
|
||||
.booking-table th {
|
||||
padding: 0.2rem 0.4rem;
|
||||
color:#ffffff;
|
||||
background: #648859;
|
||||
font-weight: bold;
|
||||
border: 0.25pt solid #648859;
|
||||
text-align: left;
|
||||
|
||||
}
|
||||
|
||||
.booking-table h3 {
|
||||
padding: 0.2rem 0rem;
|
||||
line-height: 1rem;
|
||||
margin:0;
|
||||
text-align: left;
|
||||
font-size: 9pt;
|
||||
|
||||
}
|
||||
|
||||
|
||||
.booking-table td {
|
||||
padding: 0.15rem 0.4rem;
|
||||
color: #000;
|
||||
border: 0.25pt solid #000;
|
||||
|
||||
}
|
||||
.pdf-input-content {
|
||||
font-size: 11pt;
|
||||
line-height: 1.3em;
|
||||
margin-bottom: 2rem;
|
||||
}
|
||||
|
||||
.pdf-break-block {
|
||||
page-break-inside: avoid;
|
||||
|
||||
}
|
||||
.text-center, .booking-table th.text-center, .booking-table td.text-center {
|
||||
text-align: center;
|
||||
}
|
||||
.text-right, .booking-table th.text-right, .booking-table td.text-right{
|
||||
text-align: right;
|
||||
}
|
||||
</style>
|
||||
116
resources/views/pdf/components/booking_voucher.blade.php
Normal file
116
resources/views/pdf/components/booking_voucher.blade.php
Normal file
|
|
@ -0,0 +1,116 @@
|
|||
<?php
|
||||
/**
|
||||
* @var Arrangement $arrangement
|
||||
*/
|
||||
?>
|
||||
<table border="0" cellspacing="0" cellpadding="4" width="100%" style="font-size: 9px;">
|
||||
<tr style="background: #254584;">
|
||||
<td style="color: #ffffff">Reiseteilnehmer</td>
|
||||
<td style="color: #ffffff">Geburtsdatum</td>
|
||||
</tr>
|
||||
<?php if($document->getBooking()->getParticipantFirstname()): ?>
|
||||
<tr>
|
||||
<td align="left" width="50%" style="border-bottom: 1px solid #254584;border-left: 1px solid #254584;"><?php echo $document->getBooking()->getParticipantSalutation() ?> <?php echo $document->getBooking()->getParticipantFirstname() ?> <?php echo $document->getBooking()->getParticipantName() ?></td>
|
||||
<td align="left" width="50%" style="border-bottom: 1px solid #254584;border-right: 1px solid #254584;">
|
||||
<?php if(!isset($is_agency) || $is_agency !== true): ?>
|
||||
<?php echo format_date($document->getBooking()->getParticipantBirthdate(), 'p') ?></td>
|
||||
<?php endif ?>
|
||||
</tr>
|
||||
<?php endif ?>
|
||||
<?php foreach($document->getBooking()->getAdditionalParticipants() as $participant): ?>
|
||||
<?php if(!$participant->getParticipantStorno()): ?>
|
||||
<tr>
|
||||
<td align="left" width="50%" style="border-bottom: 1px solid #254584;border-left: 1px solid #254584;"><?php echo $participant->getParticipantSalutation() ?> <?php echo $participant->getParticipantFirstname() ?> <?php echo $participant->getParticipantName() ?></td>
|
||||
<td align="left" width="50%" style="border-bottom: 1px solid #254584;border-right: 1px solid #254584;" >
|
||||
<?php if(!isset($is_agency) || $is_agency !== true): ?>
|
||||
<?php echo format_date($participant->getParticipantBirthdate(), 'p') ?>
|
||||
<?php endif ?>
|
||||
</td>
|
||||
</tr>
|
||||
<?php endif ?>
|
||||
<?php endforeach ?>
|
||||
|
||||
</table>
|
||||
<br />
|
||||
<table border="0" cellspacing="0" cellpadding="4" width="100%" style="font-size: 9px;">
|
||||
<tr style="background: #254584;">
|
||||
<td width="11%" style="color: #ffffff;">Art</td>
|
||||
<td width="35%" style="color: #ffffff;">Leistungen</td>
|
||||
<td width="12%" align="center" style="color: #ffffff;">Von</td>
|
||||
<td width="12%" align="center" style="color: #ffffff;">Bis</td>
|
||||
<td width="15%" align="center" style="color: #ffffff;">Teilnehmer</td>
|
||||
<td width="15%" align="center" style="color: #ffffff;">Preis in EUR</td>
|
||||
</tr>
|
||||
|
||||
|
||||
<?php if($document->getBooking()->getNewDrafts()): ?>
|
||||
|
||||
<?php foreach($document->getBooking()->getBookingDraftItem() as $booking_draft_item): ?>
|
||||
|
||||
|
||||
|
||||
<?php if($booking_draft_item->getInPdf()): ?>
|
||||
|
||||
<?php if(in_array($booking_draft_item->getDraftTypeId(), array('26', '30', '31', '32', '33', '34', '35'))): ?>
|
||||
|
||||
<?php echo $booking_draft_item->getService() ?>
|
||||
<?php echo $booking_draft_item->getId(); ?>
|
||||
<?php echo $booking_draft_item->getInPdf(); ?>
|
||||
<?php echo $booking_draft_item->getDraftTypeId(); ?>
|
||||
<?php echo "<br>" ?>
|
||||
|
||||
<?php elseif($booking_draft_item->getDraftTypeId() == 27): ?>
|
||||
<tr>
|
||||
<td width="10%" style="border-bottom: 1px solid #254584;border-left: 1px solid #254584;border-right: 1px solid #254584;vertical-align: top"></td>
|
||||
<td width="35%" style="border-bottom: 1px solid #254584;border-right: 1px solid #254584;vertical-align: top"><?php echo $booking_draft_item->getService() ?></td>
|
||||
<td width="10%" style="border-bottom: 1px solid #254584;border-right: 1px solid #254584;vertical-align: top" align="center"><?php echo format_date($booking_draft_item->getStartDate(), 'p') ?></td>
|
||||
<td width="10%" style="border-bottom: 1px solid #254584;border-right: 1px solid #254584;vertical-align: top" align="center"><?php echo format_date($booking_draft_item->getEndDate(), 'p') ?></td>
|
||||
<td width="15%" style="border-bottom: 1px solid #254584;border-right: 1px solid #254584;vertical-align: top" align="center"><?php echo $document->getBooking()->getPax()?></td>
|
||||
<td width="15%" style="border-bottom: 1px solid #254584;border-right: 1px solid #254584;vertical-align: top" align="right"></td>
|
||||
</tr>
|
||||
<?php else: ?>
|
||||
<tr>
|
||||
<td width="10%" style="border-bottom: 1px solid #254584;border-left: 1px solid #254584;border-right: 1px solid #254584;vertical-align: top"><strong><?php echo $booking_draft_item->getDraftType()->getName() ?></td>
|
||||
<td width="35%" style="border-bottom: 1px solid #254584;border-right: 1px solid #254584;vertical-align: top"><?php echo $booking_draft_item->getService() ?></td>
|
||||
<td width="10%" style="border-bottom: 1px solid #254584;border-right: 1px solid #254584;vertical-align: top" align="center"><?php echo format_date($booking_draft_item->getStartDate(), 'p') ?></td>
|
||||
<td width="10%" style="border-bottom: 1px solid #254584;border-right: 1px solid #254584;vertical-align: top" align="center"><?php echo format_date($booking_draft_item->getEndDate(), 'p') ?></td>
|
||||
<td width="15%" style="border-bottom: 1px solid #254584;border-right: 1px solid #254584;vertical-align: top" align="center"><?php echo $document->getBooking()->getPax()?></td>
|
||||
<td width="15%" style="border-bottom: 1px solid #254584;border-right: 1px solid #254584;vertical-align: top" align="right"></td>
|
||||
</tr>
|
||||
<?php endif ?>
|
||||
<?php endif ?>
|
||||
<?php endforeach ?>
|
||||
<?php else: ?>
|
||||
|
||||
|
||||
<?php foreach($document->getBooking()->getArrangement() as $arrangement): ?>
|
||||
<?php if($arrangement->getInPdf() && $arrangement->getArrangementType()->getName() != 'Preisinformation'): ?>
|
||||
<?php $data = $arrangement->getDataAsMap() ?>
|
||||
<?php if($arrangement->getArrangementType()->getName() == 'Text'): ?>
|
||||
<tr>
|
||||
<td width="11%" style="border-bottom: 1px solid #254584;border-left: 1px solid #254584;border-right: 1px solid #254584;"></td>
|
||||
<td width="35%" style="border-bottom: 1px solid #254584;border-right: 1px solid #254584;"><?php echo $arrangement->getDataS() ?></td>
|
||||
<td width="12%" style="border-bottom: 1px solid #254584;border-right: 1px solid #254584;" align="center"><?php echo format_date($arrangement->getBegin(), 'p') ?></td>
|
||||
<td width="12%" style="border-bottom: 1px solid #254584;border-right: 1px solid #254584;" align="center"><?php echo format_date($arrangement->getEnd(), 'p') ?></td>
|
||||
<td width="15%" style="border-bottom: 1px solid #254584;border-right: 1px solid #254584;" align="center"><?php echo array_key_exists('Teilnehmer', $data) ? $data['Teilnehmer'] : '' ?></td>
|
||||
<td width="15%" style="border-bottom: 1px solid #254584;border-right: 1px solid #254584;" align="right"></td>
|
||||
</tr>
|
||||
<?php else: ?>
|
||||
<tr>
|
||||
<td width="11%" style="border-bottom: 1px solid #254584;border-left: 1px solid #254584;border-right: 1px solid #254584;"><?php echo $arrangement->getArrangementType()->getName() ?></td>
|
||||
<td width="35%" style="border-bottom: 1px solid #254584;border-right: 1px solid #254584;"><?php echo $arrangement->getDataS() ?></td>
|
||||
<td width="12%" style="border-bottom: 1px solid #254584;border-right: 1px solid #254584;" align="center"><?php echo format_date($arrangement->getBegin(), 'p') ?></td>
|
||||
<td width="12%" style="border-bottom: 1px solid #254584;border-right: 1px solid #254584;" align="center"><?php echo format_date($arrangement->getEnd(), 'p') ?></td>
|
||||
<td width="15%" style="border-bottom: 1px solid #254584;border-right: 1px solid #254584;" align="center"><?php echo array_key_exists('Teilnehmer', $data) ? $data['Teilnehmer'] : $document->getBooking()->getPax() ?></td>
|
||||
<td width="15%" style="border-bottom: 1px solid #254584;border-right: 1px solid #254584;" align="right"></td>
|
||||
</tr>
|
||||
<?php endif ?>
|
||||
|
||||
<?php endif ?>
|
||||
<?php endforeach ?>
|
||||
|
||||
<?php endif ?>
|
||||
|
||||
</table>
|
||||
|
||||
<br />
|
||||
|
|
@ -13,8 +13,6 @@
|
|||
padding-bottom: 0.5rem;
|
||||
}
|
||||
.pdf-input-content {
|
||||
font-size: 11pt;
|
||||
line-height: 1.3em;
|
||||
margin-bottom: 2rem;
|
||||
}
|
||||
.pdf-break-block {
|
||||
|
|
|
|||
|
|
@ -1,8 +1,8 @@
|
|||
@extends('pdf.layout')
|
||||
@extends('pdf.layout2')
|
||||
|
||||
@section('content')
|
||||
<div id="address_box">
|
||||
<div id="address_back">STERN TOURS GmbH • Emser Str. 3 • 10719 Berlin</div>
|
||||
<div id="address_back">STERN TOURS GmbH • Emser Str. 3 • 10719 Berlin</div>
|
||||
{!! nl2br($model->getBookingUserAddress()) !!}
|
||||
</div>
|
||||
|
||||
|
|
@ -38,26 +38,26 @@
|
|||
<tr>
|
||||
<td class="left">{{ __('Mietpreis:') }}</td>
|
||||
<td class="right">
|
||||
<div class="font-weight-bold">{{ $model->price_travel_total }} €</div>
|
||||
<div class="font-weight-bold">{{ $model->price_travel_total }} €</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="left">{{ __('Service-Gebühr:') }}</td>
|
||||
<td class="right">
|
||||
<div class="font-weight-bold">{{ $model->price_service }} €</div>
|
||||
<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>
|
||||
<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>
|
||||
<div class="font-weight-bold">{{ $model->price_total }} €</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
|
|
@ -68,12 +68,12 @@
|
|||
|
||||
@if($model->isFromDateAfterDays())
|
||||
<ul>
|
||||
<li>eine sofort zahlungsfällige Anzahlung von 50% Mietpreis = <strong>{{ $model->getPriceTravelTotalFirstPay() }} €</strong></li>
|
||||
<li>sowie eine Restzahlung von <strong>{{ $model->getPriceTravelTotalSecondPay() }} €</strong> bis spätestens 4 Wochen vor Belegungsbeginn inkl. der oben genannten Kaution.</li>
|
||||
<li>eine sofort zahlungsfällige Anzahlung von 50% Mietpreis = <strong>{{ $model->getPriceTravelTotalFirstPay() }} €</strong></li>
|
||||
<li>sowie eine Restzahlung von <strong>{{ $model->getPriceTravelTotalSecondPay() }} €</strong> bis spätestens 4 Wochen vor Belegungsbeginn inkl. der oben genannten Kaution.</li>
|
||||
</ul>
|
||||
@else
|
||||
<ul>
|
||||
<li>den Gesamtbetrag von <strong>{{ $model->getPriceTravelTotalPay() }} €</strong></li>
|
||||
<li>den Gesamtbetrag von <strong>{{ $model->getPriceTravelTotalPay() }} €</strong></li>
|
||||
</ul>
|
||||
@endif
|
||||
|
||||
|
|
|
|||
|
|
@ -4,7 +4,32 @@
|
|||
<base href="{{ url('/') }}">
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
|
||||
<title>STERN TOURS</title>
|
||||
<style>
|
||||
<style>
|
||||
/*DIN LANG*/
|
||||
@font-face {
|
||||
font-family: "Source Sans 3";
|
||||
src: url("fonts/source-sans-3-v15-latin-regular.ttf") format("truetype");
|
||||
font-weight: 400;
|
||||
font-style: normal;
|
||||
}
|
||||
@font-face {
|
||||
font-family: 'Source Sans 3';
|
||||
font-style: normal;
|
||||
font-weight: 500;
|
||||
src: url('fonts/source-sans-3-v15-latin-500.ttf') format('truetype');
|
||||
}
|
||||
@font-face {
|
||||
font-family: 'Source Sans 3';
|
||||
font-style: normal;
|
||||
font-weight: 600;
|
||||
src: url('fonts/source-sans-3-v15-latin-600.ttf') format('truetype');
|
||||
}
|
||||
@font-face {
|
||||
font-family: 'Source Sans 3';
|
||||
font-style: normal;
|
||||
font-weight: 700;
|
||||
src: url('fonts/source-sans-3-v15-latin-700.ttf') format('truetype');
|
||||
}
|
||||
html {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
|
|
@ -16,19 +41,20 @@
|
|||
margin: 0 auto;
|
||||
padding: 0;
|
||||
color: #000;
|
||||
background: #fff;
|
||||
font-size: 9.5pt;
|
||||
line-height: 1.15em;
|
||||
font-family: Helvetica;
|
||||
font-size: 9pt;
|
||||
line-height: 1.1em;
|
||||
font-weight: 400 ;
|
||||
font-family: "Source Sans 3", serif;
|
||||
}
|
||||
table {
|
||||
border: none;
|
||||
}
|
||||
|
||||
strong {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
u {
|
||||
text-decoration: none;
|
||||
}
|
||||
@page {
|
||||
margin: 20mm 15mm 22mm 15mm;
|
||||
color:#000;
|
||||
|
|
@ -57,6 +83,7 @@
|
|||
padding-top: 2mm;
|
||||
border-top: 0.25pt solid #000;
|
||||
font-size: 8.5pt;
|
||||
line-height: 1em;
|
||||
|
||||
/** Extra personal styles **/
|
||||
}
|
||||
|
|
@ -69,16 +96,6 @@
|
|||
vertical-align: top;
|
||||
width: 33.33%;
|
||||
}
|
||||
/* footer .page {
|
||||
position: absolute;
|
||||
top:0mm;
|
||||
font-size: 8pt;
|
||||
text-align: right;
|
||||
right: 0;
|
||||
}
|
||||
footer .page:after { content: counter(page); }
|
||||
*/
|
||||
|
||||
|
||||
main {
|
||||
width: 100%;
|
||||
|
|
@ -94,6 +111,7 @@
|
|||
|
||||
a {
|
||||
color: #648859 !important;
|
||||
text-decoration: none;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
|
|
|||
215
resources/views/pdf/layout-template.blade.php
Normal file
215
resources/views/pdf/layout-template.blade.php
Normal file
|
|
@ -0,0 +1,215 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<base href="{{ url('/') }}">
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
|
||||
<title>STERN TOURS</title>
|
||||
<style>
|
||||
/*DIN LANG*/
|
||||
@font-face {
|
||||
font-family: "Source Sans 3";
|
||||
src: url("fonts/source-sans-3-v15-latin-regular.ttf") format("truetype");
|
||||
font-weight: 400;
|
||||
font-style: normal;
|
||||
}
|
||||
@font-face {
|
||||
font-family: 'Source Sans 3';
|
||||
font-style: normal;
|
||||
font-weight: 500;
|
||||
src: url('fonts/source-sans-3-v15-latin-500.ttf') format('truetype');
|
||||
}
|
||||
@font-face {
|
||||
font-family: 'Source Sans 3';
|
||||
font-style: normal;
|
||||
font-weight: 600;
|
||||
src: url('fonts/source-sans-3-v15-latin-600.ttf') format('truetype');
|
||||
}
|
||||
@font-face {
|
||||
font-family: 'Source Sans 3';
|
||||
font-style: normal;
|
||||
font-weight: 700;
|
||||
src: url('fonts/source-sans-3-v15-latin-700.ttf') format('truetype');
|
||||
}
|
||||
html {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
body {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
margin: 0 auto;
|
||||
padding: 0;
|
||||
color: #000;
|
||||
font-size: 9pt;
|
||||
line-height: 1.1em;
|
||||
font-weight: 400 ;
|
||||
font-family: "Source Sans 3", serif;
|
||||
}
|
||||
table {
|
||||
border: none;
|
||||
}
|
||||
strong {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
@page {
|
||||
margin: 20mm 15mm 22mm 15mm;
|
||||
color:#000;
|
||||
}
|
||||
|
||||
|
||||
header {
|
||||
position: fixed;
|
||||
top:-20mm;
|
||||
right: 0mm;
|
||||
width: 100mm;
|
||||
height: 20mm;
|
||||
text-align: right;
|
||||
}
|
||||
header img {
|
||||
padding-top: 6mm;
|
||||
height: 10mm;
|
||||
}
|
||||
|
||||
footer {
|
||||
position: fixed;
|
||||
bottom: -16mm;
|
||||
left: 0;
|
||||
right: 0;
|
||||
height: 10mm;
|
||||
padding-top: 2mm;
|
||||
border-top: 0.25pt solid #000;
|
||||
|
||||
/** Extra personal styles **/
|
||||
}
|
||||
|
||||
footer table {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
footer table td {
|
||||
vertical-align: top;
|
||||
width: 33.33%;
|
||||
}
|
||||
|
||||
main {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
|
||||
}
|
||||
u {
|
||||
text-decoration: none;
|
||||
font-weight: bold
|
||||
}
|
||||
|
||||
.page_break { page-break-before: always; }
|
||||
|
||||
#pdf-page {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
a {
|
||||
color: #648859 !important;
|
||||
text-decoration: none;
|
||||
}
|
||||
h1 {
|
||||
font-weight: 400;
|
||||
}
|
||||
h2 {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
ul,
|
||||
ol {
|
||||
padding-left: 2rem;
|
||||
}
|
||||
|
||||
li {
|
||||
padding-bottom: 0.5rem;
|
||||
}
|
||||
|
||||
.booking-table {
|
||||
width: 180mm;
|
||||
border-collapse: collapse;
|
||||
margin-bottom: 2rem;
|
||||
text-align: left;
|
||||
}
|
||||
.booking-table tr {
|
||||
}
|
||||
.booking-table th {
|
||||
padding: 0.2rem 0.4rem;
|
||||
color:#ffffff;
|
||||
background: #648859;
|
||||
font-weight: bold;
|
||||
border: 0.25pt solid #648859;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.booking-table h3 {
|
||||
padding: 0.2rem 0rem;
|
||||
line-height: 1rem;
|
||||
margin:0;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.booking-table td {
|
||||
padding: 0.15rem 0.4rem;
|
||||
color: #000;
|
||||
border: 0.25pt solid #000;
|
||||
font-size: 9pt;
|
||||
}
|
||||
.pdf-input-content {
|
||||
margin-bottom: 2rem;
|
||||
}
|
||||
|
||||
.pdf-break-block {
|
||||
page-break-inside: avoid;
|
||||
|
||||
}
|
||||
.text-center, .booking-table th.text-center, .booking-table td.text-center {
|
||||
text-align: center;
|
||||
}
|
||||
.text-right, .booking-table th.text-right, .booking-table td.text-right{
|
||||
text-align: right;
|
||||
}
|
||||
.no-border-table{
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
border-collapse: collapse;
|
||||
border: none;
|
||||
}
|
||||
.no-border-table tr, .no-border-table td, .no-border-table th{
|
||||
border: none;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<script type="text/php">
|
||||
if (isset($pdf)) {
|
||||
$font = null;
|
||||
$size = 8;
|
||||
$color = array(0,0,0);
|
||||
$word_space = 0.0; // default
|
||||
$char_space = 0.0; // default
|
||||
$angle = 0.0; // default
|
||||
$text = "{PAGE_NUM} / {PAGE_COUNT}";
|
||||
$y = $pdf->get_height() - 65;
|
||||
$x = $pdf->get_width() - 60;
|
||||
$pdf->page_text($x, $y, $text, $font, $size, $color, $word_space, $char_space, $angle);
|
||||
}
|
||||
</script>
|
||||
<header>
|
||||
</header>
|
||||
<footer>
|
||||
|
||||
</footer>
|
||||
<main>
|
||||
<div id="pdf-page">
|
||||
@yield('content')
|
||||
</div>
|
||||
</main>
|
||||
</body>
|
||||
</html>
|
||||
146
resources/views/pdf/layout-template2.blade.php
Normal file
146
resources/views/pdf/layout-template2.blade.php
Normal file
|
|
@ -0,0 +1,146 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<base href="{{ url('/') }}">
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
|
||||
<title>STERN TOURS</title>
|
||||
<style>
|
||||
|
||||
/*DIN LANG*/
|
||||
@font-face {
|
||||
font-family: "Source Sans 3";
|
||||
src: url("fonts/source-sans-3-v15-latin-regular.ttf") format("truetype");
|
||||
font-weight: 400;
|
||||
font-style: normal;
|
||||
}
|
||||
@font-face {
|
||||
font-family: 'Source Sans 3';
|
||||
font-style: normal;
|
||||
font-weight: 500;
|
||||
src: url('fonts/source-sans-3-v15-latin-500.ttf') format('truetype');
|
||||
}
|
||||
@font-face {
|
||||
font-family: 'Source Sans 3';
|
||||
font-style: normal;
|
||||
font-weight: 600;
|
||||
src: url('fonts/source-sans-3-v15-latin-600.ttf') format('truetype');
|
||||
}
|
||||
@font-face {
|
||||
font-family: 'Source Sans 3';
|
||||
font-style: normal;
|
||||
font-weight: 700;
|
||||
src: url('fonts/source-sans-3-v15-latin-700.ttf') format('truetype');
|
||||
}
|
||||
html {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
body {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
margin: 0 auto;
|
||||
padding: 0;
|
||||
color: #000;
|
||||
font-size: 9pt;
|
||||
line-height: 1.1em;
|
||||
font-weight: 400 ;
|
||||
font-family: "Source Sans 3", serif;
|
||||
}
|
||||
table {
|
||||
border: none;
|
||||
}
|
||||
strong {
|
||||
font-weight: bold;
|
||||
}
|
||||
u {
|
||||
text-decoration: none;
|
||||
}
|
||||
@page {
|
||||
margin: 20mm 15mm 22mm 15mm;
|
||||
color:#000;
|
||||
}
|
||||
|
||||
|
||||
header {
|
||||
position: fixed;
|
||||
top:-20mm;
|
||||
right: 0mm;
|
||||
width: 100mm;
|
||||
height: 20mm;
|
||||
text-align: right;
|
||||
}
|
||||
header img {
|
||||
padding-top: 6mm;
|
||||
height: 10mm;
|
||||
}
|
||||
|
||||
footer {
|
||||
position: fixed;
|
||||
bottom: -16mm;
|
||||
left: 0;
|
||||
right: 0;
|
||||
height: 10mm;
|
||||
padding-top: 2mm;
|
||||
border-top: 0.25pt solid #000;
|
||||
font-size: 8.5pt;
|
||||
line-height: 1em;
|
||||
|
||||
/** Extra personal styles **/
|
||||
}
|
||||
|
||||
footer table {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
footer table td {
|
||||
vertical-align: top;
|
||||
width: 33.33%;
|
||||
}
|
||||
|
||||
main {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
|
||||
}
|
||||
|
||||
.page_break { page-break-before: always; }
|
||||
|
||||
#pdf-page {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
a {
|
||||
color: #648859 !important;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<script type="text/php">
|
||||
if (isset($pdf)) {
|
||||
$font = null;
|
||||
$size = 8;
|
||||
$color = array(0,0,0);
|
||||
$word_space = 0.0; // default
|
||||
$char_space = 0.0; // default
|
||||
$angle = 0.0; // default
|
||||
$text = "{PAGE_NUM} / {PAGE_COUNT}";
|
||||
$y = $pdf->get_height() - 65;
|
||||
$x = $pdf->get_width() - 60;
|
||||
$pdf->page_text($x, $y, $text, $font, $size, $color, $word_space, $char_space, $angle);
|
||||
}
|
||||
</script>
|
||||
<header>
|
||||
</header>
|
||||
<footer>
|
||||
|
||||
</footer>
|
||||
<main>
|
||||
<div id="pdf-page">
|
||||
@yield('content')
|
||||
</div>
|
||||
</main>
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -5,13 +5,206 @@
|
|||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
|
||||
<title>STERN TOURS</title>
|
||||
<style>
|
||||
{!! \App\Services\Util::getURLasContent(asset('/css/stern_fewo_pdf.css')) !!}
|
||||
</style>
|
||||
|
||||
|
||||
/*DIN LANG*/
|
||||
@font-face {
|
||||
font-family: "Source Sans 3";
|
||||
src: url("fonts/source-sans-3-v15-latin-regular.ttf") format("truetype");
|
||||
font-weight: 400;
|
||||
font-style: normal;
|
||||
}
|
||||
@font-face {
|
||||
font-family: 'Source Sans 3';
|
||||
font-style: normal;
|
||||
font-weight: 500;
|
||||
src: url('fonts/source-sans-3-v15-latin-500.ttf') format('truetype');
|
||||
}
|
||||
@font-face {
|
||||
font-family: 'Source Sans 3';
|
||||
font-style: normal;
|
||||
font-weight: 600;
|
||||
src: url('fonts/source-sans-3-v15-latin-600.ttf') format('truetype');
|
||||
}
|
||||
@font-face {
|
||||
font-family: 'Source Sans 3';
|
||||
font-style: normal;
|
||||
font-weight: 700;
|
||||
src: url('fonts/source-sans-3-v15-latin-700.ttf') format('truetype');
|
||||
}
|
||||
html {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
body {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
margin: 0 auto;
|
||||
padding: 0;
|
||||
color: #000;
|
||||
font-size: 9pt;
|
||||
line-height: 1.1em;
|
||||
font-weight: 400 ;
|
||||
font-family: "Source Sans 3", serif;
|
||||
}
|
||||
table {
|
||||
border: none;
|
||||
}
|
||||
strong {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
u {
|
||||
text-decoration: none;
|
||||
}
|
||||
@page {
|
||||
margin: 0px;
|
||||
}
|
||||
@page {
|
||||
margin-top: 0px;
|
||||
}
|
||||
|
||||
|
||||
@page {
|
||||
margin: 90mm 0 30mm 0;
|
||||
color:#000;
|
||||
}
|
||||
|
||||
.font-weight-bold {
|
||||
font-weight: bold;
|
||||
}
|
||||
#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: 10pt;
|
||||
color:#000;
|
||||
}
|
||||
#address_box #address_back{
|
||||
font-size: 7pt;
|
||||
text-decoration: none;
|
||||
line-height: 1.6em;
|
||||
margin-bottom: 2mm;
|
||||
color:#000;
|
||||
}
|
||||
|
||||
#date_box {
|
||||
position: absolute;
|
||||
top:-10mm;
|
||||
right: 15mm;
|
||||
width: 70mm;
|
||||
height: 10mm;
|
||||
z-index: 1;
|
||||
font-size: 10pt;
|
||||
|
||||
text-align: right;
|
||||
color:#000;
|
||||
}
|
||||
|
||||
#title_box {
|
||||
position: absolute;
|
||||
top:0mm;
|
||||
left: 25mm;
|
||||
width: 160mm;
|
||||
height: 10mm;
|
||||
z-index: 2;
|
||||
font-weight: bold;
|
||||
color:#000;
|
||||
}
|
||||
#title_box .title {
|
||||
font-size: 16pt;
|
||||
|
||||
color:#000;
|
||||
}
|
||||
#title_box .subtitle {
|
||||
font-size: 9pt;
|
||||
|
||||
color:#000;
|
||||
}
|
||||
|
||||
#detail_box {
|
||||
position: absolute;
|
||||
top:15mm;
|
||||
left: 25mm;
|
||||
right: 15mm;
|
||||
z-index: 3;
|
||||
font-size: 9pt;
|
||||
color:#000;
|
||||
}
|
||||
|
||||
|
||||
#detail_box table {
|
||||
width: 100%;
|
||||
|
||||
border-collapse: collapse;
|
||||
color:#000;
|
||||
}
|
||||
#detail_box table td {
|
||||
border: 0.5pt solid #8c8c8c;
|
||||
padding: 1mm;
|
||||
color:#000;
|
||||
}
|
||||
|
||||
#detail_box table td.left {
|
||||
text-align: right;
|
||||
width: 50mm;
|
||||
color:#000;
|
||||
}
|
||||
|
||||
#detail_box table td.right {
|
||||
text-align: left;
|
||||
color:#000;
|
||||
|
||||
}
|
||||
.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: 1.1em;
|
||||
}
|
||||
|
||||
#footer_box table {
|
||||
margin-top: 2mm;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
#footer_box table td {
|
||||
vertical-align: top;
|
||||
} </style>
|
||||
</head>
|
||||
<body>
|
||||
<div id="logo_box">
|
||||
<img src="{{\App\Services\Util::getURLasContent(asset('/images/stern-tours-logo.png'), true)}}" alt="STERNTOURS">
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
@yield('content')
|
||||
|
|
|
|||
212
resources/views/pdf/layout2.blade.php
Normal file
212
resources/views/pdf/layout2.blade.php
Normal file
|
|
@ -0,0 +1,212 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<base href="{{ url('/') }}">
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
|
||||
<title>STERN TOURS</title>
|
||||
<style>
|
||||
|
||||
|
||||
/*DIN LANG*/
|
||||
@font-face {
|
||||
font-family: "Source Sans 3";
|
||||
src: url("fonts/source-sans-3-v15-latin-regular.ttf") format("truetype");
|
||||
font-weight: 400;
|
||||
font-style: normal;
|
||||
}
|
||||
@font-face {
|
||||
font-family: 'Source Sans 3';
|
||||
font-style: normal;
|
||||
font-weight: 500;
|
||||
src: url('fonts/source-sans-3-v15-latin-500.ttf') format('truetype');
|
||||
}
|
||||
@font-face {
|
||||
font-family: 'Source Sans 3';
|
||||
font-style: normal;
|
||||
font-weight: 600;
|
||||
src: url('fonts/source-sans-3-v15-latin-600.ttf') format('truetype');
|
||||
}
|
||||
@font-face {
|
||||
font-family: 'Source Sans 3';
|
||||
font-style: normal;
|
||||
font-weight: 700;
|
||||
src: url('fonts/source-sans-3-v15-latin-700.ttf') format('truetype');
|
||||
}
|
||||
html {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
body {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
margin: 0 auto;
|
||||
padding: 0;
|
||||
color: #000;
|
||||
font-size: 9pt;
|
||||
line-height: 1.1em;
|
||||
font-weight: 400 ;
|
||||
font-family: "Source Sans 3", serif;
|
||||
}
|
||||
table {
|
||||
border: none;
|
||||
}
|
||||
strong {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
u {
|
||||
text-decoration: none;
|
||||
}
|
||||
@page {
|
||||
margin: 0px;
|
||||
}
|
||||
@page {
|
||||
margin-top: 0px;
|
||||
}
|
||||
|
||||
|
||||
@page {
|
||||
margin: 90mm 0 30mm 0;
|
||||
color:#000;
|
||||
}
|
||||
|
||||
.font-weight-bold {
|
||||
font-weight: bold;
|
||||
}
|
||||
#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: 10pt;
|
||||
color:#000;
|
||||
}
|
||||
#address_box #address_back{
|
||||
font-size: 7pt;
|
||||
text-decoration: none;
|
||||
line-height: 1.6em;
|
||||
margin-bottom: 2mm;
|
||||
color:#000;
|
||||
}
|
||||
|
||||
#date_box {
|
||||
position: absolute;
|
||||
top:-10mm;
|
||||
right: 15mm;
|
||||
width: 70mm;
|
||||
height: 10mm;
|
||||
z-index: 1;
|
||||
font-size: 10pt;
|
||||
|
||||
text-align: right;
|
||||
color:#000;
|
||||
}
|
||||
|
||||
#title_box {
|
||||
position: absolute;
|
||||
top:0mm;
|
||||
left: 25mm;
|
||||
width: 160mm;
|
||||
height: 10mm;
|
||||
z-index: 2;
|
||||
font-weight: bold;
|
||||
color:#000;
|
||||
}
|
||||
#title_box .title {
|
||||
font-size: 16pt;
|
||||
|
||||
color:#000;
|
||||
}
|
||||
#title_box .subtitle {
|
||||
font-size: 9pt;
|
||||
|
||||
color:#000;
|
||||
}
|
||||
|
||||
#detail_box {
|
||||
position: absolute;
|
||||
top:15mm;
|
||||
left: 25mm;
|
||||
right: 15mm;
|
||||
z-index: 3;
|
||||
font-size: 9pt;
|
||||
color:#000;
|
||||
}
|
||||
|
||||
|
||||
#detail_box table {
|
||||
width: 100%;
|
||||
|
||||
border-collapse: collapse;
|
||||
color:#000;
|
||||
}
|
||||
#detail_box table td {
|
||||
border: 0.5pt solid #8c8c8c;
|
||||
padding: 1mm;
|
||||
color:#000;
|
||||
}
|
||||
|
||||
#detail_box table td.left {
|
||||
text-align: right;
|
||||
width: 50mm;
|
||||
color:#000;
|
||||
}
|
||||
|
||||
#detail_box table td.right {
|
||||
text-align: left;
|
||||
color:#000;
|
||||
|
||||
}
|
||||
.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: 1.1em;
|
||||
}
|
||||
|
||||
#footer_box table {
|
||||
margin-top: 2mm;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
#footer_box table td {
|
||||
vertical-align: top;
|
||||
} </style>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
@yield('content')
|
||||
|
||||
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
@extends('pdf.layout-small')
|
||||
@extends('pdf.layout-template2')
|
||||
|
||||
@section('content')
|
||||
<style>
|
||||
|
|
@ -7,7 +7,6 @@
|
|||
}
|
||||
|
||||
h2 {
|
||||
font-size: 1.1rem;
|
||||
}
|
||||
|
||||
ul, ol {
|
||||
|
|
@ -17,8 +16,6 @@
|
|||
padding-bottom: 0.5rem;
|
||||
}
|
||||
.pdf-input-content {
|
||||
font-size: 11pt;
|
||||
line-height: 1.3em;
|
||||
margin-bottom: 2rem;
|
||||
}
|
||||
.pdf-break-block {
|
||||
|
|
|
|||
|
|
@ -1,9 +1,9 @@
|
|||
@extends('pdf.layout')
|
||||
@extends('pdf.layout2')
|
||||
|
||||
@section('content')
|
||||
|
||||
<div id="address_box">
|
||||
<div id="address_back">STERN TOURS GmbH • Emser Str. 3 • 10719 Berlin</div>
|
||||
<div id="address_back">STERN TOURS GmbH • Emser Str. 3 • 10719 Berlin</div>
|
||||
{!! nl2br($model->getBookingUserAddress()) !!}
|
||||
</div>
|
||||
|
||||
|
|
@ -12,10 +12,9 @@
|
|||
</div>
|
||||
|
||||
<div id="title_box">
|
||||
Anreiseinfo Nr. {{$model->invoice_number}}
|
||||
Anreiseinfo Nr. {{$model->invoice_number}}
|
||||
</div>
|
||||
|
||||
|
||||
<div id="detail_box">
|
||||
<p>{!! nl2br($travel_info_user_text) !!}</p>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -58,7 +58,7 @@
|
|||
</div>
|
||||
</div>
|
||||
<div class="form-row align-items-center">
|
||||
<div class="col-md-3 mb-3">
|
||||
<div class="col-6 col-md-3 mb-3">
|
||||
<label class="form-label" for="travel_option_country_id">Filter Reiseland</label>
|
||||
<select class="custom-select" name="travel_option_country_id" id="travel_option_country_id">
|
||||
<option value="">Filter aus</option>
|
||||
|
|
@ -67,13 +67,13 @@
|
|||
@endforeach
|
||||
</select>
|
||||
</div>
|
||||
<div class="col-md-3 mb-3">
|
||||
<div class="col-6 col-md-3 mb-3">
|
||||
<label class="form-label" for="travel_option_agenda_id">Filter Programm</label>
|
||||
<select class="custom-select" name="travel_option_agenda_id" id="travel_option_agenda_id">
|
||||
<option value="">Filter aus</option>
|
||||
</select>
|
||||
</div>
|
||||
<div class="col-md-3 mb-3">
|
||||
<div class="col-6 col-md-3 mb-3">
|
||||
<label class="form-label" for="travel_option_company_id">Filter Reiseveranstalter</label>
|
||||
<select class="custom-select" name="travel_option_company_id" id="travel_option_company_id">
|
||||
<option value="">Filter aus</option>
|
||||
|
|
@ -82,7 +82,7 @@
|
|||
@endforeach
|
||||
</select>
|
||||
</div>
|
||||
<div class="col-md-3 mb-3">
|
||||
<div class="col-6 col-md-3 mb-3">
|
||||
<label class="form-label" for="travel_option_lead_status_id">Filter Status</label>
|
||||
<select class="selectpicker" data-style="btn-default" name="travel_option_lead_status_id" id="travel_option_lead_status_id" multiple>
|
||||
<option value="">Filter aus</option>
|
||||
|
|
@ -93,43 +93,7 @@
|
|||
</div>
|
||||
</div>
|
||||
<div class="form-row align-items-center">
|
||||
<div class="col-md-3 mb-3">
|
||||
<label class="form-label" for="travel_option_paying_out">Filter K-Wunsch</label>
|
||||
<select class="custom-select" name="travel_option_paying_out" id="travel_option_paying_out">
|
||||
<option value="">Filter aus</option>
|
||||
@foreach($filter_paying_out as $id=>$name)
|
||||
<option value="{{$id}}">{{$name}}</option>
|
||||
@endforeach
|
||||
</select>
|
||||
</div>
|
||||
<div class="col-md-3 mb-3">
|
||||
<label class="form-label" for="travel_option_paying_out_status">Filter KW-Status</label>
|
||||
<select class="custom-select" name="travel_option_paying_out_status" id="travel_option_paying_out_status">
|
||||
<option value="">Filter aus</option>
|
||||
@foreach($filter_paying_out_status as $id=>$name)
|
||||
<option value="{{$id}}">{{$name}}</option>
|
||||
@endforeach
|
||||
</select>
|
||||
</div>
|
||||
<div class="col-md-2 mb-3">
|
||||
<label class="form-label" for="travel_option_refund">Filter Refund</label>
|
||||
<select class="custom-select" name="travel_option_refund" id="travel_option_refund">
|
||||
<option value="">Filter aus</option>
|
||||
@foreach($filter_refund as $id=>$name)
|
||||
<option value="{{$id}}">{{$name}}</option>
|
||||
@endforeach
|
||||
</select>
|
||||
</div>
|
||||
<div class="col-md-2 mb-3">
|
||||
<label class="form-label" for="travel_option_xx_tkt">Filter XX TKT</label>
|
||||
<select class="custom-select" name="travel_option_xx_tkt" id="travel_option_xx_tkt">
|
||||
<option value="">Filter aus</option>
|
||||
@foreach($filter_xx_tkt as $id=>$name)
|
||||
<option value="{{$id}}">{{$name}}</option>
|
||||
@endforeach
|
||||
</select>
|
||||
</div>
|
||||
<div class="col-md-2 mb-3">
|
||||
<div class="col-6 col-md-2 mb-3">
|
||||
<label class="form-label" for="travel_option_airline_id">Filter Airline</label>
|
||||
<select class="custom-select" name="travel_option_airline_id" id="travel_option_airline_id">
|
||||
<option value="">Filter aus</option>
|
||||
|
|
@ -138,23 +102,68 @@
|
|||
@endforeach
|
||||
</select>
|
||||
</div>
|
||||
<div class="col-6 col-md-2 mb-3">
|
||||
<label class="form-label" for="travel_option_airport_id">Filter Airport</label>
|
||||
<select class="custom-select" name="travel_option_airport_id" id="travel_option_airport_id">
|
||||
<option value="">Filter aus</option>
|
||||
@foreach($filter_airports as $id=>$name)
|
||||
<option value="{{$id}}">{{$name}}</option>
|
||||
@endforeach
|
||||
</select>
|
||||
</div>
|
||||
<div class="col-6 col-md-2 mb-3">
|
||||
<label class="form-label" for="travel_option_paying_out">Filter K-Wunsch</label>
|
||||
<select class="custom-select" name="travel_option_paying_out" id="travel_option_paying_out">
|
||||
<option value="">Filter aus</option>
|
||||
@foreach($filter_paying_out as $id=>$name)
|
||||
<option value="{{$id}}">{{$name}}</option>
|
||||
@endforeach
|
||||
</select>
|
||||
</div>
|
||||
<div class="col-6 col-md-2 mb-3">
|
||||
<label class="form-label" for="travel_option_paying_out_status">Filter KW-Status</label>
|
||||
<select class="custom-select" name="travel_option_paying_out_status" id="travel_option_paying_out_status">
|
||||
<option value="">Filter aus</option>
|
||||
@foreach($filter_paying_out_status as $id=>$name)
|
||||
<option value="{{$id}}">{{$name}}</option>
|
||||
@endforeach
|
||||
</select>
|
||||
</div>
|
||||
<div class="col-6 col-md-2 mb-3">
|
||||
<label class="form-label" for="travel_option_refund">Filter Refund</label>
|
||||
<select class="custom-select" name="travel_option_refund" id="travel_option_refund">
|
||||
<option value="">Filter aus</option>
|
||||
@foreach($filter_refund as $id=>$name)
|
||||
<option value="{{$id}}">{{$name}}</option>
|
||||
@endforeach
|
||||
</select>
|
||||
</div>
|
||||
<div class="col-6 col-md-2 mb-3">
|
||||
<label class="form-label" for="travel_option_xx_tkt">Filter XX TKT</label>
|
||||
<select class="custom-select" name="travel_option_xx_tkt" id="travel_option_xx_tkt">
|
||||
<option value="">Filter aus</option>
|
||||
@foreach($filter_xx_tkt as $id=>$name)
|
||||
<option value="{{$id}}">{{$name}}</option>
|
||||
@endforeach
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-row align-items-center">
|
||||
|
||||
<div class="col-6 col-md-3 mb-2">
|
||||
<div class="col-6 col-md-2 mb-2">
|
||||
<label class="form-label">Vorname</label>
|
||||
<input class="form-control full_search" name="full_firstname_search" placeholder="suche" type="text" value="">
|
||||
</div>
|
||||
<div class="col-6 col-md-3 mb-2">
|
||||
<div class="col-6 col-md-2 mb-2">
|
||||
<label class="form-label">Nachname</label>
|
||||
<input class="form-control full_search" name="full_lastname_search" placeholder="suche" type="text" value="">
|
||||
</div>
|
||||
|
||||
<div class="col-5 col-sm-2 mb-2">
|
||||
<div class="col-5 col-md-2 mb-2">
|
||||
<label class="form-label">BuchungsID</label>
|
||||
<input class="form-control full_search" name="full_booking_id_search" placeholder="suche" type="text" value="">
|
||||
</div>
|
||||
<div class="col-5 col-sm-2 mb-2">
|
||||
<div class="col-5 col-md-2 mb-2">
|
||||
<label class="form-label" for="sort_sf_guard_user_id">Filter Sachbearbeiter</label>
|
||||
<select class="custom-select" name="sort_sf_guard_user_id" id="sort_sf_guard_user_id">
|
||||
<option value="">Filter aus</option>
|
||||
|
|
@ -163,7 +172,7 @@
|
|||
@endforeach
|
||||
</select>
|
||||
</div>
|
||||
<div class="col-2 col-sm-2 mb-2 mt-4">
|
||||
<div class="col-2 col-md-4 mb-2 mt-4">
|
||||
<a href="{{ route('requests') }}" class="btn icon-btn btn-sm btn-outline-dark float-right">
|
||||
<span class="fa fa-sync"></span>
|
||||
</a>
|
||||
|
|
@ -171,7 +180,12 @@
|
|||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="card-datatable table-responsive py-2">
|
||||
|
||||
<div class="table-responsive-track" id="datatables-requests-scroll">
|
||||
<div class="table-responsive-thumb" id="datatables-requests-thumb">
|
||||
</div>
|
||||
</div>
|
||||
<div class="card-datatable table-responsive py-2" id="datatables-requests-table">
|
||||
<input type="hidden" name="sort_travel_country_id" value="">
|
||||
<input type="hidden" name="sort_travelagenda_id" value="">
|
||||
<input type="hidden" name="sort_travel_documents" value="">
|
||||
|
|
@ -198,9 +212,10 @@
|
|||
<th>{{__('Sb.')}}</th>
|
||||
<th>{{__('Status')}}</th>
|
||||
<th>{{__('E-Mail')}}</th>
|
||||
<th>{{__('Airline')}}</th>
|
||||
<th>{{__('Airport')}}</th>
|
||||
<th>{{__('K-Wunsch')}}</th>
|
||||
<th>{{__('KW-Status')}}</th>
|
||||
<th>{{__('Al')}}</th>
|
||||
<th>{{__('Refund')}}</th>
|
||||
<th>{{__('H')}}</th>
|
||||
<th>{{__('XX TKT')}}</th>
|
||||
|
|
@ -254,6 +269,7 @@
|
|||
d.travel_option_company_id = $('select[name=travel_option_company_id]').val();
|
||||
d.travel_option_lead_status_id = $('select[name=travel_option_lead_status_id]').val();
|
||||
d.travel_option_airline_id = $('select[name=travel_option_airline_id]').val();
|
||||
d.travel_option_airport_id = $('select[name=travel_option_airport_id]').val();
|
||||
d.travel_option_paying_out = $('select[name=travel_option_paying_out]').val();
|
||||
d.travel_option_paying_out_status = $('select[name=travel_option_paying_out_status]').val();
|
||||
d.travel_option_refund = $('select[name=travel_option_refund]').val();
|
||||
|
|
@ -278,9 +294,10 @@
|
|||
{ data: 'sf_guard_user_id', name: 'sf_guard_user_id', orderable: false },
|
||||
{ data: 'lead.status_id', name: 'lead.status_id', orderable: false },
|
||||
{ data: 'last_customer_email', name: 'last_customer_email', orderable: true },
|
||||
{ data: 'airline_ids', name: 'airline_ids', orderable: false },
|
||||
{ data: 'airport_id', name: 'airport_id', orderable: true },
|
||||
{ data: 'paying_out', name: 'paying_out' },
|
||||
{ data: 'paying_out_status', name: 'paying_out_status' },
|
||||
{ data: 'airline_ids', name: 'airline_ids', orderable: false },
|
||||
{ data: 'refund', name: 'refund' },
|
||||
{ data: 'hold', name: 'hold' },
|
||||
{ data: 'xx_tkt', name: 'xx_tkt' },
|
||||
|
|
@ -353,6 +370,7 @@
|
|||
drawCallback: function () {
|
||||
//console.log($('#travel_option_agenda_id').prop('disabled'));
|
||||
//only when is disabled, refesh list is load by other filter.
|
||||
dataTableScrollTrack('#datatables-requests');
|
||||
|
||||
$('#datatables-requests [rel="tooltip"]').tooltip({trigger: "hover"});
|
||||
$('#datatables-requests [data-toggle="popover"]').popover({trigger: "hover", content: get_popover_content, html: true,});
|
||||
|
|
@ -474,6 +492,9 @@
|
|||
$('#travel_option_airline_id').on('change', function(){
|
||||
orderDrawTable();
|
||||
});
|
||||
$('#travel_option_airport_id').on('change', function(){
|
||||
orderDrawTable();
|
||||
});
|
||||
$('#sort_sf_guard_user_id').on('change', function(){
|
||||
orderDrawTable();
|
||||
});
|
||||
|
|
|
|||
138
resources/views/settings/airport/index.blade.php
Executable file
138
resources/views/settings/airport/index.blade.php
Executable file
|
|
@ -0,0 +1,138 @@
|
|||
@extends('layouts.layout-2')
|
||||
|
||||
@section('content')
|
||||
<h4 class="font-weight-bold py-3 mb-1">
|
||||
Airport
|
||||
</h4>
|
||||
|
||||
<div class="card">
|
||||
<div class="card-datatable table-responsive">
|
||||
<table class="datatables-default table table-striped table-bordered">
|
||||
<thead>
|
||||
<tr>
|
||||
<th style="max-width: 60px;"> </th>
|
||||
<th>{{__('Name')}}</th>
|
||||
<th>{{__('Code')}}</th>
|
||||
<th>{{__('Stadt')}}</th>
|
||||
<th>{{__('Land')}}</th>
|
||||
<th>{{__('sichtbar')}}</th>
|
||||
<th></th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@foreach($airports as $value)
|
||||
<tr>
|
||||
<td>
|
||||
<button type="button" class="btn icon-btn btn-sm btn-primary" data-toggle="modal" data-target="#modals-default"
|
||||
data-id="{{ $value->id }}"
|
||||
data-name="{{ $value->name }}"
|
||||
data-code="{{ $value->code }}"
|
||||
data-city="{{ $value->city }}"
|
||||
data-country="{{ $value->country }}"
|
||||
data-active="{{ $value->active }}">
|
||||
<span class="fa fa-edit"></span>
|
||||
</button>
|
||||
</td>
|
||||
<td data-sort="{{ $value->id }}">{{ $value->name }}</td>
|
||||
<td data-sort="{{ $value->code }}">{{ $value->code }}</td>
|
||||
<td data-sort="{{ $value->city }}">{{ $value->city }}</td>
|
||||
<td data-sort="{{ $value->country }}">{{ $value->country }}</td>
|
||||
<td data-sort="{{ $value->active }}">{!! \App\Helper\HTMLHelper::getActiveIcon($value->active) !!}</td>
|
||||
<td><a class="text-danger" href="{{ route('admin_settings_airport_delete', [$value->id]) }}" onclick="return confirm('{{__('Wirklich löschen?')}}');"><i class="fa fa-trash-alt"></i></a></td>
|
||||
|
||||
</tr>
|
||||
@endforeach
|
||||
</tbody>
|
||||
</table>
|
||||
<div class="mt-4 col">
|
||||
<button type="button" class="btn btn-sm btn-primary" data-toggle="modal" data-target="#modals-default"
|
||||
data-id="new"
|
||||
data-name=""
|
||||
data-code=""
|
||||
data-city=""
|
||||
data-country=""
|
||||
data-active="1"
|
||||
>Neuen Airport anlegen</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Modal template -->
|
||||
<div class="modal fade" id="modals-default">
|
||||
<div class="modal-dialog">
|
||||
{!! Form::open([ 'url' => route('admin_settings_airport_update'), 'method' => 'post', 'class' => 'modal-content' ]) !!}
|
||||
{{ Form::hidden('id', '') }}
|
||||
<input type="hidden" class="form-control" name="id">
|
||||
|
||||
<div class="modal-header">
|
||||
<h5 class="modal-title">Airport <span class="font-weight-light">anlegen/bearbeiten</span></h5>
|
||||
<button type="button" class="close" data-dismiss="modal" aria-label="Close">×</button>
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
<div class="form-row">
|
||||
<div class="form-group col">
|
||||
<label for="name" class="form-label">Name*</label>
|
||||
{{ Form::text('name', '', array('placeholder'=>__('Name'), 'class'=>'form-control', 'required'=>true)) }}
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-row">
|
||||
<div class="form-group col">
|
||||
<label for="code" class="form-label">Code*</label>
|
||||
{{ Form::text('code', '', array('placeholder'=>__('Code'), 'class'=>'form-control', 'required'=>true)) }}
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-row">
|
||||
<div class="form-group col">
|
||||
<label for="city" class="form-label">Stadt</label>
|
||||
{{ Form::text('city', '', array('placeholder'=>__('Stadt'), 'class'=>'form-control', 'required'=>false)) }}
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-row">
|
||||
<div class="form-group col">
|
||||
<label for="country" class="form-label">Land</label>
|
||||
{{ Form::text('country', '', array('placeholder'=>__('Land'), 'class'=>'form-control', 'required'=>false)) }}
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="custom-control custom-checkbox m-0">
|
||||
{{ Form::checkbox('active', 1, '', array('class'=>'custom-control-input')) }}
|
||||
<span class="custom-control-label">{{__('sichtbar')}}</span>
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
<button type="button" class="btn btn-default" data-dismiss="modal">{{__('close')}}</button>
|
||||
<button type="submit" class="btn btn-primary">{{__('save')}}</button>
|
||||
</div>
|
||||
{!! Form::close() !!}
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<script>
|
||||
$( document ).ready(function() {
|
||||
|
||||
$('#modals-default').on('show.bs.modal', function (event) {
|
||||
var button = $(event.relatedTarget);
|
||||
$(this).find(".modal-content input[name='id']").val(button.data('id'));
|
||||
$(this).find(".modal-body input[name='name']").val(button.data('name'));
|
||||
$(this).find(".modal-body input[name='code']").val(button.data('code'));
|
||||
$(this).find(".modal-body input[name='city']").val(button.data('city'));
|
||||
$(this).find(".modal-body input[name='country']").val(button.data('country'));
|
||||
$(this).find(".modal-body input[name='active']").prop( "checked", button.data('active'));
|
||||
});
|
||||
|
||||
$('.datatables-default').dataTable({
|
||||
"bLengthChange": false,
|
||||
"iDisplayLength": 50,
|
||||
"order": [[ 1, "asc" ]],
|
||||
"language": {
|
||||
"url": "/js/German.json"
|
||||
}
|
||||
});
|
||||
});
|
||||
</script>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
@endsection
|
||||
|
|
@ -54,7 +54,7 @@
|
|||
|
||||
@endif
|
||||
</td>
|
||||
<td data-sort="{{ $value->active }}">{!! \App\Services\HTMLHelper::getActiveIcon($value->active) !!}</td>
|
||||
<td data-sort="{{ $value->active }}">{!! \App\Helper\HTMLHelper::getActiveIcon($value->active) !!}</td>
|
||||
<td><a class="text-danger" href="{{ route('admin_settings_emails_delete', [$value->id]) }}" onclick="return confirm('{{__('Wirklich löschen?')}}');"><i class="fa fa-trash-alt"></i></a></td>
|
||||
</tr>
|
||||
@endforeach
|
||||
|
|
|
|||
|
|
@ -49,6 +49,10 @@
|
|||
<button class="ql-blockquote"></button>
|
||||
<button class="ql-code-block"></button>
|
||||
</span>
|
||||
<span class="ql-formats">
|
||||
<select class="ql-color"></select>
|
||||
<select class="ql-background"></select>
|
||||
</span>
|
||||
<span class="ql-formats">
|
||||
<button class="ql-list" value="ordered"></button>
|
||||
<button class="ql-list" value="bullet"></button>
|
||||
|
|
|
|||
|
|
@ -32,7 +32,7 @@
|
|||
</td>
|
||||
<td>{{ $value->name }}</td>
|
||||
<td>{!! \App\Services\Util::_implodeLines($value->contact_emails, "<br>") !!}</td>
|
||||
<td data-sort="{{ $value->active }}">{!! \App\Services\HTMLHelper::getActiveIcon($value->active) !!}</td>
|
||||
<td data-sort="{{ $value->active }}">{!! \App\Helper\HTMLHelper::getActiveIcon($value->active) !!}</td>
|
||||
<td><a class="text-danger" href="{{ route('admin_settings_insurance_delete', [$value->id]) }}" onclick="return confirm('{{__('Wirklich löschen?')}}');"><i class="fa fa-trash-alt"></i></a></td>
|
||||
</tr>
|
||||
@endforeach
|
||||
|
|
|
|||
|
|
@ -30,7 +30,7 @@
|
|||
<td>{{ $value->name }}</td>
|
||||
<td>{!! \App\Services\Util::_implodeLines($value->contact_emails, "<br>") !!}</td>
|
||||
<td data-sort="{{ $value->type }}">{{$value->type}}</td>
|
||||
<td data-sort="{{ $value->active }}">{!! \App\Services\HTMLHelper::getActiveIcon($value->active) !!}</td>
|
||||
<td data-sort="{{ $value->active }}">{!! \App\Helper\HTMLHelper::getActiveIcon($value->active) !!}</td>
|
||||
<td><a class="text-danger" href="{{ route('admin_settings_service_provider_delete', [$value->id]) }}" onclick="return confirm('{{__('Wirklich löschen?')}}');"><i class="fa fa-trash-alt"></i></a></td>
|
||||
</tr>
|
||||
@endforeach
|
||||
|
|
|
|||
|
|
@ -33,7 +33,7 @@
|
|||
</td>
|
||||
<td data-sort="{{ $value->id }}">{{ $value->name }}</td>
|
||||
<td>{{ $value->travel_country->name }}</td>
|
||||
<td data-sort="{{ $value->active }}">{!! \App\Services\HTMLHelper::getActiveIcon($value->active) !!}</td>
|
||||
<td data-sort="{{ $value->active }}">{!! \App\Helper\HTMLHelper::getActiveIcon($value->active) !!}</td>
|
||||
<td><a class="text-danger" href="{{ route('admin_settings_travel_program_delete', [$value->id]) }}" onclick="return confirm('{{__('Wirklich löschen?')}}');"><i class="fa fa-trash-alt"></i></a></td>
|
||||
</tr>
|
||||
@endforeach
|
||||
|
|
|
|||
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Add a link
Reference in a new issue