PATH:
home
/
centosnipponia
/
public_html
/
apptt-oldgit
/
resources
/
views
{{-- Form::text('foo') --}} @extends('adminlte::page') @section('title', 'Apps - Trade And Traffic') @section('content_header') <a href="{{ URL::previous() }}">Go Back</a> <h1></h1> @stop @php use Ripcord\Ripcord; use PhpXmlRpc\Client; //connection strings $url = "https://alpiek-oisterwijk-traden-and-traffic-modules.odoo.com"; $db = "alpiek-oisterwijk-traden-and-traffic-modules"; $db = "alpiek-oisterwijk-traden-and-traffic-modules-13-0-874478"; $username = "vgorgolis@nipponia.com"; $password = "1234$#@!"; //connection strings $common = Ripcord::client("$url/xmlrpc/2/common"); $uid = $common->authenticate($db, $username, $password, array()); $models = Ripcord::client("$url/xmlrpc/2/object"); $uii=$models->execute_kw($db, $uid, $password, 'stock.quant', 'search_read', array(array( array( 'quantity', '=', 1 ) ))); @endphp @section('plugins.Datatables', true) @section('content') <p>Welcome to Trade and Traffic Apps.</p> <table id="tableopen" class="display" style="width:100%"> <thead> <tr> <th>Model</th> <th>Availability in WH</th> </tr> </thead> <tbody> @php $modelcount= array(); foreach($uii as $result) { $modelochk=$result['product_tmpl_id'][1]; if($result['location_id'][1]=="WH/Stock" and !is_null($result['lot_id'][1])): if (array_key_exists($modelochk,$modelcount) ): $modelcount[$modelochk]=1+$modelcount[$modelochk]; else: $modelcount[$result['product_tmpl_id'][1]]=1; endif; endif; } //echo 'hhj'; foreach(array_keys($modelcount) as $modelo) { echo '<tr> <td>'.$modelo.'<td>'.$modelcount[$modelo].'</td> </tr>'; } @endphp </tbody> <tfoot> <tr> <th>Model</th> <th>Availability in WH</th> </tr> </tfoot> </table> @stop @section('css') <link rel="stylesheet" href="/css/admin_custom.css"> @stop @section('js') <script>$(document).ready(function() { $('#tableopen').DataTable({ "iDisplayLength": 20 }); } );</script> <script> console.log('Hi!'); </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]