X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=sales%2Fmanage%2Fcustomers.php;h=3810e2b4f2c271a0688ce61d4056c57d9d0a05e0;hb=a7e711f2718d867380952b884f6cbb839d818a78;hp=a3e11c4db772c57c5899ed5f39fe5315d19e7cfe;hpb=7da63db70a6ca210a46a9322d1f299ec663bb66d;p=fa-stable.git diff --git a/sales/manage/customers.php b/sales/manage/customers.php index a3e11c4d..3810e2b4 100644 --- a/sales/manage/customers.php +++ b/sales/manage/customers.php @@ -301,6 +301,7 @@ function customer_settings($selected_id) end_outer_table(1); div_start('controls'); + if (@$_REQUEST['popup']) hidden('popup', 1); if (!$selected_id) { submit_center('submit', _("Add New Customer"), true, '', 'default'); @@ -350,7 +351,7 @@ tabbed_content_start('tabs', array( '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')) {