Layout improvements
authorJoe Hunt <joe.hunt.consulting@gmail.com>
Sat, 11 Jul 2009 07:47:49 +0000 (07:47 +0000)
committerJoe Hunt <joe.hunt.consulting@gmail.com>
Sat, 11 Jul 2009 07:47:49 +0000 (07:47 +0000)
includes/ui/allocation_cart.inc
purchasing/supplier_payment.php
sales/customer_payments.php

index 6945a4b717cc85adc852df737a45583b92641339..d89eb9ecc3dc966bc4e5014f3d7e5257eb27d180 100644 (file)
@@ -254,7 +254,7 @@ function show_allocatable($show_totals) {
 
        if (count($_SESSION['alloc']->allocs)) 
        {
-               start_table($table_style);
+               start_table("$table_style width=60%");
                $th = array(_("Transaction Type"), _("#"), _("Date"), _("Due Date"), _("Amount"),
                        _("Other Allocations"), _("This Allocation"), _("Left to Allocate"),'','');
                table_header($th);
index 4843e2b6eedce051242c4adeded68b28dbe5fde8..5928e56b7327de10d9925768a649650234c062ee 100644 (file)
@@ -213,11 +213,8 @@ if (isset($_POST['ProcessSuppPayment']))
 
 start_form();
 
-       //start_table($table_style2, 5, 7);
-       //echo "<tr><td valign=top>"; // outer table
-       start_outer_table("$table_style2 width=90%", 5);
+       start_outer_table("$table_style2 width=60%", 5);
 
-       //echo "<table>";
        table_section(1);
 
     supplier_list_row(_("Payment To:"), 'supplier_id', null, false, true);
@@ -263,7 +260,7 @@ start_form();
        
        if ($bank_currency != $supplier_currency) 
        {
-               display_note(_("The amount and discount are in the bank account's currency."), 2, 0);
+               display_note(_("The amount and discount are in the bank account's currency."), 0, 1);
        }
 
        submit_center('ProcessSuppPayment',_("Enter Payment"), true, '', 'default');
index 27c29ccedfa7b5d9076765a917bea36866fd4715..8ef48c17f92e4d2d9e41394c26e89efaf1889e70 100644 (file)
@@ -207,7 +207,7 @@ function read_customer_data()
 
 start_form();
 
-       start_outer_table($table_style2, 5);
+       start_outer_table("$table_style2 width=60%", 5);
        table_section(1);
 
        customer_list_row(_("From Customer:"), 'customer_id', null, false, true);