Remove trace.
authorMaxime Bourget <bmx007@gmail.com>
Sun, 2 Jun 2013 23:14:59 +0000 (00:14 +0100)
committerMaxime Bourget <bmx007@gmail.com>
Sun, 2 Jun 2013 23:14:59 +0000 (00:14 +0100)
includes/db_order_lines.inc
item_schedule.php

index 6d3b235207f34ca49804e8e4ba5607774a604583..b3b4409dc6a677f8f4c94ab4f4bc3abe777bbf14 100644 (file)
@@ -82,7 +82,6 @@ function update_queue_quantities() {
 
 function update_order_detail_priority($detail_id, $priority) {
                $sql = "UPDATE ".TB_PREF."sales_order_details  SET priority='".$priority."' WHERE id = $detail_id ";
 
 function update_order_detail_priority($detail_id, $priority) {
                $sql = "UPDATE ".TB_PREF."sales_order_details  SET priority='".$priority."' WHERE id = $detail_id ";
-               print($sql);
                db_query($sql, "can't set priorti to order details $detail_id");
 }
 
                db_query($sql, "can't set priorti to order details $detail_id");
 }
 
index acbf4be748878dd9e1a707ed3342eb73e7cd6f98..1f09897f005f180dd831b7042b7c5788616d3951 100644 (file)
@@ -39,12 +39,6 @@ start_form();
 start_table(TABLESTYLE_NOBORDER);
 start_row();
 
 start_table(TABLESTYLE_NOBORDER);
 start_row();
 
-echo date('h:i:s <br>',time());
-?>GET<?php
-print_r($_GET);
-?>POST<?php
-print_r($_POST);
-
 if (!isset($_POST['stock_id'])) {
 if (isset($_GET['stock_id']))
 {
 if (!isset($_POST['stock_id'])) {
 if (isset($_GET['stock_id']))
 {
@@ -72,7 +66,6 @@ if(isset($stock_id)) echo '<input type="hidden" name="last_stock_id" value="'.$s
 
 if(isset($_POST['Update'])) {
        $Ajax->activate('item_schedule');
 
 if(isset($_POST['Update'])) {
        $Ajax->activate('item_schedule');
-               echo 'youpiii';
        // Restore the parameters
        $params = new ScheduleParameters($_SESSION['schedule_parameters']);
        $params->setMode('update');
        // Restore the parameters
        $params = new ScheduleParameters($_SESSION['schedule_parameters']);
        $params->setMode('update');