PATH:
home
/
centosnipponia
/
public_html
/
apptt-oldgit
/
resources
/
views
@extends('adminlte::page') @section('title', 'Apps - Trade And Traffic') @section('content_header') <a href="{{ URL::previous() }}">Go Back</a> <h1>Trade and Traffic Reservations</h1> @stop @section('plugins.Datatables', true) @section('content') <p>Welcome to Trade and Traffic Apps.</p> <table id="example" class="display" style="width:100%"> <thead> <tr> <th>Brand</th> <th>Category</th> <th>Month</th> <th>Year</th> <th>Units</th> </tr> </thead> <tbody> {{-------------------------------------------------------------------------------------------------------}} @php $records = App\Statnl::all(); foreach ($records as $record) { echo '<tr> <td>'.$record->brand.'</td><td>'.$record->motocategory.'</td><td>'.$record->month.'</td><td>'.$record->year.'</td><td>'.$record->unitssold.'</td> </tr>'; } @endphp {{-------------------------------------------------------------------------------------------------------}} </tbody> <tfoot> <tr> <th></th> <th></th> <th></th> <th></th> <th></th> </tr> </tfoot> </table> @stop @section('css') <link rel="stylesheet" href="/css/admin_custom.css"> <link rel="stylesheet" href="https://cdn.datatables.net/1.10.21/css/jquery.dataTables.min.css"> @stop @section('js') <script> $(document).ready(function() { $('#example').DataTable( {"displayLength": 25, "footerCallback": function ( row, data, start, end, display ) { var api = this.api(), data; // Remove the formatting to get integer data for summation var intVal = function ( i ) { return typeof i === 'string' ? i.replace(/[\$,]/g, '')*1 : typeof i === 'number' ? i : 0; }; // Total over all pages total = api .column( 4 ) .data() .reduce( function (a, b) { return intVal(a) + intVal(b); }, 0 ); // Total over this page pageTotal = api .column( 4, { page: 'current'} ) .data() .reduce( function (a, b) { return intVal(a) + intVal(b); }, 0 ); // Update footer $( api.column( 4 ).footer() ).html( 'Total:'+pageTotal +' ( '+ total +')' ); } } ); } ); </script> @stop
[+]
..
[+]
auth
[+]
layouts
[-] odoo_partssnel.blade.php
[edit]
[-] non_deliverable_stock.blade.php
[edit]
[-] current_stock.blade.php
[edit]
[-] who_demands_what.blade.php
[edit]
[-] signaturePad.blade.php
[edit]
[-] pick_del_form_list.blade.php
[edit]
[+]
current_dealer
[-] revenue_target.blade.php
[edit]
[-] current_dealer.blade.php
[edit]
[-] prepare_is_spare_part_for.blade.php
[edit]
[-] sales_targets_input.blade.php
[edit]
[-] availability_per_catalog.blade.php
[edit]
[-] pick_del_form signature.blade.php
[edit]
[-] pick_del_form.blade.php
[edit]
[-] aged_consign_models_cust.blade.php
[edit]
[-] aged_consignement_models.blade.php
[edit]
[-] bulk_contact.blade.php
[edit]
[-] current_stock.blade.php211109
[edit]
[-] dealer_list.blade.php
[edit]
[-] delivery_ready.blade.php
[edit]
[-] in_consignment.blade.php
[edit]
[-] quotations_pending.blade.php
[edit]
[-] revenue_target.blade-old.php
[edit]
[-] simple_preparation.blade.php
[edit]
[-] snelstart_old_invoices.blade.php
[edit]
[-] sold.blade.php
[edit]
[-] speedversion_change.blade.php
[edit]
[-] statbe.blade.php
[edit]
[-] statnl.blade.php
[edit]
[-] statnl.blade.php-OLD
[edit]
[-] tracking_all.blade.php
[edit]
[-] transfer_edit_form.blade.php
[edit]
[-] user_create_form.blade.php
[edit]
[-] user_edit_form.blade.php
[edit]
[-] user_list.blade.php
[edit]
[-] user_password_reset.blade.php
[edit]
[-] user_profile_edit.blade.php
[edit]
[-] welcome.blade.php
[edit]
[-] home.blade.php
[edit]
[-] pick_del_form_edit.blade.php
[edit]
[-] current_stock.blade.php2103
[edit]
[-] units_target.blade.php
[edit]
[-] fetch_product_image.blade.php
[edit]
[-] who_reserved_what.blade.php
[edit]
[-] odoo_stock.blade.php
[edit]
[-] models_showcase.blade.php
[edit]
[-] current_stock_model.blade.php
[edit]
[-] delpickpdf.blade.php
[edit]
[-] pick_del_form_finished_list.blade.php
[edit]
[-] .htaccess.disabled
[edit]