{assign var=galLayout value=$gContent->getLayout()} {if $gContent->hasUpdatePermission()}
{include file="bitpackage:liberty/services_inc.tpl" serviceLocation='icon' serviceHash=$gContent->mInfo} {booticon iname="fa-pen-to-square" iexplain="Edit Assembly"} {booticon iname="fa-sort" iexplain="Component Order"} {booticon iname="fa-boxes-stacked" iexplain="View Stock"} {booticon iname="fa-truck" iexplain="View Movements"} {if $gContent->hasAdminPermission()} {booticon iname="fa-trash" iexplain="Delete Assembly"} {/if}
{/if} {include file="`$smarty.const.STOCK_PKG_PATH`assembly_views/`$galLayout`/stock_`$galLayout`_inc.tpl"} {if $gContent->mInfo.stockassembly_types} {jstabs} {section name=xrefGroup loop=$gContent->mInfo.stockassembly_types} {include file=$gContent->getXrefListTemplate($gContent->mInfo.stockassembly_types[xrefGroup].template) source=$gContent->mInfo.stockassembly_types[xrefGroup].source source_title=$gContent->mInfo.stockassembly_types[xrefGroup].title group=$gContent->mInfo.stockassembly_types[xrefGroup].sort_order allow_edit=false} {/section} {/jstabs} {/if}