File: /var/www/vhost/disk-apps/demo.sports-crowd.com/resources/views/wallet/transactions.blade.php
@extends('modules.head') @section('contenido')
<h3><a class="ruta" class="" href="{{url('/coins')}}">{{ Lang::get('messages.screen_edit_credit_coins_tag1')}} </a>
<span class="separador-ruta">|</span><a class="ruta" class="" href="{{url('/coins/filterTransactions/'.$info->id)}}">{{
Lang::get('messages.screen_transactions_credit_coins_tag1')}} </a>
<input type="hidden" id="userInfo" value="{{$info->id}}">
</h3>
<!-- LISTADO monedas hincha -->
<div class="box">
<div class="box-header">
<h3 class="box-title">{{ Lang::get('messages.screen_transactions_credit_coins_tag1')}}</h3>
</div>
<!-- /.box-header -->
<div class="box-body table-responsive">
<table id="example2" class="table table-bordered table-hover dataTable" role="grid" aria-describedby="example2_info">
<thead>
<tr role="row">
<th class="sorting" tabindex="0" aria-controls="example2" rowspan="1" colspan="1" aria-label="Browser: activate to sort column ascending">{{ Lang::get('messages.screen_transactions_credit_coins_tag2')}}</th>
<th class="sorting" tabindex="0" aria-controls="example2" rowspan="1" colspan="1" aria-label="Platform(s): activate to sort column ascending">{{ Lang::get('messages.screen_transactions_credit_coins_tag3')}}</th>
<th class="sorting" tabindex="0" aria-controls="example2" rowspan="1" colspan="1" aria-label="Engine version: activate to sort column ascending">{{ Lang::get('messages.screen_transactions_credit_coins_tag4')}}</th>
<th class="sorting" tabindex="0" aria-controls="example2" rowspan="1" colspan="1" aria-label="Engine version: activate to sort column ascending">{{ Lang::get('messages.screen_transactions_credit_coins_tag5')}}</th>
<th class="sorting" tabindex="0" aria-controls="example2" rowspan="1" colspan="1" aria-label="Engine version: activate to sort column ascending">{{ Lang::get('messages.screen_transactions_credit_coins_tag6')}}</th>
<th class="sorting" tabindex="0" aria-controls="example2" rowspan="1" colspan="1" aria-label="Engine version: activate to sort column ascending">{{ Lang::get('messages.screen_transactions_credit_coins_tag7')}}</th>
<th class="sorting" tabindex="0" aria-controls="example2" rowspan="1" colspan="1" aria-label="Engine version: activate to sort column ascending"></th>
</tr>
</thead>
</table>
</div>
</div>
@include('wallet.infoCoin')
<script src="{{ asset('js/jQuery/jquery-2.2.3.min.js') }}"></script>
<script src="{{ asset('js/ux.js') . '?v=' . time() }}"></script>
<script src="{{ asset('js/bootstrap/js/bootstrap.min.js') }}"></script>
<script type="text/javascript">
$(document).ready(function() {
let userInfo = $('#userInfo').val();
_table = $('#example2').DataTable({
'paging': true,
'lengthChange': true,
'searching': true,
'ordering': false,
'info': true,
'autoWidth': true,
responsive: true,
processing: true,
serverSide: true,
language: {
url: window.DATATABLES_LANGUAGE_URL,
},
ajax: '{{ route("transactions.table") }}' + '/' + userInfo,
columns: [{
data: 'sign',
name: 'sign'
},
{
data: 'created_at',
name: 'created_at'
},
{
data: 'reference',
name: 'reference'
},
{
data: 'coins',
name: 'coins'
},
{
data: 'detail',
name: 'detail'
},
{
data: 'cancelled',
name: 'cancelled'
},
{
data: 'actions',
name: 'actions'
},
]
});
var info = '<i class="fa fa-info-circle" id="btn-info-busqueda"></i><div class="dropdown-menu" id="menuBusqueda" style="left: 50%; padding: 5px; background-color: #f9fb8f;"><p data-toggle="modal">Busqueda Nombres y Correo</p></div>';
$('#example2_filter').append(info);
$('#btn-info-busqueda').on('click', function() {
$('#menuBusqueda').toggle();
});
});
</script>
@endsection