Small cleanup to branch name length in input form and printouts.
authorJanusz Dobrowolski <janusz@frontaccounting.eu>
Thu, 19 Feb 2015 21:04:58 +0000 (22:04 +0100)
committerJanusz Dobrowolski <janusz@frontaccounting.eu>
Sat, 28 Feb 2015 17:04:10 +0000 (18:04 +0100)
reporting/includes/header2.inc
sales/includes/ui/sales_order_ui.inc
sales/manage/customer_branches.php

index 70e41ee4d219ed4e67082476a04f7c4210ed031f..538d152473c8f1493ba386f14deaf4768b4be605 100644 (file)
                $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;
index 1f7f7534a3086b8c024e8e88a21d2d22ca171bbd..d60431bf74bf680a292f4b47ed9920666326a924 100644 (file)
@@ -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,
index 9a6be322dc560487652f0086d24edf590e0039c1..7cd65cb3795b92eb9497506a40e5c1a463b574b1 100644 (file)
@@ -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"));