This commit is contained in:
Kevin Adametz 2024-08-05 12:05:24 +02:00
parent 04d677d37a
commit bfa3bb1df4
1191 changed files with 637397 additions and 10619 deletions

View file

@ -2,7 +2,7 @@
<div class="card mb-2">
<h5 class="card-header">
{{ __('Produkt') }}
{{ __('Product') }}
</h5>
@ -11,10 +11,10 @@
<div class="form-group">
<label class="custom-control custom-checkbox float-right">
{!! Form::checkbox('active', 1, $product->active, ['class'=>'custom-control-input']) !!}
<span class="custom-control-label">{{__('aktiv')}}</span>
<span class="custom-control-label">{{__('activ')}}</span>
</label>
<label class="form-label" for="name">{{ __('Produktname / Titel') }}*</label>
{{ Form::text('name', $product->name, array('placeholder'=>__('Name'), 'class'=>'form-control', 'id'=>'name', 'required')) }}
<label class="form-label">{{ __('Produktname / Titel') }}*</label>
{{ Form::text('name', $product->getLang('name'), array('placeholder'=>__('Name'), 'class'=>'form-control', 'id'=>'name', 'required')) }}
</div>
<div class="form-row">
@ -146,7 +146,7 @@
</label>
</div>
<div class="form-group col-md-3 col-sm-6">
{{ Form::text('sponsor_buying_points_amount', $product->sponsor_buying_points_amount, array('placeholder'=>__('Anzahl KP'), 'class'=>'form-control', 'id'=>'sponsor_buying_points_amount')) }}
{{ Form::text('sponsor_buying_points_amount', $product->sponsor_buying_points_amount, array('placeholder'=>__('Anzahl KU'), 'class'=>'form-control', 'id'=>'sponsor_buying_points_amount')) }}
</div>
</div>
</div>
@ -306,7 +306,7 @@
<div class="card mb-2">
<h5 class="card-header">
{{ __('Inhalte') }}
{{ __('order.contents') }}
</h5>
<div class="card-body">
<div class="card-datatable table-responsive pt-0">
@ -325,7 +325,7 @@
<td>{{ $ingredient->name }}</td>
<td>{{ $ingredient->inci }}</td>
<td>{{ $ingredient->effect }}</td>
<td><a class="text-danger" href="{{ route('admin_product_delete', [$product->id, 'ingredient', $ingredient->id]) }}" onclick="return confirm('{{__('Eintrag entfernen?')}}');"><i class="far fa-trash-alt"></i></a></td>
<td><a class="text-danger" href="{{ route('admin_product_delete', [$product->id, 'ingredient', $ingredient->id]) }}" onclick="return confirm('{{__('Eintrag entfernen?')}}');"><i class="fa fa-trash-alt"></i></a></td>
</tr>
@endforeach
</tbody>