{assign var=galLayout value=$gContent->getLayout()} {if $gContent->hasUpdatePermission()}
{include file="bitpackage:liberty/services_inc.tpl" serviceLocation='icon' serviceHash=$gContent->mInfo} {biticon ipackage="icons" iname="document-properties" iexplain="Edit Assembly"} {biticon ipackage="icons" iname="view-sort-ascending" iexplain="Component Order"} {biticon ipackage="icons" iname="package-x-generic" iexplain="View Stock"} {biticon ipackage="icons" iname="go-next" iexplain="View Movements"} {if $gContent->hasAdminPermission()} {biticon ipackage="icons" iname="edit-delete" 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}