Rerun fixed_assets attachments (items.php)
[fa-stable.git] / inventory / manage / items.php
index 1683ece7cdf4b4d7acc6703215b449bce7b35240..c3970a71df3676b8fac2b2d9fdb84cebf1cc0737 100644 (file)
@@ -586,7 +586,8 @@ if (!$stock_id)
 $tabs = (get_post('fixed_asset'))
        ? array(
                'settings' => array(_('&General settings'), $stock_id),
-               'movement' => array(_('&Transactions'), $stock_id) )
+               'movement' => array(_('&Transactions'), $stock_id),
+               'attachments' => array(_('Attachments'), (user_check_access('SA_ATTACHDOCUMENT') ? get_item_code_id($stock_id) : null)))
        : array(
                'settings' => array(_('&General settings'), $stock_id),
                'sales_pricing' => array(_('S&ales Pricing'), (user_check_access('SA_SALESPRICE') ? $stock_id : null)),