1 <!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->Koha -- Subscription detail<!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
3 <!-- TMPL_INCLUDE NAME="menus.inc" -->
4 <!-- TMPL_INCLUDE NAME="menu-catalogue.inc" -->
6 <h1>Subscription for <!-- TMPL_VAR name="bibliotitle" --></h1>
7 <div id="serials_subscription_detail">
8 <h2>Subscription information</h2>
9 <p>Librarian identity :</td><td> <!-- TMPL_VAR name="librarian" --></p>
10 <p><label>Supplier </label><!-- TMPL_VAR name="aqbooksellername" --></p>
11 <p><label>Cost</label><!-- TMPL_VAR name="cost" --></p>
12 <p><label>Budget </label><!-- TMPL_VAR name="bookfundid" --></p>
13 <p><label>Biblio</label><i>(<!-- TMPL_VAR name="biblionumber" -->)</i> <!-- TMPL_VAR name="bibliotitle" --></p>
14 <p><label>Notes:</label><!-- TMPL_VAR name="notes" --></p>
16 <!-- TMPL_IF name="letter" -->
17 <label>Issue alert with letter:</label><!-- TMPL_VAR name="letter" -->
19 Borrowers can't subscribe to issue alerts
22 <p><label>Distributed to</label>
23 <p><ul><!-- TMPL_VAR name="distributedto" --></ul></p>
25 <div id="serials_subscription_detail_planning">
27 <p><label>Beginnning date:</label> <!-- TMPL_VAR name="startdate" --></p>
28 <p><label>Frequency (*):</label>
29 <!--TMPL_IF name="periodicity1" -->
32 <!--TMPL_IF name="periodicity2" -->
35 <!--TMPL_IF name="periodicity3" -->
38 <!--TMPL_IF name="periodicity4" -->
41 <!--TMPL_IF name="periodicity5" -->
44 <!--TMPL_IF name="periodicity6" -->
47 <!--TMPL_IF name="periodicity7" -->
50 <!--TMPL_IF name="periodicity8" -->
53 <!--TMPL_IF name="periodicity9" -->
56 <!--TMPL_IF name="periodicity10" -->
59 <!--TMPL_IF name="periodicity11" -->
63 <p><label>Arrives on:</label>
64 <!--TMPL_IF name="arrival1" -->
67 <!--TMPL_IF name="arrival2" -->
70 <!--TMPL_IF name="arrival3" -->
73 <!--TMPL_IF name="arrival4" -->
76 <!--TMPL_IF name="arrival5" -->
79 <!--TMPL_IF name="arrival6" -->
82 <!--TMPL_IF name="arrival7" -->
86 <div id="serials_subscription_detail_length">
87 <h2>Subscription length</h2>
88 <p><label>Number of issues</label><!-- TMPL_VAR name="numberlength" --></p>
89 <p><label>Number of weeks</label><!-- TMPL_VAR name="weeklength" --></p>
90 <p><label>Number of months</label><!-- TMPL_VAR name="monthlength" --></p>
93 <div id="serials_subscription_detail_calculation">
94 <h2>Numbering calculation</h2>
96 <p>Numbering formula: <!-- TMPL_VAR name="numberingmethod" --></p>
100 <th> X </th>
101 <th> Y </th>
102 <th> Z </th>
107 <!-- TMPL_VAR name="add1" -->
110 <!-- TMPL_VAR name="add2" -->
113 <!-- TMPL_VAR name="add3" -->
118 <td><!-- TMPL_VAR name="every1" --></td>
119 <td><!-- TMPL_VAR name="every2" --></td>
120 <td><!-- TMPL_VAR name="every3" --></td>
123 <td>When more than</td>
124 <td><!-- TMPL_VAR name="whenmorethan1" --> <!-- TMPL_IF name="innerloop1" --><br/>
125 <i>(is <!-- TMPL_VAR name="innerloop1" -->)</i><!-- /TMPL_IF --></td>
126 <td><!-- TMPL_VAR name="whenmorethan2" --> <!-- TMPL_IF name="innerloop2" --><br/>
127 <i>(is <!-- TMPL_VAR name="innerloop2" -->)</i><!-- /TMPL_IF --></td>
128 <td><!-- TMPL_VAR name="whenmorethan3" --> <!-- TMPL_IF name="innerloop3" --><br/>
129 <i>(is <!-- TMPL_VAR name="innerloop3" -->)</i><!-- /TMPL_IF --></td>
133 <td><!-- TMPL_VAR name="setto1" --></td>
134 <td><!-- TMPL_VAR name="setto2" --></td>
135 <td><!-- TMPL_VAR name="setto3" --></td>
141 <td><!-- TMPL_VAR name="lastvalue1" --></td>
142 <td><!-- TMPL_VAR name="lastvalue2" --></td>
143 <td><!-- TMPL_VAR name="lastvalue3" --></td>
147 <div id="serials_subscription_detail_issue_list">
149 <table class="small">
151 <th> Issue number </th>
152 <th> Planned date </th>
153 <th> Status </th>
154 <th> Note </th>
156 <!-- TMPL_LOOP name="serialslist" -->
159 <!-- TMPL_VAR name="serialseq" -->
162 <!-- TMPL_VAR name="planneddate" -->
165 <!--TMPL_IF name="status1" -->
168 <!--TMPL_IF name="status2" -->
171 <!--TMPL_IF name="status3" -->
174 <!--TMPL_IF name="status4" -->
180 <!-- TMPL_VAR name="notes" -->
188 <form action="subscription-add.pl">
189 <input type="hidden" name="subscriptionid" value="<!-- TMPL_VAR name="subscriptionid" -->" />
190 <input type="hidden" name="op" value="mod" />
191 <input type="submit" value="Modify subscription" />
193 <form action="statecollection.pl">
194 <input type="hidden" name="subscriptionid" value="<!-- TMPL_VAR name="subscriptionid" -->" />
195 <input type="submit" value="Recieve issues" />
197 <form action="serial-issues.pl">
198 <input type="hidden" name="biblionumber" value="<!-- TMPL_VAR name="biblionumber" -->" />
199 <input type="submit" value="Issue history" />
201 <form action="/cgi-bin/koha/bull-home.pl">
202 <input type="hidden" name="biblionumber" value="<!-- TMPL_VAR name="biblionumber" -->" />
203 <input type="submit" value="Subscriptions" />
205 <!-- TMPL_IF name="letter" -->
206 <form action="viewalerts.pl">
207 <input type="hidden" name="subscriptionid" value="<!-- TMPL_VAR name="subscriptionid" -->" />
208 <input type="submit" value="Alerted borrowers" />
211 <form action="/cgi-bin/koha/MARCdetail.pl">
212 <input type="hidden" name="biblionumber" value="<!-- TMPL_VAR name="biblionumber" -->" />
213 <input type="submit" value="Back to biblio" />
215 <!-- TMPL_UNLESS name="totalissues" -->
216 <form action="javascript:confirm_deletion()">
217 <input type="submit" value="delete" />
219 <!-- /TMPL_UNLESS -->
223 function _(s) { return s } // dummy function for gettext
224 function confirm_deletion() {
225 var is_confirmed = confirm(_('Are you sure you want to delete this subscription?'));
227 window.location="subscription-detail.pl?subscriptionid=<!-- TMPL_VAR name="subscriptionid" -->&op=del";
231 <!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->