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 class="label100">Supplier </label><!-- TMPL_VAR name="aqbooksellername" --></p>
18 <p><label class="label100">Cost</label><!-- TMPL_VAR name="cost" --></p>
19 <p><label class="label100">Budget </label><!-- TMPL_VAR name="bookfundid" --></p>
20 <p><label class="label100">Biblio</label><i>(<!-- TMPL_VAR name="biblionumber" -->)</i> <!-- TMPL_VAR name="bibliotitle" --></p>
21 <p><label class="label100">Notes:</label><!-- TMPL_VAR name="notes" --></p>
23 <!-- TMPL_IF name="letter" -->
24 <label class="label100">Issue alert with letter:</label><!-- TMPL_VAR name="letter" -->
26 <label class="label100">Borrowers can't subscribe to issue alerts</label>
31 <h2 class="bull">Planning</h2>
32 <p><label class="label100">Beginnning date:</label> <!-- TMPL_VAR name="startdate" --></p>
33 <p><label class="label100">Frequency (*):</label>
34 <!--TMPL_IF name="periodicity1" -->
37 <!--TMPL_IF name="periodicity2" -->
40 <!--TMPL_IF name="periodicity3" -->
43 <!--TMPL_IF name="periodicity4" -->
46 <!--TMPL_IF name="periodicity5" -->
49 <!--TMPL_IF name="periodicity6" -->
52 <!--TMPL_IF name="periodicity7" -->
55 <!--TMPL_IF name="periodicity8" -->
58 <!--TMPL_IF name="periodicity9" -->
61 <!--TMPL_IF name="periodicity10" -->
64 <!--TMPL_IF name="periodicity11" -->
68 <p><label class="label100">Arrives on:</label>
69 <!--TMPL_IF name="arrival1" -->
72 <!--TMPL_IF name="arrival2" -->
75 <!--TMPL_IF name="arrival3" -->
78 <!--TMPL_IF name="arrival4" -->
81 <!--TMPL_IF name="arrival5" -->
84 <!--TMPL_IF name="arrival6" -->
87 <!--TMPL_IF name="arrival7" -->
92 <h2 class="bull">Subscription length</h2>
93 <p><label class="label100">Number of issues</label><!-- TMPL_VAR name="numberlength" --></p>
94 <p><label class="label100">Number of weeks</label><!-- TMPL_VAR name="weeklength" --></p>
95 <p><label class="label100">Number of months</label><!-- TMPL_VAR name="monthlength" --></p>
99 <h2 class="bull">Numbering calculation</h2>
101 <p>Numbering formula: <!-- TMPL_VAR name="numberingmethod" --></p>
102 <table class="small" width="20%">
104 <th class="bull"> </th>
105 <th class="bull"> X </th>
106 <th class="bull"> Y </th>
107 <th class="bull"> Z </th>
110 <td class="bull">Add</td>
112 <!-- TMPL_VAR name="add1" -->
115 <!-- TMPL_VAR name="add2" -->
118 <!-- TMPL_VAR name="add3" -->
122 <td class="bull">once every</td>
123 <td><!-- TMPL_VAR name="every1" --></td>
124 <td><!-- TMPL_VAR name="every2" --></td>
125 <td><!-- TMPL_VAR name="every3" --></td>
128 <td class="bull">When more than</td>
129 <td><!-- TMPL_VAR name="whenmorethan1" --> <!-- TMPL_IF name="innerloop1" --><br/>
130 <i>(is <!-- TMPL_VAR name="innerloop1" -->)</i><!-- /TMPL_IF --></td>
131 <td><!-- TMPL_VAR name="whenmorethan2" --> <!-- TMPL_IF name="innerloop2" --><br/>
132 <i>(is <!-- TMPL_VAR name="innerloop2" -->)</i><!-- /TMPL_IF --></td>
133 <td><!-- TMPL_VAR name="whenmorethan3" --> <!-- TMPL_IF name="innerloop3" --><br/>
134 <i>(is <!-- TMPL_VAR name="innerloop3" -->)</i><!-- /TMPL_IF --></td>
137 <td class="bull">Set back to</td>
138 <td><!-- TMPL_VAR name="setto1" --></td>
139 <td><!-- TMPL_VAR name="setto2" --></td>
140 <td><!-- TMPL_VAR name="setto3" --></td>
146 <td><!-- TMPL_VAR name="lastvalue1" --></td>
147 <td><!-- TMPL_VAR name="lastvalue2" --></td>
148 <td><!-- TMPL_VAR name="lastvalue3" --></td>
153 <h2 class="bull">Issues</h2>
154 <table class="small">
156 <th class="bull"> Issue number </th>
157 <th class="bull"> Planned date </th>
158 <th class="bull"> Status </th>
160 <!-- TMPL_LOOP name="serialslist" -->
163 <!-- TMPL_VAR name="serialseq" -->
166 <!-- TMPL_VAR name="planneddate" -->
169 <!--TMPL_IF name="status1" -->
172 <!--TMPL_IF name="status2" -->
175 <!--TMPL_IF name="status3" -->
178 <!--TMPL_IF name="status4" -->
189 function _(s) { return s } // dummy function for gettext
190 function confirm_deletion() {
191 var is_confirmed = confirm(_('Are you sure you want to delete this subscription?'));
193 window.location="subscription-detail.pl?subscriptionid=<!-- TMPL_VAR name="subscriptionid" -->&op=del";
197 <!-- TMPL_INCLUDE NAME="bull-bottom.inc" -->