projects
/
fa-stable.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
a8e3538
)
Rerun fixed_assets attachments (items.php)
author
Joe
<joe.hunt.consulting@gmail.com>
Sun, 30 Apr 2023 13:04:25 +0000
(15:04 +0200)
committer
Joe
<joe.hunt.consulting@gmail.com>
Sun, 30 Apr 2023 13:04:25 +0000
(15:04 +0200)
inventory/manage/items.php
patch
|
blob
|
history
diff --git
a/inventory/manage/items.php
b/inventory/manage/items.php
index 1683ece7cdf4b4d7acc6703215b449bce7b35240..c3970a71df3676b8fac2b2d9fdb84cebf1cc0737 100644
(file)
--- a/
inventory/manage/items.php
+++ b/
inventory/manage/items.php
@@
-586,7
+586,8
@@
if (!$stock_id)
$tabs = (get_post('fixed_asset'))
? array(
'settings' => array(_('&General settings'), $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)),
: array(
'settings' => array(_('&General settings'), $stock_id),
'sales_pricing' => array(_('S&ales Pricing'), (user_check_access('SA_SALESPRICE') ? $stock_id : null)),