<#-- @ftlvariable name="dogCards" type="java.util.Collection<cz.vrk.pi.crm.api.cmku.dog.DogCardTemplateData>" -->
<data>
	<printDate>${.now?string('dd.MM.yyyy')}</printDate>
    <#if dogCards??>
        <#list dogCards as dogCard>
		    <individualCard>
			    <breedName>${(dogCard.breedName)!""}</breedName>
			    <name>${dogCard.name}</name>
			    <breedingStationName>${dogCard.breedingStationName}</breedingStationName>
			    <ownerName>${(dogCard.ownerName)!""}</ownerName>
			    <sex>${dogCard.sexShort}</sex>
			    <fullNumber>${dogCard.fullNumber}</fullNumber>
			    <foreignRegistrationNumber>${dogCard.foreignRegistrationNumber}</foreignRegistrationNumber>
			    <tatooNumber>${dogCard.tatooNumber}</tatooNumber>
			    <chipNumber>${dogCard.chipNumber}</chipNumber>
			    <birthday>${((dogCard.birthday)?string("dd.MM.yyyy"))!""}</birthday>
			    <fatherFullName>${(dogCard.fatherFullName)!""}</fatherFullName>
			    <motherFullName>${(dogCard.motherFullName)!""}</motherFullName>
			    <colorName>${(dogCard.colorName)!""}</colorName>
			    <furName>${(dogCard.furName)!""}</furName>
			    <height><#if dogCard.height??>${dogCard.height} cm</#if></height>
			    <length><#if dogCard.length??>${dogCard.length} cm</#if></length>
			    <bonitaceCode>${dogCard.bonitaceCode}</bonitaceCode>
			    <deceased>${dogCard.deceased?string('ANO', 'NE')}</deceased>
			    <studBookName>${dogCard.studBookName}</studBookName>
			    <pedigreePrintDate>${((dogCard.pedigreePrintDate)?string("dd.MM.yyyy hh:mm"))!""}</pedigreePrintDate>
			    <note>${dogCard.note}</note>
		    </individualCard>
        </#list>
    </#if>
</data>