{if $order->isClosed()}
    {$closed = true}
{/if}

{if $body.acn == 'add' and not $body.duplicate}
    {include 'window/orders.user.add.tpl'}
{else}
    {include 'window/orders.user.edit.tpl'}
{/if}
