Updates to 03-2025

This commit is contained in:
Kevin Adametz 2025-04-01 10:39:21 +02:00
parent 6167273a48
commit 9b54eb0512
348 changed files with 34535 additions and 5774 deletions

View file

@ -50,6 +50,38 @@
</div>
</div>
<div class="card mb-2">
<h5 class="card-header">
Lieferland
</h5>
<div class="card-body">
<div class="form-group col-sm-12">
<label class="custom-control custom-checkbox">
{!! Form::checkbox('eu_country', 1, $country->eu_country, ['class'=>'custom-control-input']) !!}
<span class="custom-control-label">Reverse Charge Verfahren (Berater aus diesen Ländern (EU-Ausland) können mit ihrer UST-ID steuerfrei kaufen) </span>
</label>
<p class="small">Hinweis: Die UST-ID muss erst im Kundenkonto des VP verifiziert werden, im Land des VP muss das Reverse Charge Verfahren aktiviert sein. </p>
</div>
<div class="form-group col-sm-12">
<label class="form-label">EU-Land - / Drittland (UST)</label>
<div class="custom-controls-stacked">
<label class="custom-control custom-radio">
{!! Form::radio('supply_country', 0, !$country->supply_country, ['class'=>'custom-control-input']) !!}
<span class="custom-control-label">EU-Land (innerhalb dieser Länder wird die UST berechnet, Ausnahme Reverse Charge Verfahren )</span>
</label>
<label class="custom-control custom-radio">
{!! Form::radio('supply_country', 1, $country->supply_country, ['class'=>'custom-control-input']) !!}
<span class="custom-control-label">Drittland (innerhalb dieser Länder wird <strong>keine</strong> UST berechnert, bsp. Schweiz,)</span>
</label>
</div>
<p class="small">Hinweis: Drittland, die Bestellung ist UST-frei solange die Bestellung in ein Drittland geliefert wird. Wird aus einem Drittland in ein EU-Land geliefert, wird die UST berechnet.
Reverse Charge Verfahren kann nur in einem EU-Land angewendet werden, wenn es auch in das selbe Land gesendet wird. Ausnahme DE -> DE.
</p>
</div>
</div>
</div>
<div class="card mb-2">
<h5 class="card-header">
Anzeige und Währung
@ -59,35 +91,41 @@
<div class="form-group col-sm-12">
<label class="custom-control custom-checkbox">
{!! Form::checkbox('switch', 1, $country->switch, ['class'=>'custom-control-input']) !!}
<span class="custom-control-label">Land als Auswahl auf der Webseite anzeigen (Länderwechsel)</span>
<span class="custom-control-label">Länderwechsel | Land als Auswahl auf den Shopseiten anzeigen</span>
</label>
<p class="small">Hinweis: Die hier aktivierten Länder werden auf den Shopseiten zum Länderwächsel angezeigt, allerdings müssen auch die Versandkosten angelegt sein.</p>
</div>
{{--
<div class="form-group col-sm-12">
<label class="custom-control custom-checkbox">
{!! Form::checkbox('switch', 1, $country->switch, ['class'=>'custom-control-input']) !!}
<span class="custom-control-label">Eigenes Lieferland ()</span>
{!! Form::checkbox('translate', 1, $country->translate, ['class'=>'custom-control-input']) !!}
<span class="custom-control-label">Sprachwechsel | Land als Auswahl auf den Shopseiten und im Salescenter anzeigen</span>
</label>
<p class="small">Hinweis: Die hier aktivierten Länder werden auf den Shopseiten und im Salescenter zum Sprachwechsel angezeigt, allerdings muss auch die Übersetzung mit dem Länderkürzel ({{ strtolower($country->code) }}) angelegt sein.</p>
</div>
--}}
<div class="form-group col-sm-12">
<label class="custom-control custom-checkbox">
{!! Form::checkbox('own_eur', 1, $country->own_eur, ['class'=>'custom-control-input']) !!}
<span class="custom-control-label">Land hat eigenen EURO Preis</span>
</label>
<p class="small">Hinweis: Hier kann bei den Produkten der EURO-Preis überschrieben werden, in diesem Land gelten dann höhere oder niedrigere Preise</p>
</div>
<div class="col-12">
<hr class="mt-0">
</div>
<div class="form-group col-sm-6">
<div class="form-group col-sm-12">
<label class="form-label">Eigene Währung</label>
<label class="custom-control custom-checkbox">
{!! Form::checkbox('currency', 1, $country->currency, ['class'=>'custom-control-input', 'id'=>'currency']) !!}
<span class="custom-control-label">Land hat eigene Währung<br>(Währung wird nur zuzsätzlich zum EUR angezeigt, bezahlt wird in EUR)</span>
<span class="custom-control-label">Land hat eigene Währung</span>
</label>
<p class="small">Hinweis: Währung wird nur zuzsätzlich zum EUR angezeigt, wenn für das jeweilige Land bestellt wird, bezahlt wird in EUR</p>
</div>
<div class="form-group col-sm-6">
<label class="form-label" for="currency_unit">Abkürzung der Währung</label>
{{ Form::text('currency_unit', $country->currency_unit, array('placeholder'=>__('CHF'), 'class'=>'form-control', 'id'=>'currency_unit')) }}
</div>
</div>
<div id="show_currency_calc" style="display: @if($country->currency) block @else none @endif">
<div class="form-row">
@ -95,6 +133,10 @@
<hr class="mt-0" >
</div>
<div class="form-group col-sm-6">
<label class="form-label" for="currency_unit">Abkürzung der Währung</label>
{{ Form::text('currency_unit', $country->currency_unit, array('placeholder'=>__('CHF'), 'class'=>'form-control', 'id'=>'currency_unit')) }}
</div>
{{-- <div class="form-group col-sm-6">
<label class="form-label">Umrechnungsfaktor zum EUR {{$country->currency_calc}}</label>
<div class="custom-controls-stacked">
<label class="custom-control custom-radio">
@ -106,17 +148,18 @@
<span class="custom-control-label">berechnet den Preis automatisch</span>
</label>
</div>
</div>
<p class="small">Hinweis: Ist für die Einstellungen bei den Produktenpreisen.</p>
</div>--}}
<div class="form-group col-sm-6">
<label class="form-label" for="currency_faktor">Faktor Währungen zum Euro (z.B. 1 Euro zu 1,07 CHF)</label>
{{ Form::text('currency_faktor', formatNumber($country->currency_faktor, 4), array('placeholder'=>__('1,07'), 'class'=>'form-control', 'id'=>'currency_faktor')) }}
</div>
<p class="small">Hinweis: Der Preis berechnet sich automatisch nach dem Faktor.</p>
</div>
</div>
</div>
</div>
<div class="card mb-2">
<h5 class="card-header">
{{trans('register.required_fields')}}

View file

@ -15,6 +15,8 @@
<th>{{__('Code')}}</th>
<th>{{__('Phone')}}</th>
<th>{{__('Status')}}</th>
<th>{{__('Reverse Charge')}}</th>
<th>{{__('Drittland') }}</th>
<th>{{__('Länderwechsel')}}</th>
<th>{{__('e. Preis')}}</th>
<th>{{__('e. Währung')}}</th>
@ -33,6 +35,8 @@
<td>{{ $value->code }}</td>
<td>{{ $value->phone }}</td>
<td data-sort="{{ $value->active }}">{!! get_active_badge($value->active) !!}</td>
<td data-sort="{{ $value->eu_country }}">{!! get_active_badge($value->eu_country) !!}</td>
<td data-sort="{{ $value->supply_country }}">{!! get_active_badge($value->supply_country) !!}</td>
<td data-sort="{{ $value->switch }}">{!! get_active_badge($value->switch) !!}</td>
<td data-sort="{{ $value->own_eur }}">{!! get_active_badge($value->own_eur) !!}</td>
<td data-sort="{{ $value->currency }}">{!! get_active_badge($value->currency) !!} {{$value->currency_unit}}</td>
@ -61,14 +65,13 @@
<script>
$( document ).ready(function() {
$('.datatables-style').dataTable({
"bLengthChange": false,
"iDisplayLength": 50,
"order": [[ 0, "asc" ]],
"language": {
"url": "/js/German.json"
"url": "/js/datatables-{{ \App::getLocale() }}.json"
}
});
});