Hezčí tabulka
authorThomas Mudrunka <tomas@mudrunka.cz>
Sat, 25 May 2013 00:46:36 +0000 (02:46 +0200)
committerThomas Mudrunka <tomas@mudrunka.cz>
Sat, 25 May 2013 00:46:36 +0000 (02:46 +0200)
assistants/bank.inc.php
index.php

index 7e3cf5224408c76dc332cd2b150d14d5175f7a58..06a01557d154c4d7ade7f3a8a7e5eb904db84e19 100644 (file)
@@ -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);
 
 
index a81433445999be3e5b8661501203e188c11de4e1..a7059586ba1c7bbe37b6f3b8fa3b87324a264006 100755 (executable)
--- 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) {
This page took 0.177992 seconds and 4 git commands to generate.