From 4ec4e29f00874dba2a783703b565938c625e0ff6 Mon Sep 17 00:00:00 2001 From: Joe Hunt Date: Mon, 10 Sep 2007 21:48:57 +0000 Subject: [PATCH] Changed Bank Address field from text to textarea (multirows) --- CHANGELOG.txt | 4 ++++ gl/manage/bank_accounts.php | 15 ++++++++------- 2 files changed, 12 insertions(+), 7 deletions(-) diff --git a/CHANGELOG.txt b/CHANGELOG.txt index 4e59d502..01cb0a17 100644 --- a/CHANGELOG.txt +++ b/CHANGELOG.txt @@ -19,6 +19,10 @@ Legend: ! -> Note $ -> Affected files +10-Sep-2007 Joe Hunt + ! Changed Bank Address field from text to textarea (multirows) + $ /gl/manage/bank_accounts.php + 06-Sep-2007 Joe Hunt + Added optional link for electronic payment on invoices (PayPal) $ /reporting/reports_main.php diff --git a/gl/manage/bank_accounts.php b/gl/manage/bank_accounts.php index 6f1d3cd0..4c8c6446 100644 --- a/gl/manage/bank_accounts.php +++ b/gl/manage/bank_accounts.php @@ -95,12 +95,12 @@ while ($myrow = db_fetch($result)) alt_table_row_color($k); - label_cell($myrow["account_code"] . " " . $myrow["account_name"]); - label_cell($myrow["bank_name"]); - label_cell($myrow["bank_account_name"]); - label_cell(bank_account_types::name($myrow["account_type"])); - label_cell($myrow["bank_account_number"]); - label_cell($myrow["bank_curr_code"]); + label_cell($myrow["account_code"] . " " . $myrow["account_name"], "nowrap"); + label_cell($myrow["bank_name"], "nowrap"); + label_cell($myrow["bank_account_name"], "nowrap"); + label_cell(bank_account_types::name($myrow["account_type"]), "nowrap"); + label_cell($myrow["bank_account_number"], "nowrap"); + label_cell($myrow["bank_curr_code"], "nowrap"); label_cell($myrow["bank_address"]); edit_link_cell("selected_id=" . $myrow["account_code"]); delete_link_cell("selected_id=" . $myrow["account_code"]. "&delete=1"); @@ -157,7 +157,8 @@ else currencies_list_row(_("Bank Account Currency:"), 'BankAccountCurrency', null); } -text_row(_("Bank Address:"), 'bank_address', null, 70, 70); +textarea_row(_("Bank Address:"), 'bank_address', null, 40, 5); +//text_row(_("Bank Address:"), 'bank_address', null, 70, 70); end_table(1); -- 2.30.2