Layout improvements.
authorJoe Hunt <joe.hunt.consulting@gmail.com>
Sun, 10 Oct 2010 15:39:16 +0000 (15:39 +0000)
committerJoe Hunt <joe.hunt.consulting@gmail.com>
Sun, 10 Oct 2010 15:39:16 +0000 (15:39 +0000)
CHANGELOG.txt
purchasing/view/view_supp_credit.php

index d7a13dcabdf08e161f372430c18a4a72c8f8d24c..0f7d339aa8dc929655762630c92186fa8bea4a86 100644 (file)
@@ -26,10 +26,11 @@ $ /includes/ui/allocation_cart.inc
 10-Oct-2010 Joe Hunt
 # Master bug in class supp_trans get_items_total. Minor bug in gl_db_trans.inc
   Wrong tax report and wrong supp trans/gl records with gl item lines.
-  Fixing tax_included in gl_items.
+  Fixing tax_included in gl_items. Layout improvements.
 $ /purchasing/includes/supp_trans_class.inc
   /purchasing/includes/db/invoice_db.inc
   /purchasing/includes/ui/invoice_ui.inc
+  /purchasing/view/view_supp_credit.php
   /gl/includes/db/gl_db_trans.inc
 
 06-Oct-2010 Jusz Dobrowolski
index ec5cb40b20fd92ba764c3b5dd4dc98a7ad3da198..cdaeb3fe8514c4eac48d8e40e3dde7d04eafa6ac 100644 (file)
@@ -35,9 +35,9 @@ $supp_trans = new supp_trans(ST_SUPPCREDIT);
 
 read_supp_invoice($trans_no, ST_SUPPCREDIT, $supp_trans);
 
-display_heading(_("SUPPLIER CREDIT NOTE") . " # " . $trans_no);
+display_heading("<font color=red>" . _("SUPPLIER CREDIT NOTE") . " # " . $trans_no . "</font>");
 echo "<br>";
-start_table(TABLESTYLE2);
+start_table(TABLESTYLE, "width=95%");
 start_row();
 label_cells(_("Supplier"), $supp_trans->supplier_name, "class='tableheader2'");
 label_cells(_("Reference"), $supp_trans->reference, "class='tableheader2'");
@@ -63,7 +63,8 @@ $tax_items = get_trans_tax_details(ST_SUPPCREDIT, $trans_no);
 display_supp_trans_tax_details($tax_items, 1);
 
 $display_total = number_format2(-($supp_trans->ov_amount + $supp_trans->ov_gst),user_price_dec());
-label_row(_("TOTAL CREDIT NOTE"), $display_total, "colspan=1 align=right", "nowrap align=right");
+label_row("<font color=red>" . _("TOTAL CREDIT NOTE") . "</font", "<font color=red>$display_total</font>", 
+       "colspan=1 align=right", "nowrap align=right");
 
 end_table(1);