X-Git-Url: https://git.harvie.cz/?a=blobdiff_plain;f=assistants%2Fdispose.inc.php;h=18c048b2ce0f829d1eb697acc5220b59c2207ce4;hb=7bb5d9832edb6cd1c5b64c6842e8a894da5d5476;hp=735c3fdab344c196b77229798a3edcd0e72ae67b;hpb=e390b72f229f9e204abbcdfabe0a22db1a6648a9;p=mirrors%2FSokoMan.git diff --git a/assistants/dispose.inc.php b/assistants/dispose.inc.php index 735c3fd..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');