Function line misplaced.
[fa-stable.git] / sales / manage / customer_branches.php
index 9a6be322dc560487652f0086d24edf590e0039c1..2e1eae54fca9ef9e2d954d60c1e8c130d591146e 100644 (file)
@@ -15,7 +15,11 @@ $path_to_root="../..";
 include($path_to_root . "/includes/db_pager.inc");
 include($path_to_root . "/includes/session.inc");
 
-page(_($help_context = "Customer Branches"), @$_REQUEST['popup']);
+$js = "";
+if ($SysPrefs->use_popup_windows && $SysPrefs->use_popup_search)
+       $js .= get_js_open_window(900, 500);
+
+page(_($help_context = "Customer Branches"), @$_REQUEST['popup'], false, "", $js);
 
 include($path_to_root . "/includes/ui.inc");
 include($path_to_root . "/includes/ui/contacts_view.inc");
@@ -222,7 +226,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"));