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