Implemented attachments for Bank Account, and redesign of Bank Accounts to a tabbed...
[fa-stable.git] / admin / db / transactions_db.inc
index 94b3cebe099625e4dd62a4628ec2b3d4a1972cdf..d75268e59c635a0f143ee068a8c12716bd5020b5 100644 (file)
@@ -213,6 +213,8 @@ function get_systype_db_info($type)
         case     ST_CUSTOMER    : return array(TB_PREF."debtors_master", null, "debtor_no", "debtor_ref", null);
         case     ST_SUPPLIER    : return array(TB_PREF."suppliers", null, "supplier_id", "supp_ref", null);
         case     ST_ITEM        : return array(TB_PREF."item_codes", null, "id", "stock_id", null);
+        case     ST_FIXEDASSET  : return array(TB_PREF."item_codes", null, "id", "stock_id", null);
+        case     ST_BANKACCOUNT  : return array(TB_PREF."bank_accounts", null, "id", "bank_account_number", null);
        }
 
        display_db_error("invalid type ($type) sent to get_systype_db_info", "", true);