<!-- content_cash_desk/giftcertificate.tpl -->
<div class="arrow_title">Gutschein</div>
<br />

<div style="width:100%;">
	{if $giftcertificatmessage}
		<p>{$giftcertificatmessage}</p>
		
		{if $gftcertificateerrormessage}<p style="color:red;">{$gftcertificateerrormessage}</p>{/if}
	{else}
		<p>Wen sie einen Gutscheincode haben, können sie ihn unten angeben.</p>
	{/if}

	<div>
		<input id="hasGiftCertificate" type="checkbox" {if $giftcode}checked="ckecked"{/if} name="giftcertificate[has_gift_certificate]" value="yes" /><label>Ich habe einen Gutschein</label>
	</div>
	
	<div style="width:470px;{if !$giftcode}display:none;{/if}" id="giftCertificateCodeEntry">
		<br />
		<label>Gutscheincode</label><br />
		<div class="v_input_wrapper" style="width:290px;">
			<div class="v_input_left">&nbsp;</div>
			<div class="v_input_middle">
				<input type="text" name="giftcertificate[gift_certificat_code]" id="giftCertificateCodeFields" {if $giftcode}value="{$giftcode}"{/if} />
			</div>
			<div class="v_input_right">&nbsp;</div>
			<div class="clear"></div>
		</div>
	</div>
	<br style="clear:left;" />
</div>
