{strip}
{if $gBitUser->hasPermission('p_stock_create')} {biticon ipackage="icons" iname="edit" iexplain="Edit Movement"} {/if}

{$gContent->getTitle()|escape}

{tr}Type{/tr}
{$gContent->mInfo.ref_type_title|default:$gContent->getDirection()|escape}
{if $gContent->mInfo.ref_contact_name}
{tr}Supplier{/tr}
{$gContent->mInfo.ref_contact_name|escape}
{elseif $gContent->mInfo.reference.0.data}
{tr}From{/tr}
{$gContent->mInfo.reference.0.data|escape}
{/if}
{tr}Created{/tr}
{$gContent->mInfo.created|bit_short_datetime} {tr}by{/tr} {$gContent->mInfo.creator|escape}
{if $gContent->mInfo.ref_start_date}
{tr}Ordered{/tr}
{$gContent->mInfo.ref_start_date|bit_short_date}
{/if}
{tr}Received{/tr}
{if $gContent->isReceived()}{$gContent->mInfo.event_time|bit_short_date}{else}{tr}Pending{/tr}{/if}
{if $gContent->mInfo.last_modified neq $gContent->mInfo.created}
{tr}Modified{/tr}
{$gContent->mInfo.last_modified|bit_short_datetime} {tr}by{/tr} {$gContent->mInfo.editor|escape}
{/if} {if $gContent->mInfo.data}
{tr}Note{/tr}
{$gContent->mInfo.data|escape}
{/if}
{if $gXrefInfo->mGroups} {jstabs} {foreach $gXrefInfo->mGroups as $xrefGroup} {if $xrefGroup->mXGroup neq 'reference'} {include file=$gContent->getXrefListTemplate($xrefGroup->mTemplate) xrefGroup=$xrefGroup allow_add=false allow_edit=false} {/if} {/foreach} {/jstabs} {/if}
{/strip}