Berater bestellungen kleine Änderungen

This commit is contained in:
Kevin Adametz 2020-09-15 17:46:39 +02:00
parent c4ed6b39db
commit 74923859d1
8 changed files with 64 additions and 49 deletions

View file

@ -112,11 +112,13 @@
</div>
@else
<div class="col-md-6 mb-3">
{{--
@if(!$shopping_user->is_like)
<a href="{{ route('user_order_my_delivery', ['ot', $shopping_user->id]) }}" class="btn btn-sm btn-secondary mt-2">
<span class="fa fa-shopping-cart"></span> Bestellung für diesen Kunden aufgeben
</a>
@endif
--}}
</div>
<div class="col-md-6 mb-3">
<div class="text-muted small">Kundenhoheit</div>

View file

@ -196,16 +196,10 @@
<div class="card mb-2">
<h6 class="card-header">
{{__('Länder')}}
{{__('Land')}}
</h6>
<div class="card-datatable table-responsive">
<table class="datatables-style table table-striped table-bordered">
<thead>
<tr>
<th>{{__('Land')}}</th>
<th></th>
</tr>
</thead>
<tbody>
@foreach($value->countries as $country)
<tr>
@ -224,12 +218,14 @@
@endforeach
</tbody>
</table>
@if(!$value->countries->count())
<div class="mt-4 ml-4">
<button type="button" class="btn btn-sm btn-primary" data-toggle="modal" data-target="#modals-country"
data-id="new"
>{{__('Land hinzufügen')}}</button>
</div>
@endif
</div>
</div>
@ -250,7 +246,7 @@
<div class="form-row">
<div class="form-group col">
<label for="country_ids" class="form-label">{{__('Versandkosten gelten für diese Länder')}}</label>
<select class="selectpicker" data-style="btn-default" name="country_ids[]" multiple>
<select class="selectpicker" data-style="btn-default" name="country_ids[]">
{!! HTMLHelper::getCountriesWithoutUsedShippings() !!}
</select>
</div>