Small table layout fixes in allocations.
authorJanusz Dobrowolski <janusz@frontaccounting.eu>
Tue, 10 Mar 2009 22:18:51 +0000 (22:18 +0000)
committerJanusz Dobrowolski <janusz@frontaccounting.eu>
Tue, 10 Mar 2009 22:18:51 +0000 (22:18 +0000)
CHANGELOG.txt
purchasing/allocations/supplier_allocate.php
sales/allocations/customer_allocate.php

index bf80d966637042fac24c74326d063e58c228074a..3baab9f9d9774a263f85b5ab00ceac53b398bc83 100644 (file)
@@ -24,6 +24,9 @@ $ -> Affected files
 $ /includes/ui/ui_lists.inc
 # Fixed email_row/link_row display for empty input value.
 $ /includes/ui/ui_inputs.inc
+# Small layout fix 
+$ /purchasing/allocations/supplier_allocate.php
+  /sales/allocations/customer_allocate.php
 
 ------------------------------- Release 2.1.0 RC ------------------------------------------------
 09-Mar-2009 Joe Hunt
index 6a0e83e3247f65692914e0f381ad0f073928d7ce..51d6a7b550e21fa020eb151e2c91e49f18bf9483 100644 (file)
@@ -201,7 +201,7 @@ function edit_allocations_for_transaction($type, $trans_no)
     {
                start_table($table_style);
                $th = array(_("Transaction Type"), _("#"), _("Date"), _("Due Date"), _("Amount"),
-                       _("Other Allocations"), _("This Allocation"), _("Left to Allocate"),'');
+                       _("Other Allocations"), _("This Allocation"), _("Left to Allocate"),'','');
                table_header($th);
 
         $k = $counter = $total_allocated = 0;
@@ -233,7 +233,7 @@ function edit_allocations_for_transaction($type, $trans_no)
                }
 
         label_row(_("Total Allocated"), number_format2($total_allocated,user_price_dec()),
-               "colspan=6 align=right", "align=right id='total_allocated'");
+               "colspan=6 align=right", "align=right id='total_allocated'", 3);
         if (-$_SESSION['alloc']->amount - $total_allocated < 0)
         {
                $font1 = "<font color=red>";
@@ -243,7 +243,7 @@ function edit_allocations_for_transaction($type, $trans_no)
                $font1 = $font2 = "";
                $left_to_allocate = price_format(-$_SESSION['alloc']->amount - $total_allocated);
         label_row(_("Left to Allocate"), $font1 . $left_to_allocate . $font2, "colspan=6 align=right",
-               "nowrap align=right id='left_to_allocate'");
+               "nowrap align=right id='left_to_allocate'", 3);
                end_table();
 
                hidden('TotalNumberOfAllocs', $counter);
index c0785cb1a80d71f88cdb510d750eb2d306296a6e..0360329551f04bbff3289274a87f6c4d0649d567 100644 (file)
@@ -236,7 +236,7 @@ function edit_allocations_for_transaction($type, $trans_no)
                }
 
                label_row(_("Total Allocated"), price_format($total_allocated),
-                       "colspan=6 align=right", "nowrap align=right id='total_allocated'");
+                       "colspan=6 align=right", "nowrap align=right id='total_allocated'", 3);
         if ($_SESSION['alloc']->amount - $total_allocated < 0)
         {
                $font1 = "<font color=red>";
@@ -247,7 +247,7 @@ function edit_allocations_for_transaction($type, $trans_no)
                $left_to_allocate = $_SESSION['alloc']->amount - $total_allocated;
                $left_to_allocate = price_format($left_to_allocate);
         label_row(_("Left to Allocate"), $font1 . $left_to_allocate . $font2,
-               "colspan=6 align=right ", "nowrap align=right id='left_to_allocate'");
+               "colspan=6 align=right ", "nowrap align=right id='left_to_allocate'", 3);
         end_table(1);
 
                hidden('TotalNumberOfAllocs', $counter);