From: Thomas Mudrunka Date: Sat, 25 May 2013 00:46:36 +0000 (+0200) Subject: Hezčí tabulka X-Git-Url: http://git.harvie.cz/?p=mirrors%2FSokoMan.git;a=commitdiff_plain;h=273c1aac8c2c482b6b76779083c15d69d920e8ad Hezčí tabulka --- diff --git a/assistants/bank.inc.php b/assistants/bank.inc.php index 7e3cf52..06a0155 100644 --- a/assistants/bank.inc.php +++ b/assistants/bank.inc.php @@ -78,6 +78,7 @@ switch($SUBPATH[0]) { echo("$deposits-$withdrawals $bank_currency"); $result = $this->db->safe_query_fetch("SELECT * FROM `bank` WHERE `bank_to`=$account_sql OR `bank_from`=$account_sql ORDER BY bank_time DESC;"); } + $this->html->table_hide_columns($result, 'bank'); echo $this->html->render_item_table($result); diff --git a/index.php b/index.php index a814334..a705958 100755 --- a/index.php +++ b/index.php @@ -470,7 +470,8 @@ EOF; $fields_hide = array( 'model' => array('barcode_name'), 'barcode' => array('model_price_in','model_price_out','model_reserve','producer_name','producer_note','model_eshop_hide','category_name','model_countable','model_descript'), - 'item' => array('model_descript','model_price_in','model_price_out','barcode_name','model_barcode','model_countable','model_reserve','model_eshop_hide','room_descript','room_author','producer_name','producer_note','vendor_note','location_author','location_gps','location_description') + 'item' => array('model_descript','model_price_in','model_price_out','barcode_name','model_barcode','model_countable','model_reserve','model_eshop_hide','room_descript','room_author','producer_name','producer_note','vendor_note','location_author','location_gps','location_description'), + 'bank' => array('bank_author') ); //print_r($table); die(); if(isset($fields_hide[$class])) foreach($table as $id => $row) {