X-Git-Url: https://git.harvie.cz/?a=blobdiff_plain;f=assistants%2Fdispose.inc.php;h=18c048b2ce0f829d1eb697acc5220b59c2207ce4;hb=cd65d0c40fb1b5f385079fe028d377a5b9b80562;hp=56622bfe40837b13da1de014d61499de388d7e88;hpb=b895e8ea58501324022903810c67e778b2344779;p=mirrors%2FSokoMan.git diff --git a/assistants/dispose.inc.php b/assistants/dispose.inc.php index 56622bf..18c048b 100644 --- a/assistants/dispose.inc.php +++ b/assistants/dispose.inc.php @@ -1,24 +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; - $current[$item_id]['item_customer'] = 0; - - $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');