{if condition="$error != ''"}
{$error}
What ?
Amount : {$currency}
Date : {loop="days"} {$value} {/loop} / {loop="months"} {$value} {/loop} / {loop="years"} {$value} {/loop} AM PM
{if condition="$id != 0"}{/if}