+
+<!-- TMPL_IF name="subscriptionsnumber" -->
+<div id="subscriptions">
+<div class="yui-g">
+<div id="catalogue_detail_subscriptions">
+ <h2>This is a serial subscription</h2>
+ <p> (There are <!-- TMPL_VAR name="subscriptionsnumber" --> subscriptions associated with this title).</p>
+ <!-- TMPL_LOOP Name="subscriptions" -->
+ <!-- TMPL_IF name="branchname" --><h3>At library: <!-- TMPL_VAR NAME="branchname" --></h3><!-- TMPL_ELSE -->
+ <!-- TMPL_IF name="branchcode" --><h3>At branch: <!-- TMPL_VAR NAME="branchcode" --></h3><!-- /TMPL_IF --><!-- /TMPL_IF -->
+ <!-- TMPL_IF NAME="subscriptionnotes" --><p><!--TMPL_VAR NAME="subscriptionnotes"--> </p><!-- /TMPL_IF -->
+ <!--TMPL_IF NAME="latestserials"-->
+ <p> The <!-- TMPL_VAR NAME="staffdisplaycount" --> latest issues related to this subscription:</p>
+ <table>
+ <tr>
+ <th>Issue #</th>
+ <th>Date</th>
+ <th>Status</th>
+ <th>Note</th>
+ </tr>
+ <!--TMPL_LOOP Name="latestserials"-->
+ <tr>
+ <td><!--TMPL_VAR Name="serialseq"--></td>
+ <td><!--TMPL_VAR Name="planneddate"--></td>
+ <td><!--TMPL_IF Name="status1"-->Expected
+ <!--TMPL_ELSE -->
+ <!-- TMPL_IF Name="status2"-->Arrived
+ <!--TMPL_ELSE -->
+ <!-- TMPL_IF Name="status3"-->Late
+ <!--TMPL_ELSE -->
+ <!-- TMPL_IF Name="status4"-->Missing
+ <!--TMPL_ELSE -->
+ <!-- TMPL_IF Name="status5"-->Not Issued
+ <!--/TMPL_IF-->
+ <!--/TMPL_IF-->
+ <!--/TMPL_IF-->
+ <!--/TMPL_IF-->
+ <!--/TMPL_IF--></td>
+ <td><!--TMPL_VAR Name="notes"--></td>
+ </tr>
+ <!--/TMPL_LOOP -->
+ </table>
+ <!-- /TMPL_IF -->
+ <a href="/cgi-bin/koha/serials/subscription-detail.pl?subscriptionid=<!-- TMPL_VAR NAME="subscriptionid" -->">Subscription Details</a>
+ <!-- /TMPL_LOOP -->
+</div>
+</div>
+</div>
+<!-- /TMPL_IF -->
+