From da23a4fdc0501edbce8fb74d194fa816e89dd3d6 Mon Sep 17 00:00:00 2001 From: Joe Hunt Date: Sat, 11 Jul 2009 07:47:49 +0000 Subject: [PATCH] Layout improvements --- includes/ui/allocation_cart.inc | 2 +- purchasing/supplier_payment.php | 7 ++----- sales/customer_payments.php | 2 +- 3 files changed, 4 insertions(+), 7 deletions(-) diff --git a/includes/ui/allocation_cart.inc b/includes/ui/allocation_cart.inc index 6945a4b7..d89eb9ec 100644 --- a/includes/ui/allocation_cart.inc +++ b/includes/ui/allocation_cart.inc @@ -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); diff --git a/purchasing/supplier_payment.php b/purchasing/supplier_payment.php index 4843e2b6..5928e56b 100644 --- a/purchasing/supplier_payment.php +++ b/purchasing/supplier_payment.php @@ -213,11 +213,8 @@ if (isset($_POST['ProcessSuppPayment'])) start_form(); - //start_table($table_style2, 5, 7); - //echo ""; // outer table - start_outer_table("$table_style2 width=90%", 5); + start_outer_table("$table_style2 width=60%", 5); - //echo ""; 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'); diff --git a/sales/customer_payments.php b/sales/customer_payments.php index 27c29cce..8ef48c17 100644 --- a/sales/customer_payments.php +++ b/sales/customer_payments.php @@ -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); -- 2.30.2