Sid Gifari File Manager
🏠 Root
/
home2
/
meumer25
/
painelpetscentercampinas.meumercado.app
/
resources
/
views
/
admin-views
/
report
/
partials
/
Editing: _table.blade.php
<link rel="stylesheet" href="https://cdn.datatables.net/1.11.1/css/jquery.dataTables.min.css"> <style> .dt-button{ display: none; } .page-link{ color: white; } </style> <div class="row"> <div class="col-12 pr-4 pl-4"> <table class="table" id="datatable"> <thead> <tr> <th>{{\App\CentralLogics\translate('#')}} </th> <th>{{\App\CentralLogics\translate('order')}}</th> <th>{{\App\CentralLogics\translate('date')}}</th> <th>{{\App\CentralLogics\translate('qty')}}</th> <th style="width: 10%">{{\App\CentralLogics\translate('amount')}}</th> </tr> </thead> <tbody> @foreach($data as $key=>$row) <tr> <td class=""> {{$key+1}} </td> <td class=""> <a href="{{route('admin.orders.details',['id'=>$row['order_id']])}}">{{$row['order_id']}}</a> </td> <td>{{date('d M Y',strtotime($row['date']))}}</td> <td>{{$row['quantity']}}</td> <td>{{ Helpers::set_symbol($row['price']) }}</td> </tr> @endforeach </tbody> </table> </div> </div> <script type="text/javascript"> $(document).ready(function () { $('input').addClass('form-control'); }); // INITIALIZATION OF DATATABLES // ======================================================= var datatable = $.HSCore.components.HSDatatables.init($('#datatable'), { dom: 'Bfrtip', "iDisplayLength": 25, }); </script>
Save
Cancel