<!-- content_cash_desk/giftcertificate.tpl -->
<div class="full_box">
	<div class="title_wrapper">
		<div class="title"><h2>Gutschein</h2></div>
		<div class="clear"></div>
	</div>

	<div class="box_content">
		<div class="box_padder">
			{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}
		
			<p>
				<input style="margin-right:5px;" id="hasGiftCertificate" type="checkbox" {if $giftcode}checked="ckecked"{/if} name="giftcertificate[has_gift_certificate]" value="yes" /><label>Ich habe einen Gutschein</label>
			</p>
			
			<div style="{if !$giftcode}display:none;{/if}" id="giftCertificateCodeEntry">
				<p>
				<label>Gutscheincode</label>
				<input type="text" class="formatted obligatory" name="giftcertificate[gift_certificat_code]" id="giftCertificateCodeFields" {if $giftcode}value="{$giftcode}"{/if} />
				</p>
			</div>
		</div>
	</div>
</div>
