{if ($bUser) == true} {module name='api.gateway.form' gateway_data=$aPurchaseDetails } {else} {module name='api.gateway.form' } {/if}