{
table_section_title(_("Branch"));
locations_list_row(_("Default Inventory Location:"), 'location');
- shippers_list_row(_("Default Shipping Company:"), 'ship_via');
+ shipping_methods_list_row(_("Default Shipping:"), 'ship_via');
sales_areas_list_row( _("Sales Area:"), 'area', null);
tax_groups_list_row(_("Tax Group:"), 'tax_group_id', null);
}
end_outer_table(1);
div_start('controls');
+ if (@$_REQUEST['popup']) hidden('popup', 1);
if (!$selected_id)
{
submit_center('submit', _("Add New Customer"), true, '', 'default');
'settings' => array(_('&General settings'), $selected_id),
'contacts' => array(_('&Contacts'), $selected_id),
'transactions' => array(_('&Transactions'), (user_check_access('SA_SALESTRANSVIEW') ? $selected_id : null)),
- 'orders' => array(_('Sales &Orders'), $selected_id),
+ 'orders' => array(_('Sales &Orders'), (user_check_access('SA_SALESTRANSVIEW') ? $selected_id : null)),
));
switch (get_post('_tabs_sel')) {