location 0 je defaultni
authorThomas Mudrunka <tomas@mudrunka.cz>
Wed, 11 Apr 2012 17:48:52 +0000 (19:48 +0200)
committerThomas Mudrunka <tomas@mudrunka.cz>
Wed, 11 Apr 2012 17:48:52 +0000 (19:48 +0200)
assistants/store.inc.php

index 361174e33b37c94d3b840317ca1dc2d0182e0d56..418ce9407177537b47a4bd616197115ebb0da6ab 100644 (file)
@@ -50,7 +50,8 @@ switch($SUBPATH[0]) {
                        'item_price_in' => $item_price_in + ($quantity_added * $model_price_in),
                        'item_price_out' => $item_price_out + ($quantity_added * $model_price_out),
                        'item_author' => $this->db->auth->get_user_id(),
-                       'item_date_bought' => date('Y-m-d')
+                       'item_date_bought' => date('Y-m-d'),
+                       'location_id' => 0
                ));
 
     echo $this->html->render_insert_form('item', $columns, $selectbox, $current, $disable_cols, $action, $multi_insert);
This page took 0.113491 seconds and 4 git commands to generate.