X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=gl%2Fmanage%2Fbank_accounts.php;h=c7d665c343af42b98242a8e16fff927509154950;hb=0414e70dba24e2186c3ed3ffbcee3c6cd296742c;hp=6f1d3cd073d1fb6a868d8edc508e19b4fa53e62a;hpb=da8311619dd73feae101d246a1957b972e00cbd2;p=fa-stable.git diff --git a/gl/manage/bank_accounts.php b/gl/manage/bank_accounts.php index 6f1d3cd0..c7d665c3 100644 --- a/gl/manage/bank_accounts.php +++ b/gl/manage/bank_accounts.php @@ -7,7 +7,6 @@ include($path_to_root . "/includes/session.inc"); page(_("Bank Accounts")); include($path_to_root . "/includes/ui.inc"); -include($path_to_root . "/includes/data_checks.inc"); if (isset($_GET['selected_id'])) { @@ -29,6 +28,7 @@ if (isset($_POST['ADD_ITEM']) || isset($_POST['UPDATE_ITEM'])) { $input_error = 1; display_error(_("The bank account name cannot be empty.")); + set_focus('bank_account_name'); } if ($input_error != 1) @@ -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);