X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=gl%2Fincludes%2Fui%2Fgl_bank_ui.inc;h=ce3af74afa6db9b6c985fc2669fc529bc2a9dfe1;hb=3974cfebf97c03e07b0beb608ae63b84b1e0f908;hp=fbbf770851c8e847ddeaa3d0539b88846e7cf43b;hpb=0add67eea2165764ad65bbb2dccbb687a7d20b77;p=fa-stable.git diff --git a/gl/includes/ui/gl_bank_ui.inc b/gl/includes/ui/gl_bank_ui.inc index fbbf7708..ce3af74a 100644 --- a/gl/includes/ui/gl_bank_ui.inc +++ b/gl/includes/ui/gl_bank_ui.inc @@ -17,7 +17,7 @@ function display_bank_header(&$order) $customer_error = false; div_start('pmt_header'); - start_outer_table(TABLESTYLE2, "width=90%"); // outer table + start_outer_table(TABLESTYLE2, "width='90%'"); // outer table table_section(1); @@ -84,9 +84,9 @@ function display_bank_header(&$order) $customer_error = true; display_error(_("This customer account is on hold.")); } - else + else display_warning(_("This customer account is on hold.")); - } + } break; case PT_QUICKENTRY : @@ -123,7 +123,7 @@ function display_bank_header(&$order) $bank_currency = get_bank_account_currency($_POST['bank_account']); - exchange_rate_display($bank_currency, get_company_currency(), $_POST['date_']); + exchange_rate_display(get_company_currency(), $bank_currency, $_POST['date_']); end_outer_table(1); // outer table @@ -146,7 +146,7 @@ function display_gl_items($title, &$order) display_heading($title); div_start('items_table'); - start_table(TABLESTYLE, "colspan=7 width=95%"); + start_table(TABLESTYLE, "width='95%'"); if ($dim == 2) $th = array(_("Account Code"), _("Account Description"), _("Dimension")." 1", @@ -305,7 +305,7 @@ function gl_options_controls($order) if ($person_curr != $bank_curr) { $_POST['settled_amount'] = - price_format($order->gl_items_total() / get_exchange_rate_from_to($bank_curr, $person_curr, get_post('date_'))); + price_format(abs($order->gl_items_total() / get_exchange_rate_from_to($bank_curr, $person_curr, get_post('date_')))); amount_row($type == PT_CUSTOMER ? _("Settled AR Amount:") : _("Settled AP Amount:"), 'settled_amount', null, null, $person_curr, user_price_dec()); } @@ -318,4 +318,3 @@ function gl_options_controls($order) //--------------------------------------------------------------------------------- -?> \ No newline at end of file