X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=purchasing%2Fmanage%2Fsuppliers.php;h=d3e3df360f7da452e65e149067e126c7f36bded2;hb=ab6e80ccdc767b78bbb4a4a38190f16a77747feb;hp=e5da178a8ac6d52b3c6084650215e96df5f64dc3;hpb=e05d7f24eebdf3d0a1b04e8c48d8909a76093209;p=fa-stable.git diff --git a/purchasing/manage/suppliers.php b/purchasing/manage/suppliers.php index e5da178a..d3e3df36 100644 --- a/purchasing/manage/suppliers.php +++ b/purchasing/manage/suppliers.php @@ -306,7 +306,8 @@ if (!$supplier_id) tabbed_content_start('tabs', array( 'settings' => array(_('&General settings'), $supplier_id), 'contacts' => array(_('&Contacts'), $supplier_id), - 'transactions' => array(_('&Transactions'), $supplier_id), + 'transactions' => array(_('&Transactions'), + ($_SESSION["wa_current_user"]->can_access_page('SA_SUPPTRANSVIEW') ? $supplier_id : null)), 'orders' => array(_('Purchase &Orders'), $supplier_id), ));