projects
/
fa-stable.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Rerun of items attachments. Including fixed assets.
[fa-stable.git]
/
inventory
/
manage
/
items.php
diff --git
a/inventory/manage/items.php
b/inventory/manage/items.php
index c3970a71df3676b8fac2b2d9fdb84cebf1cc0737..ae2686cdc89498a4ff99b71a8bed7aabbe2f7039 100644
(file)
--- a/
inventory/manage/items.php
+++ b/
inventory/manage/items.php
@@
-643,7
+643,7
@@
tabbed_content_start('tabs', $tabs);
case 'attachments':
$id = get_item_code_id($stock_id);
$_GET['trans_no'] = $id;
case 'attachments':
$id = get_item_code_id($stock_id);
$_GET['trans_no'] = $id;
- $_GET['type_no']= ST_ITEM;
+ $_GET['type_no']=
get_post('fixed_asset') ? ST_FIXEDASSET :
ST_ITEM;
$attachments = new attachments('attachment', $id, 'items');
$attachments->show();
};
$attachments = new attachments('attachment', $id, 'items');
$attachments->show();
};