{{ $user_promotion->promotion_admin->name }} @if ($user_promotion->promotion_admin->from) | vom: {{ $user_promotion->promotion_admin->from }} @endif @if ($user_promotion->promotion_admin->from) | bis: {{ $user_promotion->promotion_admin->to }} @endif
{{ Form::text('name', $user_promotion->name, ['placeholder' => __('Promotion Titel'), 'class' => 'form-control bootstrap-maxlength', 'maxlength'=>50, 'id' => 'name', 'required' => true]) }} @if ($errors->has('name')) {{ $errors->first('name') }} @endif
{{ Form::textarea('description', $user_promotion->description, ['placeholder' => __('Kurzbeschreibung'), 'class' => 'form-control bootstrap-maxlength text-autosize', 'maxlength'=>600, 'rows' => 1, 'id' => 'description']) }}
{{ Form::textarea('about_you', $user_promotion->about_you, ['placeholder' => __('Über dich'), 'class' => 'form-control bootstrap-maxlength text-autosize', 'maxlength'=>600, 'rows' => 1, 'id' => 'about_you']) }}

Einen kurzen Text über Dich kannst Du in "Mein Konto - Mein Profil" hinterlegen, dieser wird automatisch hier eingefügt, kann aber abgeändert werden.


{{ Form::text('internal_name', $user_promotion->internal_name, ['placeholder' => __('Promotion Interner Titel'), 'class' => 'form-control', 'id' => 'internal_name', 'required' => true]) }} @if ($errors->has('internal_name')) {{ $errors->first('internal_name') }} @endif
{{ Form::textarea('internal_description', $user_promotion->internal_description, ['placeholder' => __('Interne Kurzbeschreibung'), 'class' => 'form-control text-autosize', 'rows' => 1, 'id' => 'internal_description']) }}

{{ config('app.promo_domain') }} /  
{{ Form::text('user_promotion_url', $user_promotion->url, ['placeholder' => 'z.B. "thomas" oder "dani21" o.ä.', 'class' => 'form-control' . ($errors->has('user_promotion_url') ? ' is-invalid' : ''), 'id' => 'user_promotion_url', 'required' => true]) }}
@if ($errors->has('user_promotion_url')) {{ $errors->first('user_promotion_url') }} @endif
{{ Form::text('preview_user_promotion_url', $user_promotion->getUrlPreview(), ['placeholder' => __('Vorschau Shop-Internet Adresse'), 'class' => 'form-control', 'id' => 'preview_user_promotion_url', 'readonly']) }}

Wird die Domain für die Promotion geändert, ist die aktuelle Domain ab sofort nicht mehr aufrufbar, bitte denkt daran Eure Kunden zu informieren.


{{ Form::textarea('user_address', $user_promotion->user_address, ['class' => 'form-control', 'rows' => 5, 'id' => 'user_address']) }}

Aktuelles Guthaben: {{ Auth::user()->getFormattedPaymentCredit() }} € (Guthaben aufladen unter: Bestellungen aufgeben - Guthaben aufladen
@foreach ($user_promotion->promotion_admin->promotion_admin_products_active as $promotion_admin_product) @endforeach
Aktiv {{ __('Anzahl') }} {{ __('Produkt') }} {{ __('Mein Preis netto') }} {{ __('Mein Preis brutto') }} {{ __('Gesamt Preis brutto') }} {{ __('geordert') }}
@if ($promotion_admin_product->product) @if ($promotion_admin_product->product->images) @if ($image = $promotion_admin_product->product->images->first()) @endif @endif
{{ $promotion_admin_product->product->name }} #{{ $promotion_admin_product->product->number }} Inhalt: {{ $promotion_admin_product->product->contents }}
Gewicht: {{ $promotion_admin_product->product->weight }} g
@endif
{{ $promotion_admin_product->getFormattedPriceWith(true) }} € {{ $promotion_admin_product->getFormattedPriceWith(false) }} € {{ $promotion_admin_product->getPromotionUserProducts($user_promotion, 'sell_items') }}

@include('user.promotion.cart', ['user_promotion_cart'=> $user_promotion_cart, 'checkPaymentCredit' => $checkPaymentCredit] )
@section('scripts') @endsection