Lieferland UST CH, Reverse Charge

This commit is contained in:
Kevin Adametz 2021-08-03 16:00:01 +02:00
parent c90fe38039
commit 33dae5adf3
19 changed files with 455 additions and 41 deletions

View file

@ -50,6 +50,32 @@
</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 können mit ihrer UST-ID steuerfrei kaufen) </span>
</label>
</div>
<div class="form-group col-sm-12">
<label class="form-label">Basis- / Lieferland</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">Basisland (in diese Länder kann aus den deutschem Raum bestellt werden)</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">Lieferland (in diese Länder kann nur direkt bestellt werden, bsp. Schweiz)</span>
</label>
</div>
</div>
</div>
</div>
<div class="card mb-2">
<h5 class="card-header">
@ -60,7 +86,7 @@
<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 aus Auswahl auf der Webseite anzeigen (Länderwechsel)</span>
<span class="custom-control-label">Land als Auswahl auf der Webseite anzeigen (Länderwechsel)</span>
</label>
</div>
<div class="form-group col-sm-12">

View file

@ -15,7 +15,9 @@
<th>{{__('Code')}}</th>
<th>{{__('Phone')}}</th>
<th>{{__('Status')}}</th>
<th>{{__('Reverse Charge')}}</th>
<th>{{__('Länderwechsel')}}</th>
<th>{{__('Lieferland') }}</th>
<th>{{__('e. Preis')}}</th>
<th>{{__('e. Währung')}}</th>
<th>{{__('Kalkulation')}}</th>
@ -33,7 +35,9 @@
<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->switch }}">{!! get_active_badge($value->switch) !!}</td>
<td data-sort="{{ $value->supply_country }}">{!! get_active_badge($value->supply_country) !!}</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>
<td data-sort="{{ $value->currency_calc }}">