parent
582ca8299d
commit
263cf93a1e
41 changed files with 812 additions and 288 deletions
|
|
@ -11,18 +11,20 @@
|
|||
<div class="col-md-3 mb-1">
|
||||
<strong class="mr-2">Versand:</strong>
|
||||
|
||||
@if ($isAdmin)
|
||||
<button type="button" class="btn btn-sm btn-{{ $shopping_order->getShippedColor() }}"
|
||||
data-toggle="modal" data-target="#modals-shipped" data-id="{{ $shopping_order->id }}"
|
||||
data-shipped="{{ $shopping_order->shipped }}" data-back="{{ url()->current() }}"
|
||||
data-action="store_shipped">
|
||||
<span class="far fa-edit"></span> <strong>{{ $shopping_order->getShippedType() }}</strong>
|
||||
</button>
|
||||
@else
|
||||
<span class="text-big">
|
||||
<span
|
||||
class="badge badge-pill badge-{{ $shopping_order->getShippedColor() }}">{{ $shopping_order->getShippedType() }}</span>
|
||||
</span>
|
||||
@if($shopping_order->payment_for !== 8)
|
||||
@if ($isAdmin)
|
||||
<button type="button" class="btn btn-sm btn-{{ $shopping_order->getShippedColor() }}"
|
||||
data-toggle="modal" data-target="#modals-shipped" data-id="{{ $shopping_order->id }}"
|
||||
data-shipped="{{ $shopping_order->shipped }}" data-back="{{ url()->current() }}"
|
||||
data-action="store_shipped">
|
||||
<span class="far fa-edit"></span> <strong>{{ $shopping_order->getShippedType() }}</strong>
|
||||
</button>
|
||||
@else
|
||||
<span class="text-big">
|
||||
<span
|
||||
class="badge badge-pill badge-{{ $shopping_order->getShippedColor() }}">{{ $shopping_order->getShippedType() }}</span>
|
||||
</span>
|
||||
@endif
|
||||
@endif
|
||||
</div>
|
||||
<div class="col-md-3 mb-1">
|
||||
|
|
@ -59,7 +61,7 @@
|
|||
target="_blank" class="btn btn-warning btn-sm"><i class="fa fa-eye"></i></a>
|
||||
@endif
|
||||
@endif
|
||||
@if ($shopping_order->txaction === 'extern' && $shopping_order->wp_invoice_path)
|
||||
@if (($shopping_order->txaction === 'extern' || $shopping_order->txaction === 'extern_paid') && $shopping_order->wp_invoice_path)
|
||||
<a href="{{ $shopping_order->wp_invoice_path }}" class="btn btn-secondary btn-sm"><i
|
||||
class="fa fa-external-link-alt"></i> <i class="fa fa-download"></i></a>
|
||||
@endif
|
||||
|
|
@ -99,12 +101,30 @@
|
|||
</div>
|
||||
<div class="col-md-3 mb-3">
|
||||
<div class="text-muted small">Points gesamt</div>
|
||||
{{ $shopping_order->points }}
|
||||
{{ $shopping_order->points }}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<hr class="m-0">
|
||||
|
||||
<div class="card-body pb-1">
|
||||
<div class="row">
|
||||
<div class="col-md-12 mb-3">
|
||||
<div class="text-muted small">Punkte / Umsatz zugewiesen</div>
|
||||
@if($shopping_order->user_sales_volume && $shopping_order->user_sales_volume->user)
|
||||
{{ $shopping_order->user_sales_volume->user->getFullName() }}
|
||||
@endif
|
||||
@if ($isAdmin)
|
||||
<button type="button" class="btn btn-xs btn-outline-secondary" data-toggle="modal"
|
||||
data-target="#modals-load-content" data-id="{{ $shopping_order->id }}"
|
||||
data-action="shopping-order-change-points" data-view="{{ $isView }}"
|
||||
data-route="{{ route('modal_load') }}"><span class="fa fa-edit"></span></button>
|
||||
@endif
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<hr class="m-0">
|
||||
<!-- / Info -->
|
||||
|
||||
@if ($isAdmin)
|
||||
<!-- Member -->
|
||||
|
|
@ -343,7 +363,7 @@
|
|||
<hr>
|
||||
@endif
|
||||
@if ($shopping_order->shopping_user->is_from === 'collection')
|
||||
<h5>Berater Sammelbestellung</h5>
|
||||
<h5>Berater Sammelrechnung</h5>
|
||||
<hr>
|
||||
@endif
|
||||
</h6>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue