Update Framework, Invoices
This commit is contained in:
parent
cc5c147c27
commit
9b0b5feb7e
174 changed files with 28356 additions and 8093 deletions
|
|
@ -41,12 +41,8 @@
|
|||
@else
|
||||
| <span class="badge badge-pill badge-danger"><i class="fa fa-times"></i></span>
|
||||
@endif
|
||||
|
||||
| <span class="small">{{ $product_category->product->getShowAtType() }}</span>
|
||||
|
||||
|
||||
| <span class="small">{!! implode($product_category->product->getShowOnTypes(), ' / ') !!}</span>
|
||||
| <a href="{{ route('admin_product_edit', [$product_category->product->id]) }}" class="btn btn-xs btn-secondary"><i class="fa fa-eye"></i></a>
|
||||
|
||||
@else
|
||||
-
|
||||
@endif
|
||||
|
|
|
|||
|
|
@ -23,10 +23,11 @@
|
|||
<th>{{__('Level')}}</th>
|
||||
<th>{{__('Mitglied')}}</th>
|
||||
<th>{{__('bis')}}</th>
|
||||
<th>{{__('Onlineshop')}}</th>
|
||||
<th>{{__('Shop')}}</th>
|
||||
<th>{{__('bis')}}</th>
|
||||
<th>{{__('Umsatz')}}</th>
|
||||
<th>{{__('Sales')}}</th>
|
||||
<th>{{__('Domain')}}</th>
|
||||
{{-- <th>{{__('Umsatz')}}</th>
|
||||
<th>{{__('Sales')}}</th> --}}
|
||||
<th>{{__('verifiziert')}}</th>
|
||||
<th>{{__('freigegeben')}}</th>
|
||||
<th>{{__('Einv.')}}</th>
|
||||
|
|
@ -61,8 +62,7 @@
|
|||
{ data: 'payment_account_date', name: 'payment_account_date' },
|
||||
{ data: 'payment_shop', name: 'payment_shop' },
|
||||
{ data: 'payment_shop_date', name: 'payment_shop_date' },
|
||||
{ data: 'turnover', name: 'turnover' },
|
||||
{ data: 'sales_total', name: 'sales_total' },
|
||||
{ data: 'shop_domain', name: 'shop_domain', orderable: false },
|
||||
{ data: 'confirmed', name: 'confirmed' },
|
||||
{ data: 'active', name: 'active' },
|
||||
{ data: 'agreement', name: 'agreement' },
|
||||
|
|
|
|||
|
|
@ -99,7 +99,9 @@
|
|||
@if($current->shopping_order && $current->shopping_order->user_shop)
|
||||
<span class="text-muted">#{{$current->shopping_order->user_shop->user->number}}</span><br>
|
||||
{{$current->shopping_order->user_shop->user->getFullName()}}<br>
|
||||
{{$current->shopping_order->user_shop->user->account->zipcode}} {{$current->shopping_order->user_shop->user->account->city}}<br>
|
||||
@if(isset($current->shopping_order->user_shop->user->account->zipcode)){{$current->shopping_order->user_shop->user->account->zipcode}} @endif
|
||||
@if(isset($current->shopping_order->user_shop->user->account->city)){{$current->shopping_order->user_shop->user->account->city}} @endif
|
||||
<br>
|
||||
@if($current->shopping_order->user_shop)
|
||||
@if($current->shopping_order->user_shop->user->isActive() && $current->shopping_order->user_shop->user->isActiveShop())
|
||||
<a href="{{$current->shopping_order->user_shop->getSubdomain(false)}}" class="badge badge-success" target="_blank">{{$current->shopping_order->user_shop->getSubdomain(false)}}</a>
|
||||
|
|
@ -186,7 +188,8 @@
|
|||
@if($possible->member_id)
|
||||
<span class="text-muted">#{{$possible->member->number}}</span><br>
|
||||
{{$possible->member->getFullName()}}<br>
|
||||
{{$possible->member->account->zipcode}} {{$possible->member->account->city}}<br>
|
||||
@if(isset($possible->member->account->zipcode)){{$possible->member->account->zipcode}} @endif
|
||||
@if(isset($possible->member->account->city)){{$possible->member->account->city}} @endif <br>
|
||||
@if($possible->member->shop)
|
||||
@if($possible->member->isActive() && $possible->member->isActiveShop())
|
||||
<a href="{{$possible->member->shop->getSubdomain(false)}}" class="badge badge-success" target="_blank">{{$possible->member->shop->getSubdomain(false)}}</a>
|
||||
|
|
|
|||
103
resources/views/admin/payment/invoice.blade.php
Normal file
103
resources/views/admin/payment/invoice.blade.php
Normal file
|
|
@ -0,0 +1,103 @@
|
|||
@extends('layouts.layout-2')
|
||||
|
||||
@section('content')
|
||||
<div class="card">
|
||||
<h6 class="card-header">
|
||||
Finanzen / Rechnungen
|
||||
</h6>
|
||||
|
||||
|
||||
<div class="card-body p-0">
|
||||
{!! Form::open(['url' => route('admin_payments_invoice'), 'class' => 'form-horizontal', 'id'=>'form_filter_payment_invoices']) !!}
|
||||
|
||||
<div class="form-row align-items-center px-4 pb-2 pt-3">
|
||||
<div class="col-12 col-sm-4 col-md-4 col-lg-4 mb-1">
|
||||
<input class="form-control on_keyup_invoice" name="invoice_filter_name" type="text" value="{{session('invoice_filter_name')}}" placeholder="Name">
|
||||
</div>
|
||||
|
||||
<div class="col-6 col-sm-4 col-md-4 col-lg-4 mb-1">
|
||||
<select class="custom-select on_change_invoice" name="invoice_filter_month">
|
||||
@foreach($filter_months as $key=>$value)
|
||||
<option value="{{$key}}" @if(session('invoice_filter_month') == $key) selected @endif>{{$value}}</option>
|
||||
@endforeach
|
||||
</select>
|
||||
</div>
|
||||
<div class="col-6 col-sm-4 col-md-4 col-lg-4 mb-1">
|
||||
<select class="custom-select on_change_invoice" name="invoice_filter_year">
|
||||
@foreach($filter_years as $key=>$value)
|
||||
<option value="{{$value}}" @if(session('invoice_filter_year') == $value) selected @endif>{{$value}}</option>
|
||||
@endforeach
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
{!! Form::close() !!}
|
||||
|
||||
<div class="card-datatable table-responsive pt-0">
|
||||
<table class="datatables-style table table-striped table-bordered" id="datatable-invoice">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>#</th>
|
||||
<th>{{__('Re.Nr.')}}</th>
|
||||
<th>{{__('Rechnung')}}</th>
|
||||
<th>{{__('Betrag') }}</th>
|
||||
<th>{{__('Status')}}</th>
|
||||
<th>{{__('Vorname')}}</th>
|
||||
<th>{{__('Nachname') }}</th>
|
||||
<th>{{__('E-Mail') }}</th>
|
||||
<th>{{__('Datum') }}</th>
|
||||
<th>{{__('Art')}}</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<script>
|
||||
$( document ).ready(function() {
|
||||
var oTable = $('#datatable-invoice').DataTable({
|
||||
"processing": true,
|
||||
"serverSide": true,
|
||||
"stateSave": true,
|
||||
"searching": false,
|
||||
ajax: {
|
||||
url: '{!! route('admin_payments_invoice_datatable') !!}',
|
||||
data: function(d) {
|
||||
d.invoice_filter_name = $('input[name=invoice_filter_name]').val();
|
||||
d.invoice_filter_month = $('select[name=invoice_filter_month]').val();
|
||||
d.invoice_filter_year = $('select[name=invoice_filter_year]').val();
|
||||
}
|
||||
},
|
||||
"order": [[0, "desc" ]],
|
||||
"columns": [
|
||||
{ data: 'id', searchable: false },
|
||||
{ data: 'full_number', name: 'full_number' },
|
||||
{ data: 'invoice', name: 'invoice', orderable: false, searchable: false },
|
||||
{ data: 'total_shipping', name: 'total_shipping' },
|
||||
{ data: 'txaction', name: 'txaction', searchable: false },
|
||||
{ data: 'shopping_order.shopping_user.billing_firstname', name: 'shopping_order.shopping_user.billing_firstname', orderable: false },
|
||||
{ data: 'shopping_order.shopping_user.billing_lastname', name: 'shopping_order.shopping_user.billing_lastname', orderable: false },
|
||||
{ data: 'shopping_order.shopping_user.billing_email', name: 'shopping_order.shopping_user.billing_email', orderable: false },
|
||||
{ data: 'created_at', name: 'created_at' },
|
||||
{ data: 'status', name: 'status', searchable: false },
|
||||
],
|
||||
"bLengthChange": false,
|
||||
"iDisplayLength": 100,
|
||||
"language": {
|
||||
"url": "/js/German.json"
|
||||
}
|
||||
});
|
||||
$('select.on_change_invoice').on('change', function(){
|
||||
oTable.draw();
|
||||
});
|
||||
|
||||
$('input.on_keyup_invoice').on('keyup', function(){
|
||||
oTable.draw();
|
||||
});
|
||||
});
|
||||
/*$('#filter_sales_year').on('change', function(){
|
||||
$('#form_filter_payment_invoices').submit();
|
||||
});*/
|
||||
</script>
|
||||
@endsection
|
||||
|
|
@ -21,6 +21,7 @@
|
|||
<th>{{__('Artikelnummer')}}</th>
|
||||
<th>{{__('Kategorie')}}</th>
|
||||
<th>{{__('Preis')}}</th>
|
||||
<th>{{__('MwSt')}}</th>
|
||||
<th>{{__('Points')}}</th>
|
||||
<th>{{__('Inhalt')}}</th>
|
||||
<th>{{__('Einheit')}}</th>
|
||||
|
|
@ -55,6 +56,7 @@
|
|||
@endforeach
|
||||
</td>
|
||||
<td>{{ $value->getFormattedPrice() }}</td>
|
||||
<td>{{ $value->getFormattedTax() }}</td>
|
||||
<td>{{ $value->points }}</td>
|
||||
<td>{{ $value->contents_total }}</td>
|
||||
<td>{{ $value->getUnitType() }}</td>
|
||||
|
|
|
|||
|
|
@ -3,13 +3,13 @@
|
|||
<!-- Status -->
|
||||
<div class="card-body">
|
||||
<div class="row">
|
||||
<div class="col-md-6 mb-1">
|
||||
<div class="col-md-3 mb-1">
|
||||
<strong class="mr-2">Status:</strong>
|
||||
<span class="text-big">
|
||||
{!! \App\Services\Payment::getShoppingOrderBadge($shopping_order); !!}
|
||||
</span>
|
||||
</div>
|
||||
<div class="col-md-6 mb-1">
|
||||
<div class="col-md-3 mb-1">
|
||||
<strong class="mr-2">Versand:</strong>
|
||||
|
||||
@if($isAdmin)
|
||||
|
|
@ -26,6 +26,54 @@
|
|||
</span>
|
||||
@endif
|
||||
</div>
|
||||
<div class="col-md-3 mb-1">
|
||||
<strong class="mr-2">Rechnung:</strong>
|
||||
@if($isAdmin)
|
||||
@if($shopping_order->isInvoice())
|
||||
<a href="{{ route('storage_file', [$shopping_order->id, 'invoice', 'download']) }}" class="btn btn-primary btn-sm"><i class="fa fa-download"></i></a>
|
||||
<a href="{{ route('storage_file', [$shopping_order->id, 'invoice', 'stream']) }}" target="_blank" class="btn btn-warning btn-sm"><i class="fa fa-eye"></i></a>
|
||||
@if(Auth::user()->isSySAdmin())
|
||||
<button type="button" class="btn btn-sm btn-info" data-toggle="modal" data-target="#modals-invoice"
|
||||
data-id="{{ $shopping_order->id }}"
|
||||
//TODO
|
||||
//data-invoice="{{ $shopping_order->invoice_status }}"
|
||||
data-back="{{url()->current()}}"
|
||||
data-action="create_invoice">
|
||||
<span class="fa fa-file"></span>
|
||||
</button>
|
||||
@endif
|
||||
@else
|
||||
{{--
|
||||
<button type="button" class="btn btn-sm btn-primary" data-toggle="modal" data-target="#modals-invoice"
|
||||
data-id="{{ $shopping_order->id }}"
|
||||
//TODO
|
||||
// data-invoice="{{ $shopping_order->invoice_status }}"
|
||||
data-back="{{url()->current()}}"
|
||||
data-action="create_invoice">
|
||||
<span class="fa fa-file"></span> <strong>Rechnung erstellen</strong>
|
||||
</button>
|
||||
--}}
|
||||
@endif
|
||||
@else
|
||||
@if($shopping_order->isInvoice())
|
||||
<a href="{{ route('storage_file', [$shopping_order->id, 'invoice', 'download']) }}" class="btn btn-primary btn-sm"><i class="fa fa-download"></i></a>
|
||||
<a href="{{ route('storage_file', [$shopping_order->id, 'invoice', 'stream']) }}" target="_blank" class="btn btn-warning btn-sm"><i class="fa fa-eye"></i></a>
|
||||
@endif
|
||||
@endif
|
||||
@if($shopping_order->txaction === 'extern' && $shopping_order->wp_invoice_path)
|
||||
<a href="{{$shopping_order->wp_invoice_path}}" class="btn btn-secondary btn-sm"><i class="fa fa-external-link-alt"></i> <i class="fa fa-download"></i></a>
|
||||
@endif
|
||||
</div>
|
||||
<div class="col-md-3 mb-1">
|
||||
|
||||
@if($isAdmin)
|
||||
<strong class="mr-2">Lieferschein:</strong>
|
||||
@if($shopping_order->isInvoice())
|
||||
<a href="{{ route('storage_file', [$shopping_order->id, 'delivery', 'download']) }}" class="btn btn-primary btn-sm"><i class="fa fa-download"></i></a>
|
||||
<a href="{{ route('storage_file', [$shopping_order->id, 'delivery', 'stream']) }}" target="_blank" class="btn btn-warning btn-sm"><i class="fa fa-eye"></i></a>
|
||||
@endif
|
||||
@endif
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
|
@ -368,15 +416,14 @@
|
|||
{{__('email.checkout_mail_shipping')}}
|
||||
</td>
|
||||
<td style="color:#37302d; text-align: right; vertical-align: top;line-height:1.6em;">
|
||||
@if($shopping_order->shopping_user->is_from === 'user_order')
|
||||
{{ $shopping_order->getFormattedShippingNet() }} €
|
||||
@if($shopping_order->tax > 0)
|
||||
{{ $shopping_order->getFormattedShipping() }} €
|
||||
@else
|
||||
{{ $shopping_order->getFormattedShipping() }} €
|
||||
{{ $shopping_order->getFormattedShippingNet() }} €
|
||||
@endif
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
||||
<td colspan="3">
|
||||
{{__('email.checkout_mail_subtotal_ws')}}
|
||||
</td>
|
||||
|
|
@ -512,7 +559,7 @@
|
|||
@if($shopping_order->wp_invoice_path)
|
||||
<div class="row">
|
||||
<div class="col-sm-12">
|
||||
<a href="{{$shopping_order->wp_invoice_path}}" target="_blank" class="btn btn-secondary btn-sm">Link zur Rechnung</a>
|
||||
<a href="{{$shopping_order->wp_invoice_path}}" target="_blank" class="btn btn-secondary btn-sm"><i class="fa fa-external-link-alt"></i> Link zur Rechnung</a>
|
||||
</div>
|
||||
</div>
|
||||
@endif
|
||||
|
|
@ -623,7 +670,6 @@
|
|||
</div>
|
||||
|
||||
@if($isAdmin)
|
||||
<!-- Modal template -->
|
||||
<div class="modal fade" id="modals-shipped">
|
||||
<div class="modal-dialog">
|
||||
<form class="modal-content" action="{{ route('admin_sales_store') }}" method="post">
|
||||
|
|
@ -651,8 +697,46 @@
|
|||
</div>
|
||||
</div>
|
||||
|
||||
<div class="modal fade" id="modals-invoice">
|
||||
<div class="modal-dialog">
|
||||
<form class="modal-content form-prevent-multiple-submits" action="{{ route('admin_sales_invoice') }}" method="post">
|
||||
@csrf
|
||||
<input type="hidden" name="id" value="{{$shopping_order->id}}">
|
||||
<input type="hidden" name="action" value="create_invoice">
|
||||
<input type="hidden" name="back" value="{{url()->current()}}">
|
||||
<input type="hidden" name="view" value="{{$isView}}">
|
||||
<div class="modal-header">
|
||||
<h5 class="modal-title">{{__('Rechnung')}}</h5>
|
||||
<button type="button" class="close" data-dismiss="modal" aria-label="Close">×</button>
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
<div class="form-group col-sm-12">
|
||||
{{ Form::select('invoice_option', ['create'=>'Rechnung erstellen'], false, array('data-live-search'=>'false', 'class'=>'selectpicker') ) }}
|
||||
</div>
|
||||
<div class="form-group col-sm-12">
|
||||
<label class="form-label" for="invoice_date">{{ __('Rechnungsdatum') }}</label>
|
||||
{!! Form::text('invoice_date', $shopping_order->created_at->format("d.m.Y"), ['class'=>'form-control datepicker-base']) !!}
|
||||
</div>
|
||||
<div class="form-group col-sm-12">
|
||||
<label class="form-label" for="invoice_number">{{ __('Rechnungsnummer') }}</label>
|
||||
{!! Form::text('invoice_number', App\Services\Invoice::getInvoiceNumber(), ['class'=>'form-control', 'disabled']) !!}
|
||||
<em> nächste Rechnungsnummer <a href="{{ route('admin_settings') }}"><i class="fa fa-edit"></i></a></em>
|
||||
</div>
|
||||
<div class="form-group col-sm-12">
|
||||
<label class="custom-control custom-checkbox">
|
||||
{!! Form::checkbox('invoice_send_mail', 1, false, ['class'=>'custom-control-input']) !!}
|
||||
<span class="custom-control-label">Rechnung <strong>nicht</strong> senden an: {{ $shopping_order->shopping_user->billing_email }}</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 button-prevent-multiple-submits"><i class="spinner fa fa-spinner fa-spin"></i> {{__('save')}}</button>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Modal template -->
|
||||
<div class="modal fade" id="modals-txaction">
|
||||
<div class="modal-dialog">
|
||||
<form class="modal-content" action="{{ route('admin_sales_store') }}" method="post">
|
||||
|
|
@ -661,7 +745,6 @@
|
|||
<input type="hidden" name="payment_id">
|
||||
<input type="hidden" name="action" value="store_txaction">
|
||||
<input type="hidden" name="back" value="{{url()->current()}}">
|
||||
|
||||
<div class="modal-header">
|
||||
<h5 class="modal-title">{{__('Bestellung')}} {{__('Rechnung')}} </h5>
|
||||
<button type="button" class="close" data-dismiss="modal" aria-label="Close">×</button>
|
||||
|
|
|
|||
|
|
@ -9,8 +9,8 @@
|
|||
<th>{{__('Marge')}}</th>
|
||||
<th class="text-right">{{__('Points')}}</th>
|
||||
<th class="text-right">{{__('Verdienst')}}</th>
|
||||
<th class="text-right">{{__('EK-Preis')}}</th>
|
||||
<th class="text-right">{{__('VK-Preis')}}</th>
|
||||
<th class="text-right">{{__('EK-Preis')}}</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
|
|
@ -61,7 +61,7 @@
|
|||
Lieferung an Gastgeber
|
||||
@endif
|
||||
@if($homeparty_guest->getDelivery() === 'direct')
|
||||
Lieferung direkt an den Gast
|
||||
Lieferung direkt an den Gast
|
||||
@endif
|
||||
</td>
|
||||
</tr>
|
||||
|
|
@ -121,7 +121,6 @@
|
|||
<td class="border-top text-right"><strong>{{Util::formatNumber($user_cart['ek_price'])}} €</strong></td>
|
||||
|
||||
</tr>
|
||||
|
||||
@endif
|
||||
</tfoot>
|
||||
</table>
|
||||
|
|
@ -130,7 +129,6 @@
|
|||
@if($homeparty_guest->is_host || $homeparty_guest->getDelivery() === 'direct')
|
||||
|
||||
<hr class="m-0">
|
||||
|
||||
<div class="card-body" style="background-color: #E5E9EF">
|
||||
<h6 class="small font-weight-semibold">
|
||||
Lieferadresse
|
||||
|
|
|
|||
|
|
@ -54,11 +54,13 @@
|
|||
<th>{{__('Zahlung')}}</th>
|
||||
<th>{{__('Status')}}</th>
|
||||
<th>{{__('Versand')}}</th>
|
||||
<th>{{__('Rechnung')}}</th>
|
||||
<th>{{__('First name')}}</th>
|
||||
<th>{{__('Last name')}}</th>
|
||||
<th>{{__('E-Mail')}}</th>
|
||||
<th>{{__('zugewiesener Berater')}}</th>
|
||||
<th>{{__('Rf-Nr.')}}</th>
|
||||
<th>{{__('Art')}}</th>
|
||||
<th>{{__('Käufe')}}</th>
|
||||
<th>{{__('Gekauft im Shop')}}</th>
|
||||
</tr>
|
||||
|
|
@ -87,11 +89,13 @@
|
|||
{ data: 'payment', name: 'payment', orderable: false },
|
||||
{ data: 'txaction', name: 'txaction' },
|
||||
{ data: 'shipped', name: 'shipped' },
|
||||
{ data: 'invoice', name: 'invoice', orderable: false },
|
||||
{ data: 'shopping_user.billing_firstname', name: 'shopping_user.billing_firstname' },
|
||||
{ data: 'shopping_user.billing_lastname', name: 'shopping_user.billing_lastname' },
|
||||
{ data: 'shopping_user.billing_email', name: 'shopping_user.billing_email' },
|
||||
{ data: 'member_id', name: 'member_id', searchable: false, orderable: false },
|
||||
{ data: 'reference', name: 'reference' },
|
||||
{ data: 'payment_for', name: 'payment_for' },
|
||||
{ data: 'shopping_user.orders', name: 'shopping_user.orders' },
|
||||
{ data: 'user_shop_id', name: 'user_shop_id', searchable: false, orderable: true },
|
||||
],
|
||||
|
|
|
|||
|
|
@ -21,13 +21,13 @@
|
|||
<th>{{__('Status')}}</th>
|
||||
<th>{{__('Versand')}}</th>
|
||||
<th>{{__('Art')}}</th>
|
||||
<th>{{__('Rechnung')}}</th>
|
||||
<th>{{__('First name')}}</th>
|
||||
<th>{{__('Last name')}}</th>
|
||||
<th>{{__('E-Mail')}}</th>
|
||||
<th>B.{{__('First name')}}</th>
|
||||
<th>B.{{__('Last name')}}</th>
|
||||
<th>B.{{__('E-Mail')}}</th>
|
||||
|
||||
<th>{{__('Rf-Nr.')}}</th>
|
||||
<th>{{__('Käufe')}}</th>
|
||||
<th>{{__('Berater-Shop')}}</th>
|
||||
|
|
@ -50,7 +50,8 @@
|
|||
{ data: 'payment', name: 'payment', orderable: false },
|
||||
{ data: 'txaction', name: 'txaction' },
|
||||
{ data: 'shipped', name: 'shipped' },
|
||||
{ data: 'is_for', name: 'is_for', orderable: false },
|
||||
{ data: 'payment_for', name: 'payment_for' },
|
||||
{ data: 'invoice', name: 'invoice', orderable: false },
|
||||
{ data: 'shopping_user.shipping_firstname', name: 'shopping_user.shipping_firstname', orderable: false },
|
||||
{ data: 'shopping_user.shipping_lastname', name: 'shopping_user.shipping_lastname', orderable: false },
|
||||
{ data: 'shopping_user.shipping_email', name: 'shopping_user.shipping_email', orderable: false },
|
||||
|
|
|
|||
33
resources/views/admin/settings/index.blade.php
Executable file
33
resources/views/admin/settings/index.blade.php
Executable file
|
|
@ -0,0 +1,33 @@
|
|||
@extends('layouts.layout-2')
|
||||
|
||||
@section('content')
|
||||
<h4 class="font-weight-bold py-2 mb-2">
|
||||
{{ __('Einstellungen') }}
|
||||
</h4>
|
||||
{!! Form::open(['url' => route('admin_setting_store'), 'class' => 'form-horizontal']) !!}
|
||||
|
||||
{{-- <div class="card mb-2">
|
||||
<div class="card-body">
|
||||
<h4>Rechnungen Einstellungen</h4>
|
||||
<div class="form-row">
|
||||
<div class="form-group col-sm-12">
|
||||
<label class="form-label">{{ __('nächste Rechnungsnummer') }}*</label>
|
||||
{{ Form::text('settings[invoice-number][val]', \App\Models\Setting::getContentBySlug('invoice-number'), array('class'=>'form-control')) }}
|
||||
{{ Form::hidden('settings[invoice-number][type]', 'int') }}
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-row">
|
||||
<div class="form-group col-sm-12">
|
||||
<label class="form-label">{{ __('nächste Gutschriftsnummer') }}*</label>
|
||||
{{ Form::text('settings[credit-number][val]', \App\Models\Setting::getContentBySlug('credit-number'), array('class'=>'form-control')) }}
|
||||
{{ Form::hidden('settings[credit-number][type]', 'int') }}
|
||||
</div>
|
||||
</div>
|
||||
<button type="submit" name="action" value="save_prepayment" class="btn btn-primary btn-sm mb-2"><i class="ion ion-ios-save"></i> speichern</button>
|
||||
</div>
|
||||
</div>
|
||||
--}}
|
||||
|
||||
{!! Form::close() !!}
|
||||
|
||||
@endsection
|
||||
162
resources/views/emails/_blank.blade.php
Normal file
162
resources/views/emails/_blank.blade.php
Normal file
|
|
@ -0,0 +1,162 @@
|
|||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
||||
<title>mivita.care</title>
|
||||
|
||||
<style type="text/css">
|
||||
img {
|
||||
max-width: 600px;
|
||||
outline: none;
|
||||
text-decoration: none;
|
||||
-ms-interpolation-mode: bicubic;
|
||||
}
|
||||
|
||||
a {
|
||||
text-decoration: none;
|
||||
border: 0;
|
||||
outline: none;
|
||||
color: #919f7a;
|
||||
}
|
||||
a:hover {
|
||||
color: #b6b600;
|
||||
}
|
||||
a img {
|
||||
border: none;
|
||||
}
|
||||
|
||||
td, h1, h2, h3 {
|
||||
font-family: Helvetica, Verdana, Arial, sans-serif;
|
||||
font-weight: 400;
|
||||
}
|
||||
|
||||
td {
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
body {
|
||||
-webkit-font-smoothing: antialiased;
|
||||
-webkit-text-size-adjust: none;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
color: #37302d;
|
||||
background: #ffffff;
|
||||
font-size: 15px;
|
||||
line-height: 26px
|
||||
}
|
||||
|
||||
table {
|
||||
border-collapse: separate !important;
|
||||
}
|
||||
|
||||
.headline {
|
||||
color: #37302d;
|
||||
font-size: 18px;
|
||||
}
|
||||
|
||||
.sub_headline {
|
||||
color: #788662;
|
||||
font-size: 15px;
|
||||
}
|
||||
|
||||
.force-full-width {
|
||||
width: 100% !important;
|
||||
}
|
||||
|
||||
hr {
|
||||
border: none;
|
||||
border-top: 1px solid #b7c59e;
|
||||
}
|
||||
|
||||
</style>
|
||||
<style type="text/css" media="screen">
|
||||
@media screen {
|
||||
td, h1, h2, h3 {
|
||||
font-family: Helvetica, Verdana, Arial, sans-serif;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
<style type="text/css" media="only screen and (max-width: 480px)">
|
||||
@media only screen and (max-width: 480px) {
|
||||
|
||||
table[class="w320"] {
|
||||
width: 320px !important;
|
||||
}
|
||||
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body class="body" style="padding:0; margin:0; display:block; background:#f8f8f8; -webkit-text-size-adjust:none" bgcolor="#f8f8f8">
|
||||
|
||||
<table align="left" cellpadding="0" cellspacing="0" width="100%" height="100%">
|
||||
<tr>
|
||||
<td align="left" valign="top" bgcolor="#f8f8f8" width="100%">
|
||||
<br>
|
||||
<table style="margin: 0 auto;" cellpadding="0" cellspacing="0" width="700" class="w320">
|
||||
<tr>
|
||||
<td align="left" valign="top">
|
||||
<table style="margin: 0 auto;" cellpadding="0" cellspacing="0" width="100%">
|
||||
<tr>
|
||||
<td style=" text-align:center;">
|
||||
<center>
|
||||
<table width="100%" cellpadding="0" cellspacing="0" border="0" class="">
|
||||
<tbody class="">
|
||||
<tr class="">
|
||||
<td align="center" valign="middle" style="font-size: 0px;" class="">
|
||||
<center>
|
||||
<picture style="text-align: center">
|
||||
<img src="https://my.mivita.care/images/logo_mivita.png" alt="mivita.care" style="border:none" width="230">
|
||||
</picture>
|
||||
</center>
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><br></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</center>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table cellpadding="10" style="padding: 10px;" cellspacing="0" border="0" width="100%" bgcolor="#ffffff">
|
||||
|
||||
|
||||
</table>
|
||||
<center>
|
||||
<table cellpadding="0" cellspacing="0" class="force-full-width"
|
||||
bgcolor="#f8f8f8" style="margin: 0 auto; text-align: center;line-height:1.6em;">
|
||||
<tr>
|
||||
<td style="color:#7B7B7E; font-size:14px; text-align: center;line-height:1.6em;" align="center">
|
||||
<p>
|
||||
{{__('email.footer_copy1')}}
|
||||
</p>
|
||||
<br>
|
||||
<a href="https://www.mivita.care" style="color: #7B7B7E; text-decoration: underline;">www.mivita.care</a>
|
||||
<br>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="color:#bbbbbb; font-size:12px; text-align: center;line-height:1.6em;" align="center">
|
||||
<p>{{__('email.footer_copy2')}}</p>
|
||||
<a href="https://www.mivita.care/datenschutz">Datenschutzerklärung</a> <br>
|
||||
<p>{{__('email.footer_copy3')}}</p>
|
||||
<br>
|
||||
<br>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</center>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
223
resources/views/emails/blank.blade.php
Normal file
223
resources/views/emails/blank.blade.php
Normal file
|
|
@ -0,0 +1,223 @@
|
|||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
||||
<title>mivita.care</title>
|
||||
|
||||
<style type="text/css">
|
||||
img {
|
||||
max-width: 600px;
|
||||
outline: none;
|
||||
text-decoration: none;
|
||||
-ms-interpolation-mode: bicubic;
|
||||
}
|
||||
|
||||
a {
|
||||
text-decoration: none;
|
||||
border: 0;
|
||||
outline: none;
|
||||
color: #919f7a;
|
||||
}
|
||||
a:hover {
|
||||
color: #b6b600;
|
||||
}
|
||||
a img {
|
||||
border: none;
|
||||
}
|
||||
|
||||
td, h1, h2, h3 {
|
||||
font-family: Helvetica, Verdana, Arial, sans-serif;
|
||||
font-weight: 400;
|
||||
}
|
||||
|
||||
td {
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
body {
|
||||
-webkit-font-smoothing: antialiased;
|
||||
-webkit-text-size-adjust: none;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
color: #37302d;
|
||||
background: #ffffff;
|
||||
font-size: 15px;
|
||||
line-height: 26px
|
||||
}
|
||||
|
||||
table {
|
||||
border-collapse: separate !important;
|
||||
}
|
||||
|
||||
.headline {
|
||||
color: #37302d;
|
||||
font-size: 18px;
|
||||
}
|
||||
|
||||
.sub_headline {
|
||||
color: #788662;
|
||||
font-size: 15px;
|
||||
}
|
||||
|
||||
.force-full-width {
|
||||
width: 100% !important;
|
||||
}
|
||||
|
||||
hr {
|
||||
border: none;
|
||||
border-top: 1px solid #b7c59e;
|
||||
}
|
||||
|
||||
</style>
|
||||
<style type="text/css" media="screen">
|
||||
@media screen {
|
||||
td, h1, h2, h3 {
|
||||
font-family: Helvetica, Verdana, Arial, sans-serif;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
<style type="text/css" media="only screen and (max-width: 480px)">
|
||||
@media only screen and (max-width: 480px) {
|
||||
|
||||
table[class="w320"] {
|
||||
width: 320px !important;
|
||||
}
|
||||
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body class="body" style="padding:0; margin:0; display:block; background:#f8f8f8; -webkit-text-size-adjust:none" bgcolor="#f8f8f8">
|
||||
@if(isset($copy1line))
|
||||
<div style="display: none; mso-hide: all; width: 0px; height: 0px; max-width: 0px; max-height: 0px; font-size: 0px; line-height: 0px;">
|
||||
{{ $copy1line }}
|
||||
</div>
|
||||
@endif
|
||||
<table align="left" cellpadding="0" cellspacing="0" width="100%" height="100%">
|
||||
<tr>
|
||||
<td align="left" valign="top" bgcolor="#f8f8f8" width="100%">
|
||||
<br>
|
||||
<table style="margin: 0 auto;" cellpadding="0" cellspacing="0" width="700" class="w320">
|
||||
<tr>
|
||||
<td align="left" valign="top">
|
||||
<table style="margin: 0 auto;" cellpadding="0" cellspacing="0" width="100%">
|
||||
<tr>
|
||||
<td style=" text-align:center;">
|
||||
<center>
|
||||
<table width="100%" cellpadding="0" cellspacing="0" border="0" class="">
|
||||
<tbody class="">
|
||||
<tr class="">
|
||||
<td align="center" valign="middle" style="font-size: 0px;" class="">
|
||||
<center>
|
||||
<picture style="text-align: center">
|
||||
<img src="https://my.mivita.care/images/logo_mivita.png" alt="mivita.care" style="border:none" width="230">
|
||||
</picture>
|
||||
</center>
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><br></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</center>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table cellpadding="10" style="padding: 10px;" cellspacing="0" border="0" width="100%" bgcolor="#ffffff">
|
||||
@if(isset($title))
|
||||
<tr>
|
||||
<td class="headline">
|
||||
<b>{{ $title }} </b>
|
||||
</td>
|
||||
</tr>
|
||||
@endif
|
||||
@if(isset($copy1line))
|
||||
<tr>
|
||||
<td style="color:#37302d;line-height:1.6em;">
|
||||
{!! nl2br($copy1line) !!}
|
||||
</td>
|
||||
</tr>
|
||||
@endif
|
||||
@if(isset($url))
|
||||
<tr>
|
||||
<td>
|
||||
<center>
|
||||
<table role="presentation" cellpadding="0" cellspacing="0" width="100%" border="0">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td style="word-wrap:break-word;background:transparent;font-size:0px;padding:10px 25px;padding-top:15px;padding-bottom:15px;padding-right:40px;padding-left:40px;" align="center" valign="top" background="data:image/gif;base64,">
|
||||
<table role="presentation" cellpadding="0" cellspacing="0" align="center" border="0">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td style="border:none;border-radius:20px;color:#ffffff;cursor:auto;padding:15px 25px;" align="center" valign="middle" bgcolor="#b5c49b">
|
||||
<p style="text-decoration:none;background:#b5c49b;color:#ffffff;font-family:Arial, sans-serif;font-size:13px;font-weight:normal;line-height:120%;text-transform:none;margin:0px;text-align: center">
|
||||
<a href="{{ $url }}" style="color:#ffffff;font-size:14px;font-weight:bold;text-align:center;text-decoration:none;-webkit-text-size-adjust:none;">{{ $button }}</a>
|
||||
</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="color:#37302d;text-align: center">
|
||||
<span style="color: #cabda9; font-weight: normal; font-size: 13px; text-decoration: underline; word-wrap: break-word;white-space: pre-line;">{{ $url }}</span>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</center>
|
||||
</td>
|
||||
<tr>
|
||||
@endif
|
||||
@if(isset($content))
|
||||
<tr>
|
||||
<td>
|
||||
<table style="padding: 20px; border:1px solid #eee; background-color: #f6fdf5;line-height:1.6em;" cellpadding="2" cellspacing="0" width="100%">
|
||||
<tr>
|
||||
<td>
|
||||
{!! nl2br($content) !!}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
@endif
|
||||
</table>
|
||||
<center>
|
||||
<table cellpadding="0" cellspacing="0" class="force-full-width"
|
||||
bgcolor="#f8f8f8" style="margin: 0 auto; text-align: center;line-height:1.6em;">
|
||||
<tr>
|
||||
<td style="color:#7B7B7E; font-size:14px; text-align: center;line-height:1.6em;" align="center">
|
||||
<p>
|
||||
{{__('email.footer_copy1')}}
|
||||
</p>
|
||||
<br>
|
||||
<a href="https://www.mivita.care" style="color: #7B7B7E; text-decoration: underline;">www.mivita.care</a>
|
||||
<br>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="color:#bbbbbb; font-size:12px; text-align: center;line-height:1.6em;" align="center">
|
||||
<p>{{__('email.footer_copy2')}}</p>
|
||||
<a href="https://www.mivita.care/datenschutz">Datenschutzerklärung</a> <br>
|
||||
<p>{{__('email.footer_copy3')}}</p>
|
||||
<br>
|
||||
<br>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</center>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
|
|
@ -241,10 +241,10 @@
|
|||
{{__('email.checkout_mail_shipping')}}
|
||||
</td>
|
||||
<td style="color:#37302d; text-align: right; vertical-align: top;line-height:1.6em;">
|
||||
@if($shopping_order->shopping_user->is_from === 'user_order')
|
||||
{{ $shopping_order->getFormattedShippingNet() }} €
|
||||
@if($shopping_order->tax > 0)
|
||||
{{ $shopping_order->getFormattedShipping() }} €
|
||||
@else
|
||||
{{ $shopping_order->getFormattedShipping() }} €
|
||||
{{ $shopping_order->getFormattedShippingNet() }} €
|
||||
@endif
|
||||
</td>
|
||||
</tr>
|
||||
|
|
@ -366,22 +366,17 @@
|
|||
@if($shopping_order->shopping_user->billing_company)
|
||||
{{ $shopping_order->shopping_user->billing_company }}<br>
|
||||
@endif
|
||||
|
||||
{{ $shopping_order->shopping_user->billing_firstname }}
|
||||
{{ $shopping_order->shopping_user->billing_lastname }} <br>
|
||||
<br>
|
||||
|
||||
{{ $shopping_order->shopping_user->billing_address }} <br>
|
||||
@if($shopping_order->shopping_user->billing_address_2)
|
||||
{{ $shopping_order->shopping_user->billing_address_2 }}<br>
|
||||
@endif
|
||||
|
||||
{{ $shopping_order->shopping_user->billing_zipcode }}
|
||||
{{ $shopping_order->shopping_user->billing_city }} <br>
|
||||
{{ $shopping_order->shopping_user->billing_country->getLocated() }} <br>
|
||||
|
||||
@if($shopping_order->shopping_user->billing_phone)
|
||||
<br><br> {{ $shopping_order->shopping_user->billing_phone }}<br>
|
||||
<br>{{ $shopping_order->shopping_user->billing_phone }}<br>
|
||||
@endif
|
||||
</td>
|
||||
</tr>
|
||||
|
|
@ -409,27 +404,20 @@
|
|||
@if($shopping_order->shopping_user->same_as_billing)
|
||||
{{__('email.checkout_mail_same_address')}}
|
||||
@else
|
||||
|
||||
@if($shopping_order->shopping_user->shipping_company)
|
||||
{{ $shopping_order->shopping_user->shipping_company }}<br>
|
||||
@endif
|
||||
|
||||
{{ $shopping_order->shopping_user->shipping_firstname }}
|
||||
{{ $shopping_order->shopping_user->shipping_lastname }} <br>
|
||||
<br>
|
||||
|
||||
{{ $shopping_order->shopping_user->shipping_address }} <br>
|
||||
@if($shopping_order->shopping_user->shipping_address_2)
|
||||
{{ $shopping_order->shopping_user->shipping_address_2 }}<br>
|
||||
@endif
|
||||
|
||||
{{ $shopping_order->shopping_user->shipping_zipcode }}
|
||||
{{ $shopping_order->shopping_user->shipping_city }} <br>
|
||||
|
||||
{{ $shopping_order->shopping_user->shipping_country->getLocated() }} <br>
|
||||
|
||||
@if($shopping_order->shopping_user->shipping_phone)
|
||||
<br><br> {{ $shopping_order->shopping_user->shipping_phone }}<br>
|
||||
<br> {{ $shopping_order->shopping_user->shipping_phone }}<br>
|
||||
@endif
|
||||
@endif
|
||||
</td>
|
||||
|
|
|
|||
|
|
@ -287,10 +287,10 @@
|
|||
{{__('email.checkout_mail_shipping')}}
|
||||
</td>
|
||||
<td style="color:#37302d; text-align: right; vertical-align: top;line-height:1.6em;">
|
||||
@if($shopping_order->shopping_user->is_from === 'user_order')
|
||||
{{ $shopping_order->getFormattedShippingNet() }} €
|
||||
@if($shopping_order->tax > 0)
|
||||
{{ $shopping_order->getFormattedShipping() }} €
|
||||
@else
|
||||
{{ $shopping_order->getFormattedShipping() }} €
|
||||
{{ $shopping_order->getFormattedShippingNet() }} €
|
||||
@endif
|
||||
</td>
|
||||
</tr>
|
||||
|
|
@ -348,22 +348,17 @@
|
|||
@if($shopping_order->shopping_user->billing_company)
|
||||
{{ $shopping_order->shopping_user->billing_company }}<br>
|
||||
@endif
|
||||
|
||||
{{ $shopping_order->shopping_user->billing_firstname }}
|
||||
{{ $shopping_order->shopping_user->billing_lastname }} <br>
|
||||
<br>
|
||||
|
||||
{{ $shopping_order->shopping_user->billing_address }} <br>
|
||||
@if($shopping_order->shopping_user->billing_address_2)
|
||||
{{ $shopping_order->shopping_user->billing_address_2 }}<br>
|
||||
@endif
|
||||
|
||||
{{ $shopping_order->shopping_user->billing_zipcode }}
|
||||
{{ $shopping_order->shopping_user->billing_city }} <br>
|
||||
{{ $shopping_order->shopping_user->billing_country->getLocated() }} <br>
|
||||
|
||||
@if($shopping_order->shopping_user->billing_phone)
|
||||
<br><br> {{ $shopping_order->shopping_user->billing_phone }}<br>
|
||||
<br> {{ $shopping_order->shopping_user->billing_phone }}<br>
|
||||
@endif
|
||||
</td>
|
||||
</tr>
|
||||
|
|
@ -400,23 +395,17 @@
|
|||
@if($shopping_order->shopping_user->shipping_company)
|
||||
{{ $shopping_order->shopping_user->shipping_company }}<br>
|
||||
@endif
|
||||
|
||||
{{ $shopping_order->shopping_user->shipping_firstname }}
|
||||
{{ $shopping_order->shopping_user->shipping_lastname }} <br>
|
||||
<br>
|
||||
|
||||
{{ $shopping_order->shopping_user->shipping_address }} <br>
|
||||
@if($shopping_order->shopping_user->shipping_address_2)
|
||||
{{ $shopping_order->shopping_user->shipping_address_2 }}<br>
|
||||
@endif
|
||||
|
||||
{{ $shopping_order->shopping_user->shipping_zipcode }}
|
||||
{{ $shopping_order->shopping_user->shipping_city }} <br>
|
||||
|
||||
{{ $shopping_order->shopping_user->shipping_country->getLocated() }} <br>
|
||||
|
||||
@if($shopping_order->shopping_user->shipping_phone)
|
||||
<br><br> {{ $shopping_order->shopping_user->shipping_phone }}<br>
|
||||
<br>{{ $shopping_order->shopping_user->shipping_phone }}<br>
|
||||
@endif
|
||||
@endif
|
||||
</td>
|
||||
|
|
|
|||
|
|
@ -52,7 +52,7 @@
|
|||
@yield('styles')
|
||||
|
||||
<!-- Application stylesheets -->
|
||||
<link rel="stylesheet" href="{{ mix('/css/application.css') }}?v=1{{ get_file_last_time('js/application.css') }}">
|
||||
<link rel="stylesheet" href="{{ mix('/css/application.css') }}?v=1{{ get_file_last_time('css/application.css') }}">
|
||||
<script src="{{ asset('/js/jquery.min.js') }}"></script>
|
||||
|
||||
<link rel="stylesheet" type="text/css" href="{{ asset('/css/cookieconsent.min.css') }}" />
|
||||
|
|
@ -81,14 +81,7 @@
|
|||
</script>
|
||||
|
||||
<style>
|
||||
.container-fluid {
|
||||
margin-right: 0;
|
||||
margin-left: 0;
|
||||
/*max-width: 1240px; */
|
||||
}
|
||||
.note-toolbar {
|
||||
z-index: auto;
|
||||
}
|
||||
|
||||
</style>
|
||||
|
||||
</head>
|
||||
|
|
|
|||
|
|
@ -131,6 +131,21 @@
|
|||
</ul>
|
||||
</li>
|
||||
|
||||
<li class="sidenav-item @if(Request::is('admin/payments/*')) open @endif">
|
||||
<a href="javascript:void(0)" class="sidenav-link sidenav-toggle">
|
||||
<i class="sidenav-icon ion ion-md-cash"></i>
|
||||
<div>{{ __('navigation.payments') }}</div>
|
||||
</a>
|
||||
<ul class="sidenav-menu">
|
||||
<li class="sidenav-item{{ Request::is('admin/payments/invoice') ? ' active' : '' }}">
|
||||
<a href="{{ route('admin_payments_invoice') }}" class="sidenav-link"><i class="sidenav-icon ion ion-ios-arrow-dropleft-circle"></i><div>{{ __('navigation.invoice') }}</div></a>
|
||||
</li>
|
||||
<li class="sidenav-item{{ Request::is('admin/payments/credit') ? ' active' : '' }}">
|
||||
<a href="{{ route('admin_payments_credit') }}" class="sidenav-link"><i class="sidenav-icon ion ion-ios-arrow-dropright-circle"></i><div>{{ __('navigation.credit') }}</div> <div class="badge badge-danger">x</div></a>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
|
||||
<li class="sidenav-item @if(Request::is('admin/product/*')) open @endif">
|
||||
<a href="javascript:void(0)" class="sidenav-link sidenav-toggle">
|
||||
<i class="sidenav-icon ion ion-md-cube"></i>
|
||||
|
|
@ -164,7 +179,7 @@
|
|||
</ul>
|
||||
</li>
|
||||
|
||||
<li class="sidenav-item{{ Request::is('admin/translate/*') ? ' open' : '' }}">
|
||||
{{-- --}}<li class="sidenav-item{{ Request::is('admin/translate/*') ? ' open' : '' }}">
|
||||
<a href="javascript:void(0)" class="sidenav-link sidenav-toggle">
|
||||
<i class="sidenav-icon ion ion-ios-browsers"></i>
|
||||
<div>{{ __('navigation.translate') }}</div>
|
||||
|
|
@ -198,10 +213,12 @@
|
|||
<li class="sidenav-item{{ Request::is('admin/levels') ? ' active' : '' }} {{ Request::is('admin/level/edit/*') ? ' active' : '' }}">
|
||||
<a href="{{ route('admin_levels') }}" class="sidenav-link"><i class="sidenav-icon ion ion-ios-trending-up"></i><div>{{ __('navigation.career_level') }}</div></a>
|
||||
</li>
|
||||
|
||||
<li class="sidenav-item{{ Request::is('admin/countries') ? ' active' : '' }} {{ Request::is('admin/country/edit/*') ? ' active' : '' }}">
|
||||
<a href="{{ route('admin_countries') }}" class="sidenav-link"><i class="sidenav-icon ion ion-ios-globe"></i><div>{{ __('navigation.countries') }}</div></a>
|
||||
</li>
|
||||
<li class="sidenav-item{{ Request::is('admin/settings') ? ' active' : '' }} {{ Request::is('admin/setting/*') ? ' active' : '' }}">
|
||||
<a href="{{ route('admin_settings') }}" class="sidenav-link"><i class="sidenav-icon ion ion-md-cog"></i><div>{{ __('navigation.settings') }}</div></a>
|
||||
</li>
|
||||
@endif
|
||||
@if(Auth::user()->isSySAdmin())
|
||||
<li class="sidenav-divider mb-1"></li>
|
||||
|
|
@ -231,6 +248,9 @@
|
|||
<li class="sidenav-item{{ Request::is('sysadmin/import') ? ' active' : '' }}">
|
||||
<a href="{{ route('sysadmin_import') }}" class="sidenav-link"><i class="sidenav-icon ion ion-ios-cloud-upload"></i><div>Import</div></a>
|
||||
</li>
|
||||
<li class="sidenav-item{{ Request::is('sysadmin/points') ? ' active' : '' }}">
|
||||
<a href="{{ route('sysadmin_points') }}" class="sidenav-link"><i class="sidenav-icon ion ion-ios-pin"></i><div>Points</div></a>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="sidenav-item{{ Request::is('sysadmin/settings') ? ' active' : '' }}">
|
||||
|
|
|
|||
|
|
@ -221,12 +221,56 @@
|
|||
<br><br>
|
||||
@if(!$user_shop || $isMivitaShop)
|
||||
<strong>XIII. Analyse-Tools und WerbungFacebook Pixel</strong>
|
||||
<br>
|
||||
Diese Website nutzt zur Konversionsmessung der Besucheraktions-Pixel von Facebook. Anbieter diesesDienstes ist die Facebook Ireland Limited, 4 Grand Canal Square, Dublin 2, Irland. Die erfassten Datenwerden nach Aussage von Facebook jedoch auch in die USA und in andere Drittländer übertragen.So kann das Verhalten der Seitenbesucher nachverfolgt werden, nachdem diese durch Klick auf eineFacebook-Werbeanzeige auf die Website des Anbieters weitergeleitet wurden. Dadurch können dieWirksamkeit der Facebook-Werbeanzeigen für statistische und Marktforschungszwecke ausgewertetwerden und zukünftige Werbemaßnahmen optimiert werden.Die erhobenen Daten sind für uns als Betreiber dieser Website anonym, wir können keine Rückschlüsse aufdie Identität der Nutzer ziehen. Die Daten werden aber von Facebook gespeichert und verarbeitet, sodasseine Verbindung zum jeweiligen Nutzerprofil möglich ist und Facebook die Daten für eigene Werbezwecke,entsprechend derFacebook-Datenverwendungsrichtlinie verwenden kann. Dadurch kann Facebook das Schalten vonWerbeanzeigen auf Seiten von Facebook sowie außerhalb von Facebook ermöglichen. Diese Verwendungder Daten kann von uns als Seitenbetreiber nicht beeinflusst werden.Die Nutzung von Facebook-Pixel erfolgt auf Grundlage von Art. 6 Abs. 1 lit. f DSGVO. Der Websitebetreiberhat ein berechtigtes Interesse an effektiven Werbemaßnahmen unter Einschluss der sozialen Medien.Sofern eine entsprechende Einwilligung abgefragt wurde (z. B. eine Einwilligung zur Speicherung vonCookies), erfolgt die Verarbeitung ausschließlich auf Grundlage von Art. 6 Abs. 1 lit. a DSGVO; dieEinwilligung ist jederzeit widerrufbar.Die Datenübertragung in die USA wird auf die Standardvertragsklauseln der EU-Kommission gestützt.Details finden Sie hier:https://www.facebook.com/legal/EU_data_transfer_addendum undhttps://de-de.facebook.com/help/566994660333381
|
||||
<br><br>
|
||||
Soweit mit Hilfe des hier beschriebenen Tools personenbezogene Daten auf unserer Website erfasst und anFacebook weitergeleitet werden, sind wir und die Facebook Ireland Limited, 4 Grand Canal Square, GrandCanal Harbour, Dublin 2, Irland gemeinsam für diese Datenverarbeitung verantwortlich (Art. 26 DSGVO).Die gemeinsame Verantwortlichkeit beschränkt sich dabei ausschließlich auf die Erfassung der Daten undderen Weitergabe an Facebook. Die nach der Weiterleitung erfolgende Verarbeitung durch Facebook istnicht Teil der gemeinsamen Verantwortung. Die uns gemeinsam obliegenden Verpflichtungen wurden ineiner Vereinbarung über gemeinsame Verarbeitung festgehalten. Den Wortlaut der Vereinbarung finden Sieunter:https://www.facebook.com/legal/controller_addendum. Laut dieser Vereinbarung sind wir für die Erteilungder Datenschutzinformationen beim Einsatz des Facebook-Tools und für die datenschutzrechtlich sichereImplementierung des Tools auf unserer Website verantwortlich. Für die Datensicherheit der Facebook-Produkte ist Facebook verantwortlich. Betroffenenrechte (z.B. Auskunftsersuchen) hinsichtlich der beiFacebook verarbeiteten Daten können Sie direkt bei Facebook geltend machen. Wenn Sie dieBetroffenenrechte bei uns geltend machen, sind wir verpflichtet, diese an Facebook weiterzuleiten.In den Datenschutzhinweisen von Facebook finden Sie weitere Hinweise zum Schutz Ihrer Privatsphäre:https://de-de.facebook.com/about/privacy/.Sie können außerdem die Remarketing-Funktion „Custom Audiences“ im Bereich Einstellungen fürWerbeanzeigen unterhttps://www.facebook.com/ads/preferences/?entry_product=ad_settings_screen deaktivieren. Dazumüssen Sie bei Facebook angemeldet sein.Wenn Sie kein Facebook Konto besitzen, können Sie nutzungsbasierte Werbung von Facebook auf derWebsite der European Interactive Digital Advertising Alliance deaktivieren:http://www.youronlinechoices.com/de/praferenzmanagement/.
|
||||
<br> <br>
|
||||
<strong>Daten-Erhebung durch Nutzung von Google-Analytics und Nutzung von Cookies</strong>
|
||||
<br>
|
||||
Unsere Webseite benutzt Google-Analytics, einen Webanalysedienst, der Google inc (https://www.google.de/about/) (1600 Amphitheatre Parkway, Mountain View, CA 94043, USA; im Folgenden „Google“). Google-Analytics verwendet sogenannte „Cookies“ und es werden in diesem Zusammenhang pseudonymisierte Nutzungsprofile erstellt. Bei „Cookies“ handelt es sich um Textdateien, die auf Ihrem Computer gespeichert werden und die eine Analyse ihrer Benutzung der Website ermöglicht. Erfasst werden beispielsweise:
|
||||
<ul>
|
||||
<li>Informationen zum Betriebssystem</li>
|
||||
<li>zum Browser</li>
|
||||
<li>Ihrer IP-Adresse (Hostname des zugreifenden Rechners)</li>
|
||||
<li>die von Ihnen zuvor aufgerufene Webseite (Referrer-URL)</li>
|
||||
<li>Datum und Uhrzeit der Serveranfrage.</li>
|
||||
</ul>
|
||||
Die durch diese Textdatei erzeugten Informationen über die Benutzung unserer Webseite werden an einen Server von Google in den USA übertragen und dort gespeichert. Google wird diese Information benutzen, um Ihre Nutzung unserer Webseite auszuwerten, um Reports über die Webseitenaktivität für die Webseitenbetreiber zusammen zu stellen und um weitere mit der Webseitennutzung und der Internetnutzung verbundenen Dienstleistungen zu Zwecken der Marktforschung und der bedarfsgerechten Gestaltung dieser Internetseiten zu erbringen. Sofern dies gesetzlich vorgeschrieben ist oder soweit Dritte diese Daten im Auftrag von Google verarbeiten, wird Google diese Information auch an diese Dritten weitergeben. Diese Nutzung erfolgt anonymisiert oder pseudonymisiert (IP-Masking).
|
||||
<br>
|
||||
Sie können die Installation der Cookies durch eine entsprechende Einstellung Ihres Internetbenutzungsprogramms (Browser) verhindern. Wir weisen jedoch darauf hin, dass dadurch ggf. nicht sämtliche Funktionen nutzbar sind. Dazu müssen Sie in Ihrem Internet-Browser die Speicherung von Cookies ausschalten. Nähere Informationen hierzu entnehmen Sie bitte den Benutzungshinweisen Ihres Internet-Browsers. Darüber hinaus können Sie die Erfassung der durch das Cookie erzeugten und auf Ihre Nutzung der Website bezogenen Daten (inkl. Ihrer IP-Adresse) sowie die Verarbeitung dieser Daten durch Google verhindern, indem Sie ein Browser-Add-on herunterladen und installieren (https: tools.google.com/dlpage/gaoptout?hl=de).
|
||||
<br>
|
||||
Die durch Cookies verarbeiteten Daten sind für die genannten Zwecke zur Wahrung unserer berechtigten Interessen sowie der Dritter nach Art. 6 Abs. 1 S. 1 lit. f DSGVO erforderlich.
|
||||
<br>
|
||||
Finden Sie weitere Datenschutzinformationen von Google unter: https://www.google.de/intl/de/policies/privacy/
|
||||
<br> <br>
|
||||
<strong>Google benutzt das DoubleClick DART-Cookie</strong>
|
||||
<br>
|
||||
Nutzer können die Verwendung des DART-Cookies deaktivieren, indem sie die Datenschutzbestimmungen des Werbenetzwerks und Content-Werbenetzwerks von Google aufrufen.
|
||||
<br>
|
||||
Dabei werden keinerlei unmittelbare persönliche Daten des Nutzers gespeichert, sondern nur die IP-Adresse. Diese Informationen dienen dazu, Sie bei Ihrem nächsten Besuch auf unseren Websites automatisch wiederzuerkennen und Ihnen die Navigation zu erleichtern. Cookies erlauben es uns beispielsweise, eine Website Ihren Interessen anzupassen oder Ihr Kennwort zu speichern, damit Sie es nicht jedes Mal neu eingeben müssen.
|
||||
<br>
|
||||
Selbstverständlich können Sie unsere Websites auch ohne Cookies betrachten. Wenn Sie nicht möchten, dass wir Ihren Computer wiedererkennen, können Sie das Speichern von Cookies auf Ihrer Festplatte verhindern, indem Sie in Ihren Browser-Einstellungen „keine Cookies akzeptieren“ wählen. Wie das im Einzelnen funktioniert, entnehmen Sie bitte der Anleitung Ihres Browser-Herstellers. Wir weisen jedoch darauf hin, dass das Nicht-Akzeptieren von Cookies zu Funktionseinschränkungen unserer Angebote führen kann.
|
||||
<br>
|
||||
Sie können die Installation der Cookies durch eine entsprechende Einstellung Ihres Internetbenutzungsprogramms (Browser) verhindern. Dazu müssen Sie in Ihrem Internet-Browser die Speicherung von Cookies ausschalten. Nähere Informationen hierzu übernehmen Sie bitte den Benutzungshinweisen Ihres Internet-Browsers.
|
||||
<br>
|
||||
Finden Sie weitere Datenschutzinformationen von Google unter: https://www.google.de/intl/de/policies/privacy/
|
||||
<br> <br>
|
||||
<strong>Google Adwords Conversion Tracking</strong>
|
||||
<br>
|
||||
Wir nutzen Google Conversion Tracking, um die Nutzung unserer Webseite statistisch zu erfassen und zum Zwecke der Optimierung für Sie auszuwerten. Google setzt dafür einen Cookie auf Ihrem Rechner, wenn Sie über eine Google-Anzeige auf unsere Webseite gelangt sind.<br>
|
||||
Nach 30 Tagen verlieren diese Cookies ihre Gültigkeit. Sie dienen nicht der persönlichen Identifizierung. Besucht der Nutzer bestimmte Seiten der Webseite des Adwords-Kunden und das Cookie ist noch gültig, können Google und der Kunde erkennen, dass der Nutzer auf die Anzeige geklickt hat und zu dieser Seite weitergeleitet wurde.<br>
|
||||
Es wird bei jedem Kunden ein anderes Cookie gesetzt und können somit nicht über die Webseiten von Adwords-Kunden nachverfolgt werden. Die eingeholten Informationen dienen dazu, Conversion-Statistiken für Adwords-Kunden zu erstellen, die sich für Conversion-Tracking entschieden haben. Folgende Informationen werden preisgegeben:<br>
|
||||
<ul>
|
||||
<li>Gesamtanzahl der Nutzer, die auf ihre Anzeige geklickt haben und zu einer mit einem Conversion-Tracking-Tag versehenen Seite weitergeleitet wurden.</li>
|
||||
</ul>
|
||||
Es werden jedoch keine Informationen herausgegeben, mit denen sich Nutzer persönlich identifizieren lassen.<br>
|
||||
Wenn Sie nicht an dem Tracking-Verfahren teilnehmen möchten, können Sie auch das hierfür erforderliche Setzen eines Cookies ablehnen – etwa per Browser-Einstellung, die das automatische Setzen von Cookies generell deaktiviert. Sie können Cookies für Conversion-Tracking auch deaktivieren, indem Sie Ihren Browser so einstellen, dass Cookies von der Domain „www.googleadservices.com“ blockiert werden.<br>
|
||||
Googles Datenschutzbelehrung zum Conversion-Tracking finden Sie hier ( https://services.google.com/sitestats/de.html )
|
||||
|
||||
Diese Website nutzt zur Konversionsmessung der Besucheraktions-Pixel von Facebook. Anbieter diesesDienstes ist die Facebook Ireland Limited, 4 Grand Canal Square, Dublin 2, Irland. Die erfassten Datenwerden nach Aussage von Facebook jedoch auch in die USA und in andere Drittländer übertragen.So kann das Verhalten der Seitenbesucher nachverfolgt werden, nachdem diese durch Klick auf eineFacebook-Werbeanzeige auf die Website des Anbieters weitergeleitet wurden. Dadurch können dieWirksamkeit der Facebook-Werbeanzeigen für statistische und Marktforschungszwecke ausgewertetwerden und zukünftige Werbemaßnahmen optimiert werden.Die erhobenen Daten sind für uns als Betreiber dieser Website anonym, wir können keine Rückschlüsse aufdie Identität der Nutzer ziehen. Die Daten werden aber von Facebook gespeichert und verarbeitet, sodasseine Verbindung zum jeweiligen Nutzerprofil möglich ist und Facebook die Daten für eigene Werbezwecke,entsprechend derFacebook-Datenverwendungsrichtlinie verwenden kann. Dadurch kann Facebook das Schalten vonWerbeanzeigen auf Seiten von Facebook sowie außerhalb von Facebook ermöglichen. Diese Verwendungder Daten kann von uns als Seitenbetreiber nicht beeinflusst werden.Die Nutzung von Facebook-Pixel erfolgt auf Grundlage von Art. 6 Abs. 1 lit. f DSGVO. Der Websitebetreiberhat ein berechtigtes Interesse an effektiven Werbemaßnahmen unter Einschluss der sozialen Medien.Sofern eine entsprechende Einwilligung abgefragt wurde (z. B. eine Einwilligung zur Speicherung vonCookies), erfolgt die Verarbeitung ausschließlich auf Grundlage von Art. 6 Abs. 1 lit. a DSGVO; dieEinwilligung ist jederzeit widerrufbar.Die Datenübertragung in die USA wird auf die Standardvertragsklauseln der EU-Kommission gestützt.Details finden Sie hier:https://www.facebook.com/legal/EU_data_transfer_addendum undhttps://de-de.facebook.com/help/566994660333381
|
||||
<br><br>
|
||||
Soweit mit Hilfe des hier beschriebenen Tools personenbezogene Daten auf unserer Website erfasst und anFacebook weitergeleitet werden, sind wir und die Facebook Ireland Limited, 4 Grand Canal Square, GrandCanal Harbour, Dublin 2, Irland gemeinsam für diese Datenverarbeitung verantwortlich (Art. 26 DSGVO).Die gemeinsame Verantwortlichkeit beschränkt sich dabei ausschließlich auf die Erfassung der Daten undderen Weitergabe an Facebook. Die nach der Weiterleitung erfolgende Verarbeitung durch Facebook istnicht Teil der gemeinsamen Verantwortung. Die uns gemeinsam obliegenden Verpflichtungen wurden ineiner Vereinbarung über gemeinsame Verarbeitung festgehalten. Den Wortlaut der Vereinbarung finden Sieunter:https://www.facebook.com/legal/controller_addendum. Laut dieser Vereinbarung sind wir für die Erteilungder Datenschutzinformationen beim Einsatz des Facebook-Tools und für die datenschutzrechtlich sichereImplementierung des Tools auf unserer Website verantwortlich. Für die Datensicherheit der Facebook-Produkte ist Facebook verantwortlich. Betroffenenrechte (z.B. Auskunftsersuchen) hinsichtlich der beiFacebook verarbeiteten Daten können Sie direkt bei Facebook geltend machen. Wenn Sie dieBetroffenenrechte bei uns geltend machen, sind wir verpflichtet, diese an Facebook weiterzuleiten.In den Datenschutzhinweisen von Facebook finden Sie weitere Hinweise zum Schutz Ihrer Privatsphäre:https://de-de.facebook.com/about/privacy/.Sie können außerdem die Remarketing-Funktion „Custom Audiences“ im Bereich Einstellungen fürWerbeanzeigen unterhttps://www.facebook.com/ads/preferences/?entry_product=ad_settings_screen deaktivieren. Dazumüssen Sie bei Facebook angemeldet sein.Wenn Sie kein Facebook Konto besitzen, können Sie nutzungsbasierte Werbung von Facebook auf derWebsite der European Interactive Digital Advertising Alliance deaktivieren:http://www.youronlinechoices.com/de/praferenzmanagement/.
|
||||
<br><br>Stand: 05.04.2021
|
||||
|
||||
|
||||
<br><br>Stand: 18.02.2022
|
||||
@else
|
||||
Stand: 05.10.2018
|
||||
|
||||
|
|
|
|||
28
resources/views/pdf/delivery-detail.blade.php
Normal file
28
resources/views/pdf/delivery-detail.blade.php
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
<div id="invoice_box">
|
||||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
<th class="text-left" style="width: 10%">
|
||||
<span class="no-line-break">Artikel-Nr.</span>
|
||||
</th>
|
||||
<th class="text-left" style="width: 40%">Bezeichnung</th>
|
||||
<th class="text-right" style="width: 10%">Menge</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@foreach($shopping_order->shopping_order_items as $shopping_order_item)
|
||||
<tr class="item">
|
||||
<td class="small text-left">
|
||||
{{ $shopping_order_item->product->number }}
|
||||
</td>
|
||||
<td class="small text-left">
|
||||
{{ $shopping_order_item->product->name }}
|
||||
</td>
|
||||
<td class="text-right small">
|
||||
{{ $shopping_order_item->qty }}
|
||||
</td>
|
||||
</tr>
|
||||
@endforeach
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
31
resources/views/pdf/delivery-homeparty-detail.blade.php
Normal file
31
resources/views/pdf/delivery-homeparty-detail.blade.php
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
|
||||
@if($homeparty_user && isset($homeparty_user->homeparty_user_order_items))
|
||||
@foreach($homeparty_user->homeparty_user_order_items as $value)
|
||||
<tr class="item">
|
||||
<td class="small text-left">
|
||||
{{ $value->product->number }}
|
||||
</td>
|
||||
<td class="small text-left">
|
||||
{{ $value->product->name }}
|
||||
</td>
|
||||
<td class="text-right small">
|
||||
{{ $value->qty }}
|
||||
</td>
|
||||
</tr>
|
||||
@endforeach
|
||||
@php($user_cart = $homeparty->order['user_carts'][$homeparty_user->id])
|
||||
@php($hp_order = $homeparty->order)
|
||||
@if(!$homeparty_user->is_host)
|
||||
<tr class="foot-small">
|
||||
<td> </td>
|
||||
<td colspan="6" class="text-left">
|
||||
@if($homeparty_guest->getDelivery() === 'host')
|
||||
Lieferung an Gastgeber
|
||||
@endif
|
||||
@if($homeparty_guest->getDelivery() === 'direct')
|
||||
Lieferung direkt an den Gast
|
||||
@endif
|
||||
</td>
|
||||
</tr>
|
||||
@endif
|
||||
@endif
|
||||
21
resources/views/pdf/delivery-homeparty.blade.php
Normal file
21
resources/views/pdf/delivery-homeparty.blade.php
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
<div id="invoice_box">
|
||||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
<th class="text-left" style="width: 10%">Artikel-Nr.</th>
|
||||
<th class="text-left" style="width: 40%">Bezeichnung</th>
|
||||
<th class="text-right" style="width: 10%">Menge</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@if($shopping_order->homeparty->homeparty_host)
|
||||
@include('pdf.delivery-homeparty-detail', ['homeparty'=>$shopping_order->homeparty, 'homeparty_user' => $shopping_order->homeparty->homeparty_host])
|
||||
@endif
|
||||
|
||||
@if($shopping_order->homeparty->homeparty_guests)
|
||||
@foreach($shopping_order->homeparty->homeparty_guests as $homeparty_guest)
|
||||
@include('pdf.delivery-homeparty-detail', ['homeparty'=>$shopping_order->homeparty, 'homeparty_user' => $homeparty_guest])
|
||||
@endforeach
|
||||
@endif
|
||||
</tbody>
|
||||
</div>
|
||||
374
resources/views/pdf/delivery.blade.php
Normal file
374
resources/views/pdf/delivery.blade.php
Normal file
|
|
@ -0,0 +1,374 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
|
||||
<title>mivita.care</title>
|
||||
<style>
|
||||
|
||||
/* roboto-300 - latin */
|
||||
@font-face {
|
||||
font-family: 'Roboto';
|
||||
font-style: normal;
|
||||
font-weight: 300;
|
||||
src: url('fonts/roboto/roboto-v20-latin-300.ttf') format('truetype'), /* Safari, Android, iOS */
|
||||
}
|
||||
/* roboto-regular - latin */
|
||||
@font-face {
|
||||
font-family: 'Roboto';
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
src: url('fonts/roboto/roboto-v20-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
|
||||
}
|
||||
/* roboto-500 - latin */
|
||||
@font-face {
|
||||
font-family: 'Roboto';
|
||||
font-style: normal;
|
||||
font-weight: 500;
|
||||
src: url('fonts/roboto/roboto-v20-latin-500.ttf') format('truetype'), /* Safari, Android, iOS */
|
||||
}
|
||||
/* roboto-700 - latin */
|
||||
@font-face {
|
||||
font-family: 'Roboto';
|
||||
font-style: normal;
|
||||
font-weight: 700;
|
||||
src: url('fonts/roboto/roboto-v20-latin-700.ttf') format('truetype'), /* Safari, Android, iOS */
|
||||
}
|
||||
html {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
body {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
margin: 0 auto;
|
||||
padding: 0;
|
||||
color: #000;
|
||||
background: #fff;
|
||||
font-family: 'Roboto', sans-serif;
|
||||
font-size: 9.5pt;
|
||||
font-weight: 400 ;
|
||||
}
|
||||
table {
|
||||
border: none;
|
||||
}
|
||||
|
||||
strong {
|
||||
font-weight: bold !important;
|
||||
}
|
||||
|
||||
@page {
|
||||
margin: 0px;
|
||||
}
|
||||
@page {
|
||||
margin-top: 0px;
|
||||
}
|
||||
|
||||
|
||||
@page {
|
||||
margin: 50mm 0 45mm 0;
|
||||
}
|
||||
|
||||
.font-weight-bold {
|
||||
font-weight: bold !important;
|
||||
}
|
||||
|
||||
#address_box {
|
||||
position: relative;
|
||||
padding-left: 15mm;
|
||||
width: 90mm;
|
||||
height: 40mm;
|
||||
z-index: 1;
|
||||
line-height: 10pt;
|
||||
letter-spacing: 0em;
|
||||
}
|
||||
|
||||
#address_box_top {
|
||||
font-size: 8.5pt;
|
||||
color:#858585;
|
||||
margin-bottom: 0.5em;
|
||||
}
|
||||
|
||||
#title_box {
|
||||
position: relative;
|
||||
padding-left: 15mm;
|
||||
width: 180mm;
|
||||
height: 8mm;
|
||||
z-index: 2;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
#title_box .title {
|
||||
font-size: 16pt;
|
||||
line-height: 12pt;
|
||||
}
|
||||
|
||||
#title_box .subtitle {
|
||||
line-height: 9pt;
|
||||
}
|
||||
|
||||
#detail_box_right {
|
||||
position: absolute;
|
||||
top:-4mm;
|
||||
right: 15mm;
|
||||
width: 60mm;
|
||||
height: 30mm;
|
||||
z-index: 4;
|
||||
}
|
||||
#detail_box_right.for_shop {
|
||||
top:10mm;
|
||||
}
|
||||
|
||||
#detail_box_right.for_member {
|
||||
top:8mm;
|
||||
}
|
||||
|
||||
#detail_box_right table {
|
||||
width: 100%;
|
||||
line-height: 9pt;
|
||||
}
|
||||
|
||||
.xsmall {
|
||||
font-size: 0.9em;
|
||||
}
|
||||
#invoice_box {
|
||||
position: relative;
|
||||
padding-top: 0mm;
|
||||
margin-left: 15mm;
|
||||
width: 180mm;
|
||||
line-height: 10pt;
|
||||
}
|
||||
|
||||
#invoice_box table {
|
||||
width: 100%;
|
||||
border-collapse: collapse;
|
||||
}
|
||||
|
||||
#invoice_box table tfoot tr {
|
||||
page-break-after: avoid;
|
||||
}
|
||||
#invoice_box table tr th {
|
||||
font-size: 9pt;
|
||||
}
|
||||
|
||||
#invoice_box table tr td {
|
||||
vertical-align: top;
|
||||
padding-top: 2mm;
|
||||
padding-bottom: 2mm;
|
||||
padding-left: 1.5mm;
|
||||
padding-right: 1.5mm;
|
||||
border-top: 0.5pt dotted #1a1a18;
|
||||
}
|
||||
|
||||
#invoice_box table tfoot tr td {
|
||||
border-top: none;
|
||||
}
|
||||
|
||||
#invoice_box table tfoot tr.fullline td {
|
||||
border-top: 0.3pt solid #575755;
|
||||
}
|
||||
|
||||
#invoice_box table tfoot tr.doubleline td {
|
||||
border-top: 2pt double #575755;
|
||||
}
|
||||
|
||||
#invoice_box table tfoot tr.fullline td.no-border {
|
||||
border-top: none;
|
||||
}
|
||||
|
||||
#invoice_box table tfoot tr td {
|
||||
padding-top: 1.2mm;
|
||||
padding-bottom: 1.2mm;
|
||||
|
||||
}
|
||||
|
||||
#invoice_box table td.small {
|
||||
width: 1%;
|
||||
white-space: nowrap;
|
||||
}
|
||||
#invoice_box table tr.foot-small td {
|
||||
font-size: 0.9em;
|
||||
padding-top: 1.2mm;
|
||||
padding-bottom: 1.2mm;
|
||||
}
|
||||
|
||||
#invoice_box table tfoot tr.foot-small td {
|
||||
font-size: 0.9em;
|
||||
padding-top: 0.9mm;
|
||||
padding-bottom: 0.9mm;
|
||||
}
|
||||
|
||||
#invoice_box table tr th {
|
||||
line-height: 12pt;
|
||||
padding-bottom: 1mm;
|
||||
padding-left: 1mm;
|
||||
padding-right: 1mm;
|
||||
background-color: rgb(212, 212, 212);
|
||||
}
|
||||
|
||||
|
||||
|
||||
#invoice_box table td .title {
|
||||
}
|
||||
#invoice_box table td .description {
|
||||
padding-top: 1mm;
|
||||
}
|
||||
|
||||
#invoice_box table td .price_net {
|
||||
padding-top: 1mm;
|
||||
font-size: 10pt;
|
||||
padding-bottom: 1mm;
|
||||
}
|
||||
|
||||
#invoice_box table td .price_tax {
|
||||
padding-top: 0.7mm;
|
||||
padding-bottom: 0.7mm;
|
||||
}
|
||||
|
||||
.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: relative;
|
||||
top:5mm;
|
||||
left: 15mm;
|
||||
width: 180mm;
|
||||
height: 20mm;
|
||||
z-index: 6;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.text-right {
|
||||
text-align: right;
|
||||
}
|
||||
.text-left {
|
||||
text-align: left;
|
||||
}
|
||||
.text-center {
|
||||
text-align: center;
|
||||
}
|
||||
.no-line-break {
|
||||
white-space: nowrap;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<script type="text/php">
|
||||
if ( isset($pdf) ) {
|
||||
$pdf->page_script('
|
||||
if ($PAGE_COUNT > 1) {
|
||||
$pageText = "Seite: ".$PAGE_NUM . "/" . $PAGE_COUNT;
|
||||
$y = 40 * 3;
|
||||
$x = 170 * 3;
|
||||
$pdf->text($x, $y, $pageText, null, 9);
|
||||
}
|
||||
');
|
||||
}
|
||||
</script>
|
||||
<div id="address_box">
|
||||
<div id="address_box_top">mivita e.K. • Leinfeld 2 • 87755 Kirchhaslach</div>
|
||||
@if($shopping_order->shopping_user->same_as_billing)
|
||||
@if($shopping_order->shopping_user->billing_company)
|
||||
{{ $shopping_order->shopping_user->billing_company }}<br>
|
||||
@endif
|
||||
{{ \App\Services\HTMLHelper::getSalutationLang($shopping_order->shopping_user->billing_salutation) }}
|
||||
{{ $shopping_order->shopping_user->billing_firstname }} {{ $shopping_order->shopping_user->billing_lastname }}<br>
|
||||
{{ $shopping_order->shopping_user->billing_address }}<br>
|
||||
@if($shopping_order->shopping_user->billing_address_2)
|
||||
{{ $shopping_order->shopping_user->billing_address_2 }}<br>
|
||||
@endif
|
||||
{{ $shopping_order->shopping_user->billing_zipcode }} {{ $shopping_order->shopping_user->billing_city }}<br>
|
||||
@if($shopping_order->shopping_user->billing_country)
|
||||
{{ $shopping_order->shopping_user->billing_country->getLocated() }}
|
||||
@endif
|
||||
@else
|
||||
@if($shopping_order->shopping_user->shipping_company)
|
||||
{{ $shopping_order->shopping_user->shipping_company }}<br>
|
||||
@endif
|
||||
{{ \App\Services\HTMLHelper::getSalutationLang($shopping_order->shopping_user->shipping_salutation) }}
|
||||
{{ $shopping_order->shopping_user->shipping_firstname }} {{ $shopping_order->shopping_user->shipping_lastname }}<br>
|
||||
{{ $shopping_order->shopping_user->shipping_address }}<br>
|
||||
@if($shopping_order->shopping_user->shipping_address_2)
|
||||
{{ $shopping_order->shopping_user->shipping_address_2 }}<br>
|
||||
@endif
|
||||
{{ $shopping_order->shopping_user->shipping_zipcode }} {{ $shopping_order->shopping_user->shipping_city }}<br>
|
||||
@if($shopping_order->shopping_user->shipping_country)
|
||||
{{ $shopping_order->shopping_user->shipping_country->getLocated() }}
|
||||
@endif
|
||||
@endif
|
||||
</div>
|
||||
@if($shopping_order->payment_for === 6)
|
||||
<div id="detail_box_right" class="for_shop">
|
||||
<table>
|
||||
<tr>
|
||||
<td class="text-left">{{ __('Datum') }}:</td>
|
||||
<td class="text-right">{{ $invoice_date }}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="text-left">{{ __('Lieferschein-Nr.') }}:</td>
|
||||
<td class="text-right">{{ $invoice_number }}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="text-left">{{ __('Bestell-Nr.') }}:</td>
|
||||
<td class="text-right xsmall">{{ $shopping_order->getLastShoppingPayment('reference') }}</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
@else
|
||||
<div id="detail_box_right" class="for_member">
|
||||
<table>
|
||||
<tr>
|
||||
<tr>
|
||||
<td class="text-left">{{ __('Berater-ID') }}:</td>
|
||||
@if($shopping_order->payment_for === 7) //extern
|
||||
<td class="text-right">
|
||||
@if(isset($shopping_order->member->account))
|
||||
{!! str_pad($shopping_order->member->account->m_account, 5, "0", STR_PAD_LEFT) !!}
|
||||
@endif
|
||||
</td>
|
||||
@else
|
||||
<td class="text-right">
|
||||
@if(isset($shopping_order->shopping_user->auth_user->account))
|
||||
{!! str_pad($shopping_order->auth_user->account->m_account, 5, "0", STR_PAD_LEFT) !!}
|
||||
@endif
|
||||
</td>
|
||||
@endif
|
||||
</tr>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="text-left">{{ __('Datum') }}:</td>
|
||||
<td class="text-right">{{ $invoice_date }}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="text-left">{{ __('Lieferschein-Nr.') }}:</td>
|
||||
<td class="text-right">{{ $invoice_number }}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="text-left">{{ __('Bestell-Nr.') }}:</td>
|
||||
<td class="text-right xsmall">{{ $shopping_order->getLastShoppingPayment('reference') }}</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
@endif
|
||||
<div id="title_box">
|
||||
<div class="title">LIEFERSCHEIN</div>
|
||||
{{-- @if($cancellation)
|
||||
<div class="subtitle">{{ $invoice->invoice_name }}</div>
|
||||
@endif--}}
|
||||
</div>
|
||||
@if($shopping_order->homeparty)
|
||||
@include('pdf.delivery-homeparty')
|
||||
@else
|
||||
@include('pdf.delivery-detail')
|
||||
@endif
|
||||
</body>
|
||||
</html>
|
||||
169
resources/views/pdf/invoice-detail.blade.php
Normal file
169
resources/views/pdf/invoice-detail.blade.php
Normal file
|
|
@ -0,0 +1,169 @@
|
|||
<div id="invoice_box">
|
||||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
<th class="text-left" style="width: 10%">
|
||||
<span class="no-line-break">Artikel-Nr.</span>
|
||||
</th>
|
||||
<th class="text-left" style="width: 40%">Bezeichnung</th>
|
||||
@if($shopping_order->payment_for === 6)
|
||||
<th class="text-right" style="width: 15%">
|
||||
<span class="no-line-break">E-Preis</span> @if($shopping_order->tax == 0)*@endif</th>
|
||||
<th class="text-right" style="width: 10%">Menge</th>
|
||||
<th class="text-right" style="width: 10%">MwSt.</th>
|
||||
<th class="text-right" style="width: 15%">Summe @if($shopping_order->tax == 0)*@endif</th>
|
||||
@else
|
||||
<th class="text-right" style="width: 15%">
|
||||
<span class="no-line-break">VK-Preis*</span>
|
||||
</th>
|
||||
<th class="text-right" style="width: 10%">Menge</th>
|
||||
<th class="text-right" style="width: 10%">Points</th>
|
||||
<th class="text-right" style="width: 10%">%</th>
|
||||
<th class="text-right" style="width: 15%">
|
||||
<span class="no-line-break">EK-Preis*</span>
|
||||
</th>
|
||||
@endif
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@foreach($shopping_order->shopping_order_items as $shopping_order_item)
|
||||
<tr class="item">
|
||||
<td class="small text-left">
|
||||
{{ $shopping_order_item->product->number }}
|
||||
</td>
|
||||
<td class="small text-left">
|
||||
{{ $shopping_order_item->product->name }}
|
||||
</td>
|
||||
|
||||
@if($shopping_order->payment_for === 6)
|
||||
<td class="text-right small">
|
||||
{{ $shopping_order_item->getFormattedPrice() }} €
|
||||
</td>
|
||||
<td class="text-right small">
|
||||
{{ $shopping_order_item->qty }}
|
||||
</td>
|
||||
<td class="text-right small">
|
||||
{{ $shopping_order_item->getFormattedTaxRate() }}%
|
||||
</td>
|
||||
<td class="text-right small">
|
||||
{{ $shopping_order_item->getFormattedTotalPrice() }} €
|
||||
</td>
|
||||
@else
|
||||
<td class="text-right small">
|
||||
{{ $shopping_order_item->getFormattedPriceVkNet() }} €
|
||||
</td>
|
||||
<td class="text-right small">
|
||||
{{ $shopping_order_item->qty }}
|
||||
</td>
|
||||
<td class="text-right small">
|
||||
{{ $shopping_order_item->points }}
|
||||
</td>
|
||||
<td class="text-right small">
|
||||
@if($shopping_order_item->price > 0)
|
||||
{{ cleanNumberFormat($shopping_order_item->discount) }}
|
||||
@else
|
||||
0
|
||||
@endif
|
||||
</td>
|
||||
<td class="text-right small">
|
||||
{{ $shopping_order_item->getFormattedTotalPriceNet() }} €
|
||||
</td>
|
||||
@endif
|
||||
|
||||
</tr>
|
||||
@endforeach
|
||||
</tbody>
|
||||
<tfoot>
|
||||
@if($shopping_order->payment_for === 6)
|
||||
@php($colspan = 4)
|
||||
@else
|
||||
@php($colspan = 5)
|
||||
@endif
|
||||
|
||||
<tr class="fullline">
|
||||
<td class="text-right"> </td>
|
||||
<td class="text-left" colspan="{{ $colspan }}">
|
||||
{{__('email.checkout_mail_shipping')}}
|
||||
</td>
|
||||
<td class="text-right">
|
||||
@if($shopping_order->tax > 0)
|
||||
@if($shopping_order->payment_for === 6)
|
||||
{{ $shopping_order->getFormattedShipping() }} €
|
||||
@else
|
||||
{{ $shopping_order->getFormattedShippingNet() }} €
|
||||
@endif
|
||||
@else
|
||||
{{ $shopping_order->getFormattedShippingNet() }} €
|
||||
@endif
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="fullline">
|
||||
<td class="text-right"> </td>
|
||||
<td class="text-left" colspan="{{ $colspan }}">
|
||||
{{__('email.checkout_mail_subtotal_ws')}}
|
||||
</td>
|
||||
<td class="text-right">
|
||||
{{ $shopping_order->getFormattedSubtotalWs() }} €
|
||||
</td>
|
||||
</tr>
|
||||
@if($shopping_order->tax > 0)
|
||||
@if($shopping_order->tax_split)
|
||||
@foreach ($shopping_order->tax_split as $tax_rate => $tax)
|
||||
<tr class="">
|
||||
<td class="text-right"> </td>
|
||||
<td class="text-left" colspan="{{ $colspan }}">
|
||||
zzgl. {{ $tax_rate }}% MwSt
|
||||
</td>
|
||||
<td class="text-right">
|
||||
{{ formatNumber($tax) }} €
|
||||
</td>
|
||||
</tr>
|
||||
@endforeach
|
||||
@else
|
||||
<tr class="">
|
||||
<td class="text-right"> </td>
|
||||
<td class="text-left" colspan="{{ $colspan }}">
|
||||
{{__('email.checkout_mail_tax')}}
|
||||
</td>
|
||||
<td class="text-right">
|
||||
{{ $shopping_order->getFormattedTax() }} €
|
||||
</td>
|
||||
</tr>
|
||||
@endif
|
||||
|
||||
<tr class="fullline">
|
||||
<td class="text-right"> </td>
|
||||
<td class="text-left" colspan="{{ $colspan }}">
|
||||
<b>Summe inkl. der gesetzlichen MwSt.</b>
|
||||
</td>
|
||||
<td class="text-right">
|
||||
<span class="no-line-break">
|
||||
<b>{{ $shopping_order->getFormattedTotalShipping() }} €</b>
|
||||
</span>
|
||||
</td>
|
||||
</tr>
|
||||
@else
|
||||
<tr class="">
|
||||
<td class="text-right"> </td>
|
||||
<td class="text-left" colspan="{{ $colspan }}">
|
||||
{{__('email.checkout_mail_tax')}}
|
||||
</td>
|
||||
<td class="text-right">
|
||||
0 €
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="fullline">
|
||||
<td class="text-right"> </td>
|
||||
<td class="text-left" colspan="{{ $colspan }}">
|
||||
<b>Summe</b>
|
||||
</td>
|
||||
<td class="text-right">
|
||||
<span class="no-line-break">
|
||||
<b>{{ $shopping_order->getFormattedTotalShipping() }} €</b>
|
||||
</span>
|
||||
</td>
|
||||
</tr>
|
||||
@endif
|
||||
</tfoot>
|
||||
</table>
|
||||
</div>
|
||||
102
resources/views/pdf/invoice-homeparty-detail.blade.php
Normal file
102
resources/views/pdf/invoice-homeparty-detail.blade.php
Normal file
|
|
@ -0,0 +1,102 @@
|
|||
|
||||
@if($homeparty_user && isset($homeparty_user->homeparty_user_order_items))
|
||||
@foreach($homeparty_user->homeparty_user_order_items as $value)
|
||||
<tr class="item">
|
||||
<td class="small text-left">
|
||||
{{ $value->product->number }}
|
||||
</td>
|
||||
<td class="small text-left">
|
||||
{{ $value->product->name }}
|
||||
</td>
|
||||
<td class="text-right small">
|
||||
{{ $value->qty }}
|
||||
</td>
|
||||
<td class="text-right small">
|
||||
{{ $value->getFormattedTotalPoints() }}
|
||||
</td>
|
||||
<td class="text-right small">
|
||||
{{ $value->margin }}
|
||||
</td>
|
||||
<td class="text-right small">
|
||||
{{ $value->getFormattedTotalPrice() }} €
|
||||
</td>
|
||||
<td class="text-right small">
|
||||
{{ $value->getFormattedTotalEKPrice() }} €
|
||||
</td>
|
||||
</tr>
|
||||
@endforeach
|
||||
@php($user_cart = $homeparty->order['user_carts'][$homeparty_user->id])
|
||||
@php($hp_order = $homeparty->order)
|
||||
@if(!$homeparty_user->is_host)
|
||||
<tr class="foot-small">
|
||||
<td> </td>
|
||||
<td colspan="6" class="text-left">
|
||||
@if($homeparty_guest->getDelivery() === 'host')
|
||||
Lieferung an Gastgeber
|
||||
@endif
|
||||
@if($homeparty_guest->getDelivery() === 'direct')
|
||||
Lieferung direkt an den Gast
|
||||
@endif
|
||||
</td>
|
||||
</tr>
|
||||
@if($homeparty_guest->getDelivery() === 'direct')
|
||||
<tr class="foot-small">
|
||||
<td> </td>
|
||||
<td colspan="4" class="text-left">Versandkosten</td>
|
||||
<td class="text-right">{{ Util::formatNumber($user_cart['shipping_price'])}} €</td>
|
||||
<td class="text-right">{{ Util::formatNumber($user_cart['shipping_price'])}} €</td>
|
||||
</tr>
|
||||
@endif
|
||||
|
||||
<tr class="foot-small">
|
||||
<td> </td>
|
||||
<td colspan="2" class="border-top"><strong>Zwischensumme:</strong></td>
|
||||
<td class="border-top text-right"><strong>{{$user_cart['points']}}</strong></td>
|
||||
<td> </td>
|
||||
<td class="border-top text-right"><strong>{{Util::formatNumber($user_cart['price'])}} €</strong></td>
|
||||
<td class="border-top text-right"><strong>{{Util::formatNumber($user_cart['ek_price'])}} €</strong></td>
|
||||
</tr>
|
||||
@else
|
||||
@if($hp_order['is_bonus'])
|
||||
<tr class="foot-small">
|
||||
<td> </td>
|
||||
<td colspan="4" class="text-left">Gutschrift Homeparty Gutschein</td>
|
||||
<td class="text-right">- {{ Util::formatNumber($hp_order['bonus_value']) }} €</td>
|
||||
<td class="text-right">- {{ Util::formatNumber($hp_order['bonus_value']) }} €</td>
|
||||
</tr>
|
||||
@endif
|
||||
@if($hp_order['is_bonus_coupon'])
|
||||
<tr class="foot-small">
|
||||
<td> </td>
|
||||
<td colspan="4" class="text-left">Gutschrift Bonus</td>
|
||||
<td class="text-right">- {{ Util::formatNumber($hp_order['bonus_coupon']) }} €</td>
|
||||
<td class="text-right">- {{ Util::formatNumber($hp_order['bonus_coupon']) }} €</td>
|
||||
</tr>
|
||||
@endif
|
||||
@if($hp_order['is_bonus'])
|
||||
<tr class="foot-small">
|
||||
<td> </td>
|
||||
<td colspan="2" class="text-left">Abzug Points durch Gutschein</td>
|
||||
<td class="text-right">- {{ $hp_order['bonus_points_diff'] }} </td>
|
||||
<td> </td>
|
||||
<td> </td>
|
||||
<td> </td>
|
||||
</tr>
|
||||
@endif
|
||||
<tr class="foot-small">
|
||||
<td> </td>
|
||||
<td colspan="4" class="text-left">Versandkosten:</td>
|
||||
<td class="text-right"> </td>
|
||||
<td class="text-right">{{Util::formatNumber($user_cart['shipping_price'])}} €</td>
|
||||
</tr>
|
||||
<tr class="foot-small">
|
||||
<td> </td>
|
||||
<td colspan="2" class="border-top"><strong>Zwischensumme:</strong></td>
|
||||
<td class="border-top text-right"><strong>{{$user_cart['points']}}</strong></td>
|
||||
<td> </td>
|
||||
<td class="border-top text-right"><strong>{{Util::formatNumber($user_cart['price'])}} €</strong></td>
|
||||
<td class="border-top text-right"><strong>{{Util::formatNumber($user_cart['ek_price'])}} €</strong></td>
|
||||
</tr>
|
||||
@endif
|
||||
|
||||
@endif
|
||||
97
resources/views/pdf/invoice-homeparty.blade.php
Normal file
97
resources/views/pdf/invoice-homeparty.blade.php
Normal file
|
|
@ -0,0 +1,97 @@
|
|||
<div id="invoice_box">
|
||||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
<th class="text-left" style="width: 10%">Artikel-Nr.</th>
|
||||
<th class="text-left" style="width: 40%">Bezeichnung</th>
|
||||
<th class="text-right" style="width: 10%">Menge</th>
|
||||
<th class="text-right" style="width: 10%">Points</th>
|
||||
<th class="text-right" style="width: 10%">%</th>
|
||||
<th class="text-right" style="width: 15%">VK-Preis*</th>
|
||||
<th class="text-right" style="width: 15%">EK-Preis*</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@if($shopping_order->homeparty->homeparty_host)
|
||||
@include('pdf.invoice-homeparty-detail', ['homeparty'=>$shopping_order->homeparty, 'homeparty_user' => $shopping_order->homeparty->homeparty_host])
|
||||
@endif
|
||||
|
||||
@if($shopping_order->homeparty->homeparty_guests)
|
||||
@foreach($shopping_order->homeparty->homeparty_guests as $homeparty_guest)
|
||||
@include('pdf.invoice-homeparty-detail', ['homeparty'=>$shopping_order->homeparty, 'homeparty_user' => $homeparty_guest])
|
||||
@endforeach
|
||||
@endif
|
||||
</tbody>
|
||||
|
||||
<tfoot>
|
||||
@php($hp_order = $shopping_order->homeparty->order)
|
||||
@if($hp_order['is_bonus'])
|
||||
<tr class="doubleline foot-small">
|
||||
<td class=""> </td>
|
||||
<td colspan="5" class="border-top">
|
||||
{{ $hp_order['voucher_name'] }}
|
||||
</td>
|
||||
<td class="border-top text-right">{{ Util::formatNumber($hp_order['voucher_price'])}} €</td>
|
||||
</tr>
|
||||
<tr class="fullline">
|
||||
@else
|
||||
<tr class="doubleline">
|
||||
@endif
|
||||
<td class=""> </td>
|
||||
<td colspan="2" class="border-top">
|
||||
<strong>Summe:</strong>
|
||||
</td>
|
||||
<td class="border-top text-right"><strong>{{ $hp_order['points'] - $hp_order['bonus_points_diff'] }}</strong></td>
|
||||
<td class=""> </td>
|
||||
<td class="border-top text-right"><strong>{{ Util::formatNumber($hp_order['price'])}} €</strong></td>
|
||||
<td class="border-top text-right"><strong>{{ Util::formatNumber($hp_order['ek_price'])}} €</strong></td>
|
||||
</tr>
|
||||
<tr class="foot-small">
|
||||
<td class=""> </td>
|
||||
<td colspan="4" class="text-muted">
|
||||
Summe ohne MwSt:
|
||||
</td>
|
||||
<td class="text-muted text-right">{{ Util::formatNumber($hp_order['price_net'])}} €</td>
|
||||
<td class="text-muted text-right">{{ Util::formatNumber($hp_order['ek_price_net'])}} €</td>
|
||||
</tr>
|
||||
|
||||
@if($shopping_order->tax_split)
|
||||
@foreach ($shopping_order->tax_split as $tax_rate => $tax)
|
||||
<tr class="foot-small">
|
||||
<td class=""> </td>
|
||||
<td class="text-left" colspan="4">
|
||||
zzgl. {{ $tax_rate }}% MwSt
|
||||
</td>
|
||||
<td class="text-muted text-right">
|
||||
<span class="no-line-break">
|
||||
{{ Util::formatNumber($tax['vk_tax'])}} €
|
||||
</span>
|
||||
</td>
|
||||
<td class="text-muted text-right">
|
||||
<span class="no-line-break">
|
||||
{{ Util::formatNumber($tax['ek_tax'])}} €
|
||||
</span>
|
||||
</td>
|
||||
</tr>
|
||||
@endforeach
|
||||
@else
|
||||
<tr class="foot-small">
|
||||
<td class=""> </td>
|
||||
<td colspan="4" class="text-muted">
|
||||
Enthaltene MwSt:
|
||||
</td>
|
||||
<td class="text-muted text-right">
|
||||
<span class="no-line-break">
|
||||
{{ Util::formatNumber($hp_order['price']-$hp_order['price_net'])}} €
|
||||
</span>
|
||||
</td>
|
||||
<td class="text-muted text-right">
|
||||
<span class="no-line-break">
|
||||
{{ Util::formatNumber($hp_order['ek_price']-$hp_order['ek_price_net'])}} €
|
||||
</span>
|
||||
</td>
|
||||
</tr>
|
||||
@endif
|
||||
</tfoot>
|
||||
</table>
|
||||
</div>
|
||||
401
resources/views/pdf/invoice.blade.php
Executable file
401
resources/views/pdf/invoice.blade.php
Executable file
|
|
@ -0,0 +1,401 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
|
||||
<title>mivita.care</title>
|
||||
<style>
|
||||
|
||||
/* roboto-300 - latin */
|
||||
@font-face {
|
||||
font-family: 'Roboto';
|
||||
font-style: normal;
|
||||
font-weight: 300;
|
||||
src: url('fonts/roboto/roboto-v20-latin-300.ttf') format('truetype'), /* Safari, Android, iOS */
|
||||
}
|
||||
/* roboto-regular - latin */
|
||||
@font-face {
|
||||
font-family: 'Roboto';
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
src: url('fonts/roboto/roboto-v20-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
|
||||
}
|
||||
/* roboto-500 - latin */
|
||||
@font-face {
|
||||
font-family: 'Roboto';
|
||||
font-style: normal;
|
||||
font-weight: 500;
|
||||
src: url('fonts/roboto/roboto-v20-latin-500.ttf') format('truetype'), /* Safari, Android, iOS */
|
||||
}
|
||||
/* roboto-700 - latin */
|
||||
@font-face {
|
||||
font-family: 'Roboto';
|
||||
font-style: normal;
|
||||
font-weight: 700;
|
||||
src: url('fonts/roboto/roboto-v20-latin-700.ttf') format('truetype'), /* Safari, Android, iOS */
|
||||
}
|
||||
html {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
body {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
margin: 0 auto;
|
||||
padding: 0;
|
||||
color: #000;
|
||||
background: #fff;
|
||||
font-family: 'Roboto', sans-serif;
|
||||
font-size: 9.5pt;
|
||||
font-weight: 400 ;
|
||||
}
|
||||
table {
|
||||
border: none;
|
||||
}
|
||||
|
||||
strong {
|
||||
font-weight: bold !important;
|
||||
}
|
||||
|
||||
@page {
|
||||
margin: 0px;
|
||||
}
|
||||
@page {
|
||||
margin-top: 0px;
|
||||
}
|
||||
|
||||
|
||||
@page {
|
||||
margin: 50mm 0 45mm 0;
|
||||
}
|
||||
|
||||
.font-weight-bold {
|
||||
font-weight: bold !important;
|
||||
}
|
||||
|
||||
#address_box {
|
||||
position: relative;
|
||||
padding-left: 15mm;
|
||||
width: 90mm;
|
||||
height: 40mm;
|
||||
z-index: 1;
|
||||
line-height: 10pt;
|
||||
letter-spacing: 0em;
|
||||
}
|
||||
|
||||
#address_box_top {
|
||||
font-size: 8.5pt;
|
||||
color:#858585;
|
||||
margin-bottom: 0.5em;
|
||||
}
|
||||
|
||||
#title_box {
|
||||
position: relative;
|
||||
padding-left: 15mm;
|
||||
width: 180mm;
|
||||
height: 8mm;
|
||||
z-index: 2;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
#title_box .title {
|
||||
font-size: 16pt;
|
||||
line-height: 12pt;
|
||||
}
|
||||
|
||||
#title_box .subtitle {
|
||||
line-height: 9pt;
|
||||
}
|
||||
|
||||
#detail_box_right {
|
||||
position: absolute;
|
||||
top:-4mm;
|
||||
right: 15mm;
|
||||
width: 60mm;
|
||||
height: 30mm;
|
||||
z-index: 4;
|
||||
}
|
||||
#detail_box_right.for_shop {
|
||||
top:10mm;
|
||||
}
|
||||
|
||||
#detail_box_right table {
|
||||
width: 100%;
|
||||
line-height: 9pt;
|
||||
}
|
||||
|
||||
.xsmall {
|
||||
font-size: 0.9em;
|
||||
}
|
||||
#invoice_box {
|
||||
position: relative;
|
||||
padding-top: 0mm;
|
||||
margin-left: 15mm;
|
||||
width: 180mm;
|
||||
line-height: 10pt;
|
||||
}
|
||||
|
||||
#invoice_box table {
|
||||
width: 100%;
|
||||
border-collapse: collapse;
|
||||
}
|
||||
|
||||
#invoice_box table tfoot tr {
|
||||
page-break-after: avoid;
|
||||
}
|
||||
#invoice_box table tr th {
|
||||
font-size: 9pt;
|
||||
}
|
||||
|
||||
#invoice_box table tr td {
|
||||
vertical-align: top;
|
||||
padding-top: 2mm;
|
||||
padding-bottom: 2mm;
|
||||
padding-left: 1.5mm;
|
||||
padding-right: 1.5mm;
|
||||
border-top: 0.5pt dotted #1a1a18;
|
||||
}
|
||||
|
||||
#invoice_box table tfoot tr td {
|
||||
border-top: none;
|
||||
}
|
||||
|
||||
#invoice_box table tfoot tr.fullline td {
|
||||
border-top: 0.3pt solid #575755;
|
||||
}
|
||||
|
||||
#invoice_box table tfoot tr.doubleline td {
|
||||
border-top: 2pt double #575755;
|
||||
}
|
||||
|
||||
#invoice_box table tfoot tr.fullline td.no-border {
|
||||
border-top: none;
|
||||
}
|
||||
|
||||
#invoice_box table tfoot tr td {
|
||||
padding-top: 1.2mm;
|
||||
padding-bottom: 1.2mm;
|
||||
|
||||
}
|
||||
|
||||
#invoice_box table td.small {
|
||||
width: 1%;
|
||||
white-space: nowrap;
|
||||
}
|
||||
#invoice_box table tr.foot-small td {
|
||||
font-size: 0.9em;
|
||||
padding-top: 1.2mm;
|
||||
padding-bottom: 1.2mm;
|
||||
}
|
||||
|
||||
#invoice_box table tfoot tr.foot-small td {
|
||||
font-size: 0.9em;
|
||||
padding-top: 0.9mm;
|
||||
padding-bottom: 0.9mm;
|
||||
}
|
||||
|
||||
#invoice_box table tr th {
|
||||
line-height: 12pt;
|
||||
padding-bottom: 1mm;
|
||||
padding-left: 1mm;
|
||||
padding-right: 1mm;
|
||||
background-color: rgb(212, 212, 212);
|
||||
}
|
||||
|
||||
|
||||
|
||||
#invoice_box table td .title {
|
||||
}
|
||||
#invoice_box table td .description {
|
||||
padding-top: 1mm;
|
||||
}
|
||||
|
||||
#invoice_box table td .price_net {
|
||||
padding-top: 1mm;
|
||||
font-size: 10pt;
|
||||
padding-bottom: 1mm;
|
||||
}
|
||||
|
||||
#invoice_box table td .price_tax {
|
||||
padding-top: 0.7mm;
|
||||
padding-bottom: 0.7mm;
|
||||
}
|
||||
|
||||
.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: relative;
|
||||
top:5mm;
|
||||
left: 15mm;
|
||||
width: 180mm;
|
||||
height: 20mm;
|
||||
z-index: 6;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.text-right {
|
||||
text-align: right;
|
||||
}
|
||||
.text-left {
|
||||
text-align: left;
|
||||
}
|
||||
.text-center {
|
||||
text-align: center;
|
||||
}
|
||||
.no-line-break {
|
||||
white-space: nowrap;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<script type="text/php">
|
||||
if ( isset($pdf) ) {
|
||||
$pdf->page_script('
|
||||
if ($PAGE_COUNT > 1) {
|
||||
$pageText = "Seite: ".$PAGE_NUM . "/" . $PAGE_COUNT;
|
||||
$y = 40 * 3;
|
||||
$x = 170 * 3;
|
||||
$pdf->text($x, $y, $pageText, null, 9);
|
||||
}
|
||||
');
|
||||
}
|
||||
</script>
|
||||
<div id="address_box">
|
||||
<div id="address_box_top">mivita e.K. • Leinfeld 2 • 87755 Kirchhaslach</div>
|
||||
@if($shopping_order->shopping_user->billing_company)
|
||||
{{ $shopping_order->shopping_user->billing_company }}<br>
|
||||
@else
|
||||
@if($shopping_order->payment_for !== 6)
|
||||
Firma <br>
|
||||
@endif
|
||||
@endif
|
||||
{{ \App\Services\HTMLHelper::getSalutationLang($shopping_order->shopping_user->billing_salutation) }}
|
||||
{{ $shopping_order->shopping_user->billing_firstname }} {{ $shopping_order->shopping_user->billing_lastname }}<br>
|
||||
{{ $shopping_order->shopping_user->billing_address }}<br>
|
||||
@if($shopping_order->shopping_user->billing_address_2)
|
||||
{{ $shopping_order->shopping_user->billing_address_2 }}<br>
|
||||
@endif
|
||||
{{ $shopping_order->shopping_user->billing_zipcode }} {{ $shopping_order->shopping_user->billing_city }}<br>
|
||||
@if($shopping_order->shopping_user->billing_country)
|
||||
{{ $shopping_order->shopping_user->billing_country->getLocated() }}
|
||||
@endif
|
||||
</div>
|
||||
@if($shopping_order->payment_for === 6)
|
||||
<div id="detail_box_right" class="for_shop">
|
||||
<table>
|
||||
<tr>
|
||||
<td class="text-left">{{ __('Datum') }}:</td>
|
||||
<td class="text-right">{{ $invoice_date }}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="text-left">{{ __('Rechnungs-Nr.') }}:</td>
|
||||
<td class="text-right">{{ $invoice_number }}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="text-left">{{ __('Bestell-Nr.') }}:</td>
|
||||
<td class="text-right xsmall">{{ $shopping_order->getLastShoppingPayment('reference') }}</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
@else
|
||||
<div id="detail_box_right">
|
||||
<table>
|
||||
<tr>
|
||||
<tr>
|
||||
<td class="text-left">{{ __('Berater-ID') }}:</td>
|
||||
@if($shopping_order->payment_for === 7) //extern
|
||||
<td class="text-right">
|
||||
@if(isset($shopping_order->member->account))
|
||||
{!! str_pad($shopping_order->member->account->m_account, 5, "0", STR_PAD_LEFT) !!}
|
||||
@endif
|
||||
</td>
|
||||
@else
|
||||
<td class="text-right">
|
||||
@if(isset($shopping_order->shopping_user->auth_user->account))
|
||||
{!! str_pad($shopping_order->auth_user->account->m_account, 5, "0", STR_PAD_LEFT) !!}
|
||||
@endif
|
||||
</td>
|
||||
@endif
|
||||
</tr>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="text-left">{{ __('Datum') }}:</td>
|
||||
<td class="text-right">{{ $invoice_date }}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="text-left">{{ __('Rechnungs-Nr.') }}:</td>
|
||||
<td class="text-right">{{ $invoice_number }}</td>
|
||||
</tr>
|
||||
|
||||
@if(isset($user_sales_volume))
|
||||
<tr>
|
||||
<td class="text-left">{{ __('Points Bestellung') }}:</td>
|
||||
<td class="text-right">{{ $user_sales_volume->points }}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="text-left">{{ __('Points') }} {{ $user_sales_volume->getFormatedMonthYear() }}:</td>
|
||||
<td class="text-right">{{ $user_sales_volume->month_points }}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="text-left">{{ __('Points Shop') }} {{ $user_sales_volume->getFormatedMonthYear() }}:</td>
|
||||
<td class="text-right">{{ $user_sales_volume->month_shop_points }}</td>
|
||||
</tr>
|
||||
@endif
|
||||
<tr>
|
||||
<td class="text-left">{{ __('Bestell-Nr.') }}:</td>
|
||||
<td class="text-right xsmall">{{ $shopping_order->getLastShoppingPayment('reference') }}</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
@endif
|
||||
<div id="title_box">
|
||||
<div class="title">RECHNUNG</div>
|
||||
{{-- @if($cancellation)
|
||||
<div class="subtitle">{{ $invoice->invoice_name }}</div>
|
||||
@endif--}}
|
||||
</div>
|
||||
@if($shopping_order->homeparty)
|
||||
@include('pdf.invoice-homeparty')
|
||||
@else
|
||||
@include('pdf.invoice-detail')
|
||||
@endif
|
||||
|
||||
<div id="footer_box">
|
||||
<div class="text">
|
||||
<p>Zahlungsart: {{ $shopping_order->getLastShoppingPayment('getPaymentType') }} / Status der Rechnung: {{ App\Services\Payment::getFormattedTxaction($shopping_order->txaction) }}<br>
|
||||
Lieferdatum entspricht dem Rechnungsdatum.
|
||||
@if($shopping_order->tax == 0)
|
||||
<br><span class="xsmall">* Preise netto</span>
|
||||
@endif
|
||||
|
||||
</p>
|
||||
@if($shopping_order->member)
|
||||
<div class="dotted-line"></div>
|
||||
<p>Bei Fragen sind wir jederzeit für Dich da.<br>
|
||||
@if($shopping_order->member->shop && $shopping_order->member->isActiveShop())
|
||||
@if($shopping_order->member->shop->title)
|
||||
<b>{{ $shopping_order->member->shop->title }}</b><br>
|
||||
@endif
|
||||
@if($shopping_order->member->shop->contact)
|
||||
{!! str_replace(array("\r\n", "\r", "\n"), " • ", $shopping_order->member->shop->contact) !!}<br>
|
||||
@endif
|
||||
<a href="{{ $shopping_order->member->shop->getSubdomain(true) }}">{{ $shopping_order->member->shop->getSubdomain(true) }}</a>
|
||||
@else
|
||||
Dein Berater: {{$shopping_order->member->getFullName()}}
|
||||
@endif
|
||||
</p>
|
||||
@endif
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -18,6 +18,7 @@
|
|||
<th>{{__('Status')}}</th>
|
||||
<th>{{__('Versand')}}</th>
|
||||
<th>{{__('Art')}}</th>
|
||||
<th>{{__('Rechnung')}}</th>
|
||||
<th>{{__('First name')}}</th>
|
||||
<th>{{__('Last name')}}</th>
|
||||
<th>{{__('E-Mail')}}</th>
|
||||
|
|
@ -41,7 +42,8 @@
|
|||
{ data: 'payment', name: 'payment', orderable: false },
|
||||
{ data: 'txaction', name: 'txaction' },
|
||||
{ data: 'shipped', name: 'shipped' },
|
||||
{ data: 'is_for', name: 'is_for', orderable: false },
|
||||
{ data: 'payment_for', name: 'payment_for' },
|
||||
{ data: 'invoice', name: 'invoice', orderable: false },
|
||||
{ data: 'shopping_user.shipping_firstname', name: 'shopping_user.shipping_firstname', orderable: false },
|
||||
{ data: 'shopping_user.shipping_lastname', name: 'shopping_user.shipping_lastname', orderable: false },
|
||||
{ data: 'shopping_user.shipping_email', name: 'shopping_user.shipping_email', orderable: false },
|
||||
|
|
|
|||
|
|
@ -21,7 +21,8 @@
|
|||
<th>{{__('Datum')}}</th>
|
||||
<th>{{__('Status')}}</th>
|
||||
<th>{{__('Betrag')}}</th>
|
||||
<!--<th>{{__('Käufe')}}</th-->
|
||||
<th>{{__('Rechnung')}}</th>
|
||||
<th>{{__('Art')}}</th>
|
||||
</tr>
|
||||
</thead>
|
||||
</table>
|
||||
|
|
@ -42,7 +43,8 @@
|
|||
{ data: 'created_at', name: 'created_at' },
|
||||
{ data: 'txaction', name: 'txaction' },
|
||||
{ data: 'total_shipping', name: 'total_shipping' },
|
||||
// { data: 'shopping_user.orders', name: 'shopping_user.orders' },
|
||||
{ data: 'invoice', name: 'invoice', orderable: false },
|
||||
{ data: 'payment_for', name: 'payment_for' },
|
||||
],
|
||||
"bLengthChange": false,
|
||||
"iDisplayLength": 100,
|
||||
|
|
|
|||
|
|
@ -37,6 +37,14 @@
|
|||
src="https://www.facebook.com/tr?id=454469462537092&ev=PageView&noscript=1"
|
||||
/></noscript>
|
||||
<!-- End Facebook Pixel Code -->
|
||||
|
||||
<!-- Google Tag Manager -->
|
||||
<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
|
||||
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
|
||||
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
|
||||
'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
|
||||
})(window,document,'script','dataLayer','GTM-TKWXCX6');</script>
|
||||
<!-- End Google Tag Manager -->
|
||||
@else
|
||||
<link rel="stylesheet" type="text/css" href="{{ asset('/css/cookieconsent.min.css') }}" />
|
||||
<script src="{{ asset('/js/cookieconsent.min.js') }}"></script>
|
||||
|
|
@ -81,7 +89,12 @@
|
|||
</head>
|
||||
|
||||
<body class="smoothscroll enable-animation">
|
||||
|
||||
@if(Util::isMivitaShop())
|
||||
<!-- Google Tag Manager (noscript) -->
|
||||
<noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-TKWXCX6"
|
||||
height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
|
||||
<!-- End Google Tag Manager (noscript) -->
|
||||
@endif
|
||||
@if(isset($mylangs))
|
||||
|
||||
<div id="sidepanel" class="sidepanel-light">
|
||||
|
|
|
|||
|
|
@ -125,11 +125,12 @@
|
|||
<div class="text-center">
|
||||
<a href="{{url('/produkte')}}" class="btn btn-lg btn-primary ">Alle Produkte anzeigen</a>
|
||||
</div>
|
||||
<div class="divider divider-center divider-color"><!-- divider -->
|
||||
<i class="fa fa-chevron-down"></i>
|
||||
</div>
|
||||
|
||||
|
||||
<h1>Spare mit Sets</h1>
|
||||
{{--
|
||||
<div class="divider divider-center divider-color"><!-- divider -->
|
||||
<i class="fa fa-chevron-down"></i>
|
||||
</div><h1>Spare mit Sets</h1>
|
||||
<ul class="shop-item-list row list-inline nomargin">
|
||||
@foreach($site->getProductSetModels() as $product)
|
||||
<!-- ITEM -->
|
||||
|
|
@ -142,6 +143,7 @@
|
|||
<div class="text-center">
|
||||
<a href="{{url('/produkte/aktions-sets')}}" class="btn btn-lg btn-primary ">Alle Sets anzeigen</a>
|
||||
</div>
|
||||
--}}
|
||||
|
||||
</div>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue