X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=sales%2Fmanage%2Fcustomers.php;h=87953187dd25869c18b6d0a5b2f03011d100df90;hb=ab6e80ccdc767b78bbb4a4a38190f16a77747feb;hp=511e8feab60b595e64a7034717f28876620b0cd3;hpb=e05d7f24eebdf3d0a1b04e8c48d8909a76093209;p=fa-stable.git diff --git a/sales/manage/customers.php b/sales/manage/customers.php index 511e8fea..87953187 100644 --- a/sales/manage/customers.php +++ b/sales/manage/customers.php @@ -347,7 +347,8 @@ if (!$selected_id || list_updated('customer_id')) tabbed_content_start('tabs', array( 'settings' => array(_('&General settings'), $selected_id), 'contacts' => array(_('&Contacts'), $selected_id), - 'transactions' => array(_('&Transactions'), $selected_id), + 'transactions' => array(_('&Transactions'), + ($_SESSION["wa_current_user"]->can_access_page('SA_SALESTRANSVIEW') ? $selected_id : null)), 'orders' => array(_('Sales &Orders'), $selected_id), ));