1 <!-- TMPL_INCLUDE NAME="bull-top.inc" -->
2 <!--------------------------MAIN BODY OF PAGE-------------------------->
4 <h1 class="bull">Subscription</h1>
5 <a href="subscription-add.pl?op=mod&subscriptionid=<!-- TMPL_VAR name="subscriptionid" -->" class="button bull">Edit</a>
6 <a href="statecollection.pl?subscriptionid=<!-- TMPL_VAR name="subscriptionid" -->" class="button bull">Issues</a>
7 <a href="/cgi-bin/koha/MARCdetail.pl?bib=<!-- TMPL_VAR name="biblionumber" -->" class="button bull">Biblio</a>
8 <!-- TMPL_UNLESS name="totalissues" -->
9 <a href="javascript:confirm_deletion()" class="button bull">
13 <form method="post" name="f">
15 <h2 class="bull">Subscription information</h2>
16 <p>Librarian identity :</td><td> <!-- TMPL_VAR name="librarian" --></p>
17 <p><label>Supplier </label><!-- TMPL_VAR name="aqbooksellername" --></p>
18 <p><label>Cost</label><!-- TMPL_VAR name="cost" --></p>
19 <p><label>Budget </label><!-- TMPL_VAR name="bookfundid" --></p>
20 <p><label>Biblio</label><i>(<!-- TMPL_VAR name="biblionumber" -->)</i> <!-- TMPL_VAR name="bibliotitle" --></p>
21 <p><label>Notes:</label><!-- TMPL_VAR name="notes" --></p>
24 <h2 class="bull">Planning</h2>
25 <p><label class="label100">Beginnning date:</label> <!-- TMPL_VAR name="startdate" --></p>
26 <p><label class="label100">Frequency (*):</label>
27 <!--TMPL_IF name="periodicity1" -->
30 <!--TMPL_IF name="periodicity2" -->
33 <!--TMPL_IF name="periodicity3" -->
36 <!--TMPL_IF name="periodicity4" -->
39 <!--TMPL_IF name="periodicity5" -->
42 <!--TMPL_IF name="periodicity6" -->
45 <!--TMPL_IF name="periodicity7" -->
48 <!--TMPL_IF name="periodicity8" -->
51 <!--TMPL_IF name="periodicity9" -->
54 <!--TMPL_IF name="periodicity10" -->
57 <!--TMPL_IF name="periodicity11" -->
61 <p><label class="label100">Arrives on:</label>
62 <!--TMPL_IF name="arrival1" -->
65 <!--TMPL_IF name="arrival2" -->
68 <!--TMPL_IF name="arrival3" -->
71 <!--TMPL_IF name="arrival4" -->
74 <!--TMPL_IF name="arrival5" -->
77 <!--TMPL_IF name="arrival6" -->
80 <!--TMPL_IF name="arrival7" -->
85 <h2 class="bull">Subscription length</h2>
86 <p><label class="label100">Number of issues</label><!-- TMPL_VAR name="numberlength" --></p>
87 <p><label class="label100">Number of weeks</label><!-- TMPL_VAR name="weeklength" --></p>
88 <p><label class="label100">Number of months</label><!-- TMPL_VAR name="monthlength" --></p>
92 <h2 class="bull">Numbering calculation</h2>
94 <p>Numbering formula: <!-- TMPL_VAR name="numberingmethod" --></p>
95 <table class="small" width="20%">
97 <th class="bull"> </th>
98 <th class="bull"> X </th>
99 <th class="bull"> Y </th>
100 <th class="bull"> Z </th>
103 <td class="bull">Add</td>
105 <!-- TMPL_VAR name="add1" -->
108 <!-- TMPL_VAR name="add2" -->
111 <!-- TMPL_VAR name="add3" -->
115 <td class="bull">once every</td>
116 <td><!-- TMPL_VAR name="every1" --></td>
117 <td><!-- TMPL_VAR name="every2" --></td>
118 <td><!-- TMPL_VAR name="every3" --></td>
121 <td class="bull">When more than</td>
122 <td><!-- TMPL_VAR name="whenmorethan1" --> <!-- TMPL_IF name="innerloop1" --><br/>
123 <i>(is <!-- TMPL_VAR name="innerloop1" -->)</i><!-- /TMPL_IF --></td>
124 <td><!-- TMPL_VAR name="whenmorethan2" --> <!-- TMPL_IF name="innerloop2" --><br/>
125 <i>(is <!-- TMPL_VAR name="innerloop2" -->)</i><!-- /TMPL_IF --></td>
126 <td><!-- TMPL_VAR name="whenmorethan3" --> <!-- TMPL_IF name="innerloop3" --><br/>
127 <i>(is <!-- TMPL_VAR name="innerloop3" -->)</i><!-- /TMPL_IF --></td>
130 <td class="bull">Set back to</td>
131 <td><!-- TMPL_VAR name="setto1" --></td>
132 <td><!-- TMPL_VAR name="setto2" --></td>
133 <td><!-- TMPL_VAR name="setto3" --></td>
139 <td><!-- TMPL_VAR name="lastvalue1" --></td>
140 <td><!-- TMPL_VAR name="lastvalue2" --></td>
141 <td><!-- TMPL_VAR name="lastvalue3" --></td>
146 <h2 class="bull">Issues</h2>
147 <table class="small">
149 <th class="bull"> Issue number </th>
150 <th class="bull"> Planned date </th>
151 <th class="bull"> Status </th>
153 <!-- TMPL_LOOP name="serialslist" -->
156 <!-- TMPL_VAR name="serialseq" -->
159 <!-- TMPL_VAR name="planneddate" -->
162 <!--TMPL_IF name="status1" -->
165 <!--TMPL_IF name="status2" -->
168 <!--TMPL_IF name="status3" -->
171 <!--TMPL_IF name="status4" -->
182 function _(s) { return s } // dummy function for gettext
183 function confirm_deletion() {
184 var is_confirmed = confirm(_('Are you sure you want to delete this subscription?'));
186 window.location="subscription-detail.pl?subscriptionid=<!-- TMPL_VAR name="subscriptionid" -->&op=del";
190 <!-- TMPL_INCLUDE NAME="bull-bottom.inc" -->