promotion 1.0
This commit is contained in:
parent
1cc8e025a1
commit
570d428b1c
60 changed files with 1596 additions and 272 deletions
|
|
@ -75,6 +75,8 @@
|
|||
<p>
|
||||
<span class="text-muted">#{{$current->member->number}}</span><br>
|
||||
{{$current->member->getFullName()}}<br>
|
||||
@if(isset($current->member->account->zipcode)){{$current->member->account->zipcode}} @endif
|
||||
@if(isset($current->member->account->city)){{$current->member->account->city}} @endif <br>
|
||||
{{$current->member->account->zipcode}} {{$current->member->account->city}}<br>
|
||||
@if($current->member->shop)
|
||||
@if($current->member->isActive() && $current->member->isActiveShop())
|
||||
|
|
|
|||
|
|
@ -34,17 +34,28 @@
|
|||
<div class="form-row">
|
||||
<div class="form-group col-12">
|
||||
<label class="form-label" for="description">{{ __('Promotioninfo') }}</label>
|
||||
{{ Form::textarea('description', $promotion->description , array('placeholder'=>__('Interne Notiz'), 'class'=>'form-control', 'rows'=>2, 'id'=>'description')) }}
|
||||
{{ Form::textarea('description', $promotion->description , array('placeholder'=>__('Interne Notiz'), 'class' => 'form-control text-autosize', 'rows' => 1, 'id'=>'description')) }}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="form-row">
|
||||
|
||||
<div class="form-group col-12">
|
||||
<label class="form-label" for="user_description">{{ __('Vertriebspartner - Kurzbeschreibung Deiner Promotion') }}</label>
|
||||
{{ Form::textarea('user_description', $promotion->user_description , array('placeholder'=>__('Kurzbeschreibung'), 'class' => 'form-control bootstrap-maxlength text-autosize', 'maxlength'=>600, 'rows' => 1, 'id'=>'description')) }}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="form-row">
|
||||
<div class="form-group col-12">
|
||||
<label class="form-label" for="user_about">{{ __('Vertriebspartner - Kurzer Text über Dich') }}</label>
|
||||
{{ Form::textarea('user_about', $promotion->user_about , array('placeholder'=>__('Text über Dich'), 'class' => 'form-control bootstrap-maxlength text-autosize', 'maxlength'=>600, 'rows' => 1, 'id'=>'description')) }}
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-row">
|
||||
<div class="form-group col-sm-3">
|
||||
<label class="form-label" for="max_bugdet">{{ __('Max. gesamtes Budget für diese Promotion') }}</label>
|
||||
{{ Form::text('max_bugdet', $promotion->getFormattedMaxBugdet(), array('placeholder'=>__('Budget in Euro / Brutto'), 'class'=>'form-control', 'id'=>'max_bugdet')) }}
|
||||
</div>
|
||||
|
||||
<div class="form-group col-sm-3">
|
||||
<label class="form-label" for="max_items">{{ __('Max. gesamte Produkte für diese Promotion') }}</label>
|
||||
{{ Form::text('max_items', $promotion->max_items, array('placeholder'=>__('Einheiten in Stück'), 'class'=>'form-control', 'id'=>'max_items')) }}
|
||||
|
|
|
|||
|
|
@ -300,7 +300,14 @@
|
|||
<strong>Vertriebspartnerbestellung für Mitgliedschaft</strong>
|
||||
@endif
|
||||
@if($shopping_order->shopping_user->is_from === 'shopping')
|
||||
<strong>Kundenbestellung über Shop</strong>
|
||||
@if($shopping_order->payment_for === 4)
|
||||
<strong>Kundenbestellung über Promotion</strong>
|
||||
@if($shopping_order->promotion_user)
|
||||
<br>{{ $shopping_order->promotion_user->name }} || {{ $shopping_order->promotion_user->user->getFullName() }}
|
||||
@endif
|
||||
@else
|
||||
<strong>Kundenbestellung über Shop</strong>
|
||||
@endif
|
||||
@endif
|
||||
@if($shopping_order->shopping_user->is_from === 'homeparty')
|
||||
<h5>Vertriebspartnerbestellung für eine Homeparty</h5>
|
||||
|
|
@ -319,7 +326,6 @@
|
|||
}
|
||||
|
||||
</style>
|
||||
|
||||
<div class="table-responsive">
|
||||
<table class="table table-product m-0" style="">
|
||||
<tbody>
|
||||
|
|
@ -352,7 +358,10 @@
|
|||
<small>
|
||||
<span class="text-muted">Inhalt: </span> {{ $shopping_order_item->product->contents }}<br>
|
||||
<span class="text-muted">Gewicht: </span> {{ $shopping_order_item->product->weight }} g<br>
|
||||
{{-- <span class="text-muted">Points: </span> {{ $shopping_order_item->product->points }} --}}
|
||||
@if($shopping_order_item->isFreeProduct())
|
||||
<span class="">Promotionprodukt</span><br>
|
||||
@endif
|
||||
{{-- <span class="text-muted">Points: </span> {{ $shopping_order_item->product->points }} --}}
|
||||
</small>
|
||||
</div>
|
||||
@endif
|
||||
|
|
@ -379,7 +388,6 @@
|
|||
</td>
|
||||
</tr>
|
||||
@endforeach
|
||||
|
||||
</tbody>
|
||||
<tfoot>
|
||||
<style>
|
||||
|
|
@ -475,7 +483,6 @@
|
|||
</div>
|
||||
</div>
|
||||
<hr class="m-0">
|
||||
|
||||
@if($shopping_order->txaction === 'extern')
|
||||
<div class="card-body">
|
||||
@if($shopping_order->wp_invoice_path)
|
||||
|
|
@ -502,8 +509,6 @@
|
|||
</div>
|
||||
<hr class="m-0">
|
||||
@endif
|
||||
|
||||
|
||||
<div class="card-body">
|
||||
<h6 class="small font-weight-semibold">
|
||||
Zahlung
|
||||
|
|
|
|||
|
|
@ -48,6 +48,7 @@
|
|||
<th>{{__('Zahlung')}}</th>
|
||||
<th>{{__('Status')}}</th>
|
||||
<th>{{__('Versand')}}</th>
|
||||
<th>{{__('Art')}}</th>
|
||||
<th>{{__('First name')}}</th>
|
||||
<th>{{__('Last name')}}</th>
|
||||
<th>{{__('E-Mail')}}</th>
|
||||
|
|
@ -79,6 +80,7 @@
|
|||
{ data: 'payment', name: 'payment', orderable: false },
|
||||
{ data: 'txaction', name: 'txaction' },
|
||||
{ data: 'shipped', name: 'shipped' },
|
||||
{ data: 'is_for', name: 'is_for' },
|
||||
{ data: 'shopping_user.billing_firstname', name: 'shopping_user.billing_firstname' },
|
||||
{ data: 'shopping_user.billing_lastname', name: 'shopping_user.billing_lastname' },
|
||||
{ data: 'shopping_user.billing_email', name: 'shopping_user.billing_email' },
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue