From 273c1aac8c2c482b6b76779083c15d69d920e8ad Mon Sep 17 00:00:00 2001 From: Thomas Mudrunka Date: Sat, 25 May 2013 02:46:36 +0200 Subject: [PATCH] =?utf8?q?Hez=C4=8D=C3=AD=20tabulka?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- assistants/bank.inc.php | 1 + index.php | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) 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) { -- 2.30.2