#-- @ftlvariable name="data" type="com.dantek.dl.template.model.balancestatement.BalanceStatementTemplateDataModel" --> <#assign inEnglish = data.loaner?? && data.loaner.preferredLanguage?? && data.loaner.preferredLanguage == "en"> <#if inEnglish> Statement <#else> Saldoopgørelse #if>
<#if inEnglish>${data.agency.name}
<#if inEnglish> Balance statement <#else> Saldoopgørelse #if>
<#if inEnglish> Print Date ${.now?string("dd/MM-yyyy")} <#else> Udskrevet den ${.now?string("dd/MM-yyyy")} #if>
<#if inEnglish>
Dear ${data.loaner.name}
We can see that you have an outstanding balance with the library. Therefore, we have sent
you a balance statement.
<#if data.compensations?has_content>
If materials are handed in in good condition, you only have to pay fees.
#if>
<#else>
Kære ${data.loaner.name}
Vi kan se, at du har udestående med biblioteket. Vi har derfor sendt dig en saldoopgørelse.
<#if data.compensations?has_content>
Afleveres materialer i god stand, kan du nøjes med at betale gebyrer.
#if>
#if>
<#if inEnglish> The following statements are created within the last ${timeLimitEN}: <#else> Mellemværender oprettet indenfor de seneste ${timeLimitDK}: #if>
<#if anyNewFees><#if inEnglish> Fees <#else> Gebyrer #if>
${fee.billNumber} | <#if (fee.text?has_content)>${(fee.text)[0..*30]}#if><#if (fee.text?has_content && fee.loanDate?has_content)>, <#if inEnglish> Loan time: <#else> Udlånt: #if> ${(fee.loanDate?string("dd/MM-yyyy"))!""}#if> | <#if inEnglish>${fee.amount} kr. | <#else>${fee.amount} kr. | #if>
${materialLoan.materialNumber!""}, <#if (materialLoan.author?has_content)>${(materialLoan.author)[0..*30]},#if> <#if (materialLoan.title?has_content)> ${(materialLoan.title)[0..*30]} <#if (materialLoan.periodicalName)??>(${(materialLoan.periodicalName)})#if> #if> | |||
<#if inEnglish>
<#if fee.returnDate?has_content>Hand-in deadline: ${fee.returnDate?string["dd/MM-yyyy"]} #if> Fee created: ${(fee.balanceDate?date?string["dd/MM-yyyy"])!""}<#if fee.dueDate?has_content>. Payment deadline: ${fee.dueDate?string["dd/MM-yyyy"]}#if> <#else> <#if fee.returnDate?has_content>Afleveringsfrist: ${fee.returnDate?string["dd/MM-yyyy"]} #if> Gebyr oprettet: ${(fee.balanceDate?date?string["dd/MM-yyyy"])!""}<#if fee.dueDate?has_content>. Betalingsfrist: ${fee.dueDate?string["dd/MM-yyyy"]}#if> #if> |
|||
Sum ${sumOfNewFees} kr. |
<#if inEnglish> Compensations <#else> Erstatninger #if>
${compensation.billNumber}<#if compensation.migratedBillNumber??> (${compensation.migratedBillNumber})#if> | <#if (compensation.text?has_content)>${(compensation.text)[0..*30]}#if><#if (compensation.materialLoan?has_content && compensation.materialLoan.loanDate?has_content)><#if (compensation.text?has_content)>, #if> <#if inEnglish> Loan time: <#else> Udlånt: #if> ${(compensation.materialLoan.loanDate?string("dd/MM-yyyy"))}#if> | <#if inEnglish>${compensation.amount} kr. | <#else>${compensation.amount} kr. | #if>
${compensation.materialLoan.materialNumber!""}, <#if (compensation.materialLoan.author?has_content)> ${(compensation.materialLoan.author)[0..*30]}, #if> <#if (compensation.materialLoan.title?has_content)> ${(compensation.materialLoan.title)[0..*30]} <#if (compensation.materialLoan.periodicalName)??>(${(compensation.materialLoan.periodicalName)})#if> #if> | |||
<#if inEnglish>
<#if compensation.returnDate?has_content>Hand-in deadline: ${compensation.returnDate?string["dd/MM-yyyy"]} #if> Compensation created: ${(compensation.balanceDate?date?string["dd/MM-yyyy"])!""}<#if compensation.dueDate?has_content>. Payment deadline: ${compensation.dueDate?string["dd/MM-yyyy"]}#if> <#else> <#if compensation.returnDate?has_content>Afleveringsfrist: ${compensation.returnDate?string["dd/MM-yyyy"]} #if> Erstatning oprettet: ${(compensation.balanceDate?date?string["dd/MM-yyyy"])!""}<#if compensation.dueDate?has_content>. Betalingsfrist: ${compensation.dueDate?string["dd/MM-yyyy"]}#if> #if> |
|||
Sum ${sumOfNewCompensations} kr. |
Total sum of balances created in the last ${timeLimitEN} ${sumOfNewMaterials} kr. | |
Samlet sum af mellemværende oprettet indenfor de seneste ${timeLimitDK} ${sumOfNewMaterials} kr. |
<#if inEnglish>
Balances older than ${timeLimitEN}.
Note: These will soon be sent to collection. You can avoid this by paying them before the due date.
<#else>
Mellemværender ældre end ${timeLimitDK}.
Bemærk: Disse vil snart overgå til inkasso. Du kan undgå dette, hvis du betaler inden betalingsfristen.
#if>
<#if inEnglish> Fees <#else> Gebyrer #if>
${fee.billNumber} | <#if (fee.text?has_content)>${(fee.text)[0..*30]}#if><#if (fee.text?has_content && fee.loanDate?has_content)>, <#if inEnglish> Loan time: <#else> Udlånt: #if> ${(fee.loanDate?string("dd/MM-yyyy"))!""}#if> | <#if inEnglish>${fee.amount} kr. | <#else>${fee.amount} kr. | #if>
${materialLoan.materialNumber!""}, <#if (materialLoan.author?has_content)>${(materialLoan.author)[0..*30]},#if> <#if (materialLoan.title?has_content)> ${(materialLoan.title)[0..*30]} <#if (materialLoan.periodicalName)??>(${(materialLoan.periodicalName)})#if> #if> | |||
<#if inEnglish>
<#if fee.returnDate?has_content>Hand-in deadline: ${fee.returnDate?string["dd/MM-yyyy"]} #if> Fee created: ${(fee.balanceDate?date?string["dd/MM-yyyy"])!""}<#if fee.dueDate?has_content>. Payment deadline: ${fee.dueDate?string["dd/MM-yyyy"]}#if> <#else> <#if fee.returnDate?has_content>Afleveringsfrist: ${fee.returnDate?string["dd/MM-yyyy"]} #if> Gebyr oprettet: ${(fee.balanceDate?date?string["dd/MM-yyyy"])!""}<#if fee.dueDate?has_content>. Betalingsfrist: ${fee.dueDate?string["dd/MM-yyyy"]}#if> #if> |
|||
Sum ${sumOfOldFees} kr. |
<#if inEnglish> Compensations <#else> Erstatninger #if>
${compensation.billNumber}<#if compensation.migratedBillNumber??> (${compensation.migratedBillNumber})#if> | <#if (compensation.text?has_content)>${(compensation.text)[0..*30]}#if> <#if (compensation.materialLoan?has_content && compensation.materialLoan.loanDate?has_content)> <#if (compensation.text?has_content)>, #if> <#if inEnglish> Loan time: <#else> Udlånt: #if> ${(compensation.materialLoan.loanDate?string("dd/MM-yyyy"))}#if> | <#if inEnglish>${compensation.amount} kr. | <#else>${compensation.amount} kr. | #if>
${compensation.materialLoan.materialNumber!""}, <#if (compensation.materialLoan.author?has_content)> ${(compensation.materialLoan.author)[0..*30]}, #if> <#if (compensation.materialLoan.title?has_content)> ${(compensation.materialLoan.title)[0..*30]} <#if (compensation.materialLoan.periodicalName)??>(${(compensation.materialLoan.periodicalName)})#if> #if> | |||
<#if inEnglish>
<#if compensation.returnDate?has_content>Hand-in deadline: ${compensation.returnDate?string["dd/MM-yyyy"]} #if> Compensation created: ${(compensation.balanceDate?date?string["dd/MM-yyyy"])!""}<#if compensation.dueDate?has_content>. Payment deadline: ${compensation.dueDate?string["dd/MM-yyyy"]}#if> <#else> <#if compensation.returnDate?has_content>Afleveringsfrist: ${compensation.returnDate?string["dd/MM-yyyy"]} #if> Erstatning oprettet: ${(compensation.balanceDate?date?string["dd/MM-yyyy"])!""}<#if compensation.dueDate?has_content>. Betalingsfrist: ${compensation.dueDate?string["dd/MM-yyyy"]}#if> #if> |
|||
Sum ${sumOfOldCompensations} kr. | |
<#if inEnglish> Total sum of balances created in the last ${timeLimitEN} ${sumOfOldMaterials} kr. |
<#if inEnglish> Total amount owed to the library ${totalSumOfBalancesNotSentToCollection} kr. <#else> Dit samlede mellemværende med biblioteket ${totalSumOfBalancesNotSentToCollection} kr. #if> |
<#if inEnglish> You have the following balances that have been sent to collection. These cannot be paid at the library, but must be paid at the municipality. <#else> Du har følgende mellemværender, der er sendt til inddrivelse. Disse kan ikke betales på biblioteket, men skal betales ved henvendelse til kommunen. #if> #if> <#if anyFeesSentToCollection>
<#if inEnglish> Fees <#else> Gebyrer #if>
${fee.billNumber} | <#if (fee.text?has_content)>${(fee.text)[0..*30]}#if><#if (fee.text?has_content && fee.loanDate?has_content)>, <#if inEnglish> Loan time: <#else> Udlånt: #if> ${(fee.loanDate?string("dd/MM-yyyy"))!""}#if> | <#if inEnglish>${fee.amount} kr. | <#else>${fee.amount} kr. | #if>
${materialLoan.materialNumber!""}, <#if (materialLoan.author?has_content)>${(materialLoan.author)[0..*30]},#if> <#if (materialLoan.title?has_content)> <#if (materialLoan.author?has_content)>#if> ${(materialLoan.title)[0..*30]} <#if (materialLoan.periodicalName)??>(${(materialLoan.periodicalName)})#if> #if> | |||
<#if inEnglish>
<#if fee.returnDate?has_content>Hand-in deadline: ${fee.returnDate?string["dd/MM-yyyy"]} #if> Fee created: ${(fee.balanceDate?date?string["dd/MM-yyyy"])!""}<#if fee.dueDate?has_content>. Payment deadline: ${fee.dueDate?string["dd/MM-yyyy"]}#if> <#else> <#if fee.returnDate?has_content>Afleveringsfrist: ${fee.returnDate?string["dd/MM-yyyy"]} #if> Gebyr oprettet: ${(fee.balanceDate?date?string["dd/MM-yyyy"])!""}<#if fee.dueDate?has_content>. Betalingsfrist: ${fee.dueDate?string["dd/MM-yyyy"]}#if> #if> |
|||
Sum ${sumOfFeesSentToCollection} kr. |
<#if inEnglish> Compensations <#else> Erstatninger #if>
${compensation.billNumber}<#if compensation.migratedBillNumber??> (${compensation.migratedBillNumber})#if> | <#if (compensation.text?has_content)>${(compensation.text)[0..*30]}#if><#if (compensation.materialLoan?has_content && compensation.materialLoan.loanDate?has_content)><#if (compensation.text?has_content)>, #if> <#if inEnglish> Loan time: <#else> Udlånt: #if> ${(compensation.materialLoan.loanDate?string("dd/MM-yyyy"))}#if> | <#if inEnglish>${compensation.amount} kr. | <#else>${compensation.amount} kr. | #if>
${compensation.materialLoan.materialNumber!""}, <#if (compensation.materialLoan.author?has_content)> ${(compensation.materialLoan.author)[0..*15]}, #if> <#if (compensation.materialLoan.title?has_content)> <#if (compensation.materialLoan.author?has_content)> #if> ${(compensation.materialLoan.title)[0..*30]} <#if (compensation.materialLoan.periodicalName)??>(${(compensation.materialLoan.periodicalName)})#if> #if> | |||
<#if inEnglish>
<#if compensation.returnDate?has_content>Hand-in deadline: ${compensation.returnDate?string["dd/MM-yyyy"]} #if> Compensation created: ${(compensation.balanceDate?date?string["dd/MM-yyyy"])!""}<#if compensation.dueDate?has_content>. Payment deadline: ${compensation.dueDate?string["dd/MM-yyyy"]}#if> <#else> <#if compensation.returnDate?has_content>Afleveringsfrist: ${compensation.returnDate?string["dd/MM-yyyy"]} #if> Erstatning oprettet: ${(compensation.balanceDate?date?string["dd/MM-yyyy"])!""}<#if compensation.dueDate?has_content>. Betalingsfrist: ${compensation.dueDate?string["dd/MM-yyyy"]}#if> #if> |
|||
Sum ${sumOfCompensationsSentToCollection} kr. | |
<#if inEnglish> Total sum of balances sent to collection ${sumOfBalancesSentToCollection} kr. <#else> Samlet sum af mellemværende sendt til inddrivelse ${sumOfBalancesSentToCollection} kr. #if> |
<#if inEnglish> Total amount owed ${totalSumOfAllBalances} kr. <#else> Dit samlede mellemværende ${totalSumOfAllBalances} kr. #if> |