New CHANGELOG.txt
[fa-stable.git] / sales / includes / ui / sales_credit_ui.inc
index b75aac1ef7091f11bb7ec1aba8619bcfb0b11ee7..ccc69d70aab43107c55df127768983612d1dde50 100644 (file)
@@ -17,7 +17,7 @@ function display_credit_header(&$order)
 {
        global $Ajax, $Refs;
 
-       start_outer_table(TABLESTYLE, "width=80%");
+       start_outer_table(TABLESTYLE, "width='80%'");
        table_section(1);
 
        $customer_error = "";
@@ -92,7 +92,7 @@ function display_credit_header(&$order)
                table_section(2);
                
                label_row(_("Customer Currency:"), $order->customer_currency);
-               exchange_rate_display($order->customer_currency, get_company_currency(),
+               exchange_rate_display(get_company_currency(), $order->customer_currency,
                        $_POST['OrderDate']);
        }
        table_section(3);
@@ -163,7 +163,7 @@ function display_credit_items($title, &$order)
 
     display_heading($title);
     div_start('items_table');
-    start_table(TABLESTYLE, "width=90%");
+    start_table(TABLESTYLE, "width='90%'");
     $th = array(_("Item Code"), _("Item Description"), _("Quantity"), _("Unit"),
        _("Price"), _("Discount %"), _("Total"),'');