User Order all Margins / Checkout
This commit is contained in:
parent
a96d7d5c77
commit
224bf9e951
92 changed files with 3551 additions and 561 deletions
46
resources/views/admin/modal/user_level_margin.blade.php
Normal file
46
resources/views/admin/modal/user_level_margin.blade.php
Normal file
|
|
@ -0,0 +1,46 @@
|
|||
<div class="modal-content">
|
||||
<div class="modal-header">
|
||||
<h5 class="modal-title">
|
||||
{{ __('Staffelprovision') }} <strong>{{$user->user_level->name}}
|
||||
</h5>
|
||||
<button type="button" class="close" data-dismiss="modal" aria-label="Close">×</button>
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
<input type="hidden" name="action" value="{{$data['action']}}">
|
||||
<input type="hidden" name="id" value="{{$data['id']}}">
|
||||
<input type="hidden" name="view" value="{{$data['view']}}">
|
||||
|
||||
@if(isset($user) && $user->user_level && $user->user_level->user_level_margins)
|
||||
|
||||
<table class="table table-striped" style="border-top: 0">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Umsatz netto</th>
|
||||
<th>Handelspanne</th>
|
||||
<th>Provision Vertriebspartner</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@foreach($user->user_level->user_level_margins as $user_level_margin)
|
||||
<tr>
|
||||
<th scope="row">ab {{$user_level_margin->getFormattedPriceFrom()}}</th>
|
||||
<td>{{$user_level_margin->getFormattedTradingMargin()}} %</td>
|
||||
<td>{{$user_level_margin->getFormattedCommission()}} %</td>
|
||||
</tr>
|
||||
@endforeach
|
||||
</tbody>
|
||||
</table>
|
||||
@endif
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
<button type="button" class="btn btn-default" data-dismiss="modal">schließen</button>
|
||||
</div>
|
||||
</div>
|
||||
<script type="text/javascript">
|
||||
|
||||
$( document ).ready(function() {
|
||||
|
||||
});
|
||||
|
||||
|
||||
</script>
|
||||
Loading…
Add table
Add a link
Reference in a new issue