PATH:
home
/
centosnipponia
/
public_html
/
apptt
/
resources
/
views
@extends('adminlte::page') @section('title', 'Apps - Trade And Traffic') @section('content_header') <a href="{{ URL::previous() }}">Go Back</a> <h1></h1> @stop @section('plugins.Datatables', true) @section('content') <h1>Model Availability</h1> <table id="example" class="display stripe" style="width:100%"> <thead> <tr> <th>Model</th> <th>Availability in WH or WHL</th> <th>Availability in consignment</th> <th>Soon</th> <th>Reserved</th> </tr> </thead> <tbody> {{-------------------------------------------------------------------------------------------------------}} @php $size = count($modelcount); //var_dump($uii); for($i = 0; $i < $size; $i++) { echo '<tr> <td><a href=current_stock_model?modelid='.$modelcount[$i]["id"].'>'.$modelcount[$i]["name"].'</a></td><td>'.$modelcount[$i]["WH"].'</td><td>'.$modelcount[$i]["nonWH"].'</td><td>'.$modelcount[$i]["soon"].'</td><td>'.$modelcount[$i]["reserv"].'</td> </tr>';//'.$modelcount[$i]["reserv"].' } @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( { "pageLength": 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 column1 total = api .column( 1 ) .data() .reduce( function (a, b) { return intVal(a) + intVal(b); }, 0 ); // Total over this page column1 pageTotal1 = api .column( 1, { page: 'current'} ) .data() .reduce( function (a, b) { return intVal(a) + intVal(b); }, 0 ); // Update footer column1 $( api.column( 1 ).footer() ).html( 'Total:'+pageTotal1 +' ( '+ total +')' ); // Total over all pages column2 total2 = api .column( 2 ) .data() .reduce( function (a, b) { return intVal(a) + intVal(b); }, 0 ); // Total over this page column2 pageTotal2 = api .column( 2, { page: 'current'} ) .data() .reduce( function (a, b) { return intVal(a) + intVal(b); }, 0 ); // Update footer column2 $( api.column( 2 ).footer() ).html( 'Total:'+pageTotal2 +' ( '+ total2 +')' ); // Total over all pages column3 total3 = api .column( 3 ) .data() .reduce( function (a, b) { return intVal(a) + intVal(b); }, 0 ); // Total over this page column3 pageTotal3 = api .column( 3, { page: 'current'} ) .data() .reduce( function (a, b) { return intVal(a) + intVal(b); }, 0 ); // Update footer column3 $( api.column( 3 ).footer() ).html( 'Total:'+pageTotal3 +' ( '+ total3 +')' ); } } ); } ); </script> @stop
[+]
..
[-] aged_consign_models_cust.blade.php
[edit]
[-] aged_consignement_models.blade.php
[edit]
[+]
auth
[-] availability_per_catalog.blade.php
[edit]
[-] bulk_contact.blade.php
[edit]
[-] current_dealer.blade.php
[edit]
[+]
current_dealer
[-] current_stock.blade.php
[edit]
[-] current_stock.blade.php2103
[edit]
[-] current_stock.blade.php211109
[edit]
[-] current_stock_model.blade.php
[edit]
[-] dealer_list.blade.php
[edit]
[-] delivery_ready.blade.php
[edit]
[-] delpickpdf.blade.php
[edit]
[-] fetch_product_image.blade.php
[edit]
[-] home.blade.php
[edit]
[-] in_consignment.blade.php
[edit]
[+]
layouts
[-] models_showcase.blade.php
[edit]
[-] non_deliverable_stock.blade.php
[edit]
[-] odoo_partssnel.blade.php
[edit]
[-] odoo_stock.blade.php
[edit]
[-] pick_del_form signature.blade.php
[edit]
[-] pick_del_form.blade.php
[edit]
[-] pick_del_form_edit.blade.php
[edit]
[-] pick_del_form_finished_list.blade.php
[edit]
[-] pick_del_form_list.blade.php
[edit]
[-] prepare_is_spare_part_for.blade.php
[edit]
[-] quotations_pending.blade.php
[edit]
[-] revenue_target.blade-old.php
[edit]
[-] revenue_target.blade.php
[edit]
[-] sales_targets_input.blade.php
[edit]
[-] signaturePad.blade.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]
[-] units_target.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]
[-] who_demands_what.blade.php
[edit]
[-] who_reserved_what.blade.php
[edit]
[-] .htaccess.disabled
[edit]