X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;ds=sidebyside;f=inventory%2Fmanage%2Fitems.php;h=ae2686cdc89498a4ff99b71a8bed7aabbe2f7039;hb=270487d423a5848a21c1666c44bfba354bf18576;hp=c3970a71df3676b8fac2b2d9fdb84cebf1cc0737;hpb=a0aa0951b112eb22726567ad545bcbc1ab28fb99;p=fa-stable.git diff --git a/inventory/manage/items.php b/inventory/manage/items.php index c3970a71..ae2686cd 100644 --- 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; - $_GET['type_no']= ST_ITEM; + $_GET['type_no']= get_post('fixed_asset') ? ST_FIXEDASSET : ST_ITEM; $attachments = new attachments('attachment', $id, 'items'); $attachments->show(); };