
<HTML><!--fake translations!-->
<body>	
<table summary="list of loan renewals - data" template:optional="true">
  <tr>
  </tr>

<template:loop>
  <tr valign="top"><td>
      <table summary="title data">
        <tr><td class="plain"> <!--TITEL/AUTOR--></td></tr>
        <tr><td>
          <span class="label-small">Signatur:<!--shelf mark--></span>
          {$tempbook := { "select(id)": replace(text(),"(;\s*|\s+)$", "") }}
          <span class="label-small"><!--status:-->Status:</span>
          {$tempbook.status := text()}
          <span class="label-small">Leihfristende:<!--expiry date:--></span>
          {$tempbook.duedate := parse-date(text()),
           if ($id-list = $tempbook("select(id)")) then $book := $tempbook else $need-update := true()
          }          
        </td></tr>
      </table>
    </td>
  </tr>
</template:loop>

</table>

<table summary="list of rejected loan renewals - data" template:optional=true>
  <tr>
  </tr>

<template:loop>
  <tr valign="top"><td>
      <table summary="title data">
        <tr><td class="plain"> <!--TITEL/AUTOR--></td></tr>
        <tr><td>
          <span class="label-small">Signatur:<!--shelf mark--></span>
          {book:={ "select(id)": replace(text(),"(;\s*|\s+)$", "")} }
          <span class="label-small"><!--???:-->Verweigerungsgrund:</span>
          <template:read var="book.status:problematic" source="text()"/>
          <span class="label-small">Leihfristende:<!--expiry date:--></span>
          {$book.duedate := parse-date(text())}
        </td></tr>
      </table>
    </td>
  </tr>
</template:loop>

</table>


</BODY>
</HTML>
