X-Git-Url: http://git.harvie.cz/?a=blobdiff_plain;ds=inline;f=assistants%2Fdispose.inc.php;h=18c048b2ce0f829d1eb697acc5220b59c2207ce4;hb=8044dfef548431efad4a624dba1fa0f3b85802af;hp=d95dab4631bfc407cdb472007b8adb1a8d2e31ae;hpb=ec28d06c976780c7cba78aa7d85d8d8d06095df3;p=mirrors%2FSokoMan.git diff --git a/assistants/dispose.inc.php b/assistants/dispose.inc.php index d95dab4..18c048b 100644 --- a/assistants/dispose.inc.php +++ b/assistants/dispose.inc.php @@ -1,23 +1,5 @@ -
- item_serial: - -
-db->map_unique('item_serial', $_GET['serial'], 'item_id', 'item'); - $columns = $this->db->get_columns('item'); - $selectbox = $this->db->columns_get_selectbox($columns, 'item'); - - $current = $this->db->get_listing('item', $item_id, 1); - $current[$item_id]['status_id'] = 2; - - $action = $_SERVER['SCRIPT_NAME']."/item/$item_id/edit"; - echo $this->html->render_insert_form('item', $columns, $selectbox, $current, false, $action); - break; -} +$status_id = 2; +$item_customer = 0; +$hide_cols_additional = array('item_customer'); +require('sell.inc.php');