From 47537a8ce4779d5dddebe70e231e342661fca6e0 Mon Sep 17 00:00:00 2001 From: Janusz Dobrowolski Date: Thu, 19 Feb 2015 22:04:58 +0100 Subject: [PATCH] Small cleanup to branch name length in input form and printouts. --- reporting/includes/header2.inc | 2 +- sales/includes/ui/sales_order_ui.inc | 2 +- sales/manage/customer_branches.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/reporting/includes/header2.inc b/reporting/includes/header2.inc index 70e41ee4..538d1524 100644 --- a/reporting/includes/header2.inc +++ b/reporting/includes/header2.inc @@ -160,7 +160,7 @@ $this->row = $temp; $this->Text($mcol, $Addr2['name']); $this->NewLine(); - $this->TextWrapLines($mcol, $this->rightMargin - $mcol, $Addr2['address']); + $this->TextWrapLines($mcol, $this->rightMargin - $mcol, $Addr2['address'], 'left', 0, 0, NULL, 1); // Auxiliary document information $col = $this->leftMargin; diff --git a/sales/includes/ui/sales_order_ui.inc b/sales/includes/ui/sales_order_ui.inc index 1f7f7534..d60431bf 100644 --- a/sales/includes/ui/sales_order_ui.inc +++ b/sales/includes/ui/sales_order_ui.inc @@ -621,7 +621,7 @@ function display_delivery_details(&$order) date_row($delname, 'delivery_date', $order->trans_type==ST_SALESORDER ? _('Enter requested day of delivery') : $order->trans_type==ST_SALESQUOTE ? _('Enter Valid until Date') : ''); - text_row(_("Deliver To:"), 'deliver_to', $order->deliver_to, 40, 40, + text_row(_("Deliver To:"), 'deliver_to', $order->deliver_to, 50, 60, _('Additional identifier for delivery e.g. name of receiving person')); textarea_row(_("Address:"), 'delivery_address', $order->delivery_address, 35, 5, diff --git a/sales/manage/customer_branches.php b/sales/manage/customer_branches.php index 9a6be322..7cd65cb3 100644 --- a/sales/manage/customer_branches.php +++ b/sales/manage/customer_branches.php @@ -222,7 +222,7 @@ function branch_settings($selected_id, $num_branches) { hidden('popup', @$_REQUEST['popup']); table_section_title(_("Name and Contact")); - text_row(_("Branch Name:"), 'br_name', null, 35, 40); + text_row(_("Branch Name:"), 'br_name', null, 50, 60); text_row(_("Branch Short Name:"), 'br_ref', null, 30, 30); table_section_title(_("Sales")); -- 2.30.2