PATH:
home
/
centosnipponia
/
public_html
/
wh
<?php require __DIR__ . '/header.php'; date_default_timezone_set("Europe/Amsterdam"); echo date("Y-m-d H:i:s"); $today_midnight = mktime(0, 0, 0, date("m")-1 , date("d"), date("Y")); $today_midnight_mysql = date ('Y-m-d H:i:s',$today_midnight); require __DIR__ . '/config.php'; //sale orders tranfers $query_arguments=array('&','&','&','&','&',array('product_type','=','product'),array(['order_id.warehouse_id'][0],'=',158),array('qty_delivered','=',0),array('state','=','sale'),array('create_date','>=',$today_midnight_mysql),array('x_tracking_product','=','serial')); $uii=$models->execute_kw($db, $uid, $password,'sale.order.line', 'search_read',array($query_arguments), array('limit'=>100)); //sale orders tranfers $csv = "Tranfer number,Model,Qty,Destination(Customer-Address),Phone number,Date created \n";//Column headers echo '<thead><tr><th>Tranfer number</th><th>Model</th><th>Qty</th><th>Destination(Customer-Address-Phone)</th><th>Date created</th><th>VIN delivered</th><th></th></thead>'."\n"; foreach($uii as $result) { echo '<tr><td>'.'Sale Order '.$result['order_id'][1].'</td><td>'.$result['name'].'</td><td>'.$result['product_uom_qty'].'</td><td>'.$result['x_dest_address_va'].' - Ph:'.$result['x_dest_ph_va'].'</td><td>'.$result['create_date'].'</td><td> <input type=text id='.'SOi'.$result['id'].' minlength=3 required name='.'SO'.$result['id'].'></td><td><label id='.'SOi'.$result['id'].' for='.'SO'.$result['id'].'></label> </td></tr>'."\n";//order_id,create_date $csv.= 'Sale Order '.$result['order_id'][1].','.preg_replace('/[^A-Za-z0-9\-]/', ' ', $result['name']).','.$result['product_uom_qty'].','.preg_replace('!\s+!', ' ', $result['x_dest_address_va']).','.preg_replace('!\s+!', '', $result['x_dest_ph_va']).','.$result['create_date']." \n"; //Append data to csv } ?> </table> <!-- partial --> </body> </html>
[+]
..
[+]
ediwarehousebot
[+]
2
[-] style.css
[edit]
[-] config.php
[edit]
[-] test1.php
[edit]
[-] t1.php
[edit]
[-] header.php
[edit]
[-] ml.php-an theloume na to steiloyme mono toy
[edit]
[+]
vendor
[-] headerpending.php
[edit]
[-] error_log
[edit]
[-] pending.php
[edit]
[-] delivered.php
[edit]
[-] 2.php
[edit]
[-] script.js
[edit]
[-] headerdelivered.php
[edit]
[-] 3.php
[edit]
[+]
old
[+]
cgi-bin
[+]
.well-known
[+]
E3
[+]
drage
[+]
f7
[+]
eviball
[+]
capetown
[+]
eurostock
[+]
2fast
[+]
biq
[+]
cite
[+]
ilark
[+]
pride
[+]
dragb
[+]
itank
[-] sql_command_import_capetown.php
[edit]
[+]
itango
[+]
sales_rd
[+]
rd
[+]
one
[-] jSignature-master.zip
[edit]
[+]
jsi
[+]
nce
[-] sales_rd.zip
[edit]
[+]
RrVFn0it5f
[-] wap.php
[edit]
[-] index.php
[edit]
[-] products.php
[edit]
[-] detail.php
[edit]
[-] .htaccess.disabled
[edit]
[-] 1.php.quarantine
[edit]