Updates to 03-2025
This commit is contained in:
parent
bfa3bb1df4
commit
9ae662f63e
243 changed files with 12580 additions and 12018 deletions
|
|
@ -0,0 +1,71 @@
|
|||
<div class="modal-content">
|
||||
<div class="modal-header">
|
||||
<h5 class="modal-title">
|
||||
{{ __('homeparty.add_product') }} /
|
||||
@if($homeparty_user->is_host)
|
||||
{{ __('homeparty.host') }}
|
||||
@else
|
||||
{{ __('homeparty.guest') }}
|
||||
@endif
|
||||
{{ $homeparty_user->billing_firstname }} {{ $homeparty_user->billing_lastname }}
|
||||
</h5>
|
||||
<button type="button" class="close" data-dismiss="modal" aria-label="Close">×</button>
|
||||
</div>
|
||||
<div class="modal-body px-0">
|
||||
<div class="card-datatable pt-0 table-responsive">
|
||||
<table id="datatable-homeparty" class="table table-striped table-bordered" data-homeparty-id="{{$homeparty->id}}" data-homeparty-user-id="{{$homeparty_user->id}}">
|
||||
<thead>
|
||||
<tr>
|
||||
<th></th>
|
||||
<th>{{__('tables.image')}}</th>
|
||||
<th>{{__('tables.products')}}</th>
|
||||
<th>{{__('tables.article_no')}}</th>
|
||||
@if($homeparty->getCardInfo('user_tax_free'))
|
||||
<th><span class="no-line-break">{{ __('tables.ek_price') }}</span> {{__('tables.net')}}</th>
|
||||
<th><span class="no-line-break">{{__('tables.vk_price')}}</span> {{__('tables.net')}}</th>
|
||||
@else
|
||||
<th><span class="no-line-break">{{ __('tables.ek_price') }}</span> {{__('tables.gross')}}</th>
|
||||
<th><span class="no-line-break">{{__('tables.vk_price')}}</span> {{__('tables.gross')}}</th>
|
||||
@endif
|
||||
<th>{{__('tables.points')}}</th>
|
||||
</tr>
|
||||
</thead>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
<button type="button" class="btn btn-default" data-dismiss="modal">{{ __('close') }}</button>
|
||||
</div>
|
||||
</div>
|
||||
<script>
|
||||
$( document ).ready(function() {
|
||||
var oTable = $('#datatable-homeparty').DataTable({
|
||||
"processing": true,
|
||||
"serverSide": true,
|
||||
"ajax": '{!! route('user_homeparty_datatable', [$homeparty->id]) !!}',
|
||||
"order": [[3, "asc" ]],
|
||||
"columns": [
|
||||
|
||||
{ data: 'add_card', name: 'add_card', searchable: false, orderable: false },
|
||||
{ data: 'picture', name: 'picture', searchable: false, width: 35 },
|
||||
{ data: 'name', name: 'name' },
|
||||
{ data: 'number', name: 'number' },
|
||||
{ data: 'price_gross', name: 'price_gross', searchable: false, orderable: false },
|
||||
{ data: 'price_vk_gross', name: 'price_vk_gross', searchable: false },
|
||||
{ data: 'points', name: 'points', searchable: false },
|
||||
|
||||
],
|
||||
"bLengthChange": false,
|
||||
"iDisplayLength": 1000,
|
||||
"paging": false,
|
||||
"language": {
|
||||
"url": "/js/datatables-{{ \App::getLocale() }}.json"
|
||||
},
|
||||
drawCallback: function (settings) {
|
||||
iqHomepartyCart.reInitModal();
|
||||
}
|
||||
});
|
||||
iqHomepartyCart.setDatabase('#datatable-homeparty');
|
||||
|
||||
});
|
||||
</script>
|
||||
Loading…
Add table
Add a link
Reference in a new issue