see mail on koha-devel : code cleaning on Search.pm + normalizing API + use of biblio...
[koha_fer] / koha-tmpl / intranet-tmpl / default / en / bull / subscription-detail.tmpl
1 <!-- TMPL_INCLUDE NAME="bull-top.inc" -->
2 <!--------------------------MAIN BODY OF PAGE-------------------------->
3 <div id="mainbloc">
4 <h1 class="bull">Subscription for <!-- TMPL_VAR name="bibliotitle" --></h1>
5 <a href="subscription-add.pl?op=mod&subscriptionid=<!-- TMPL_VAR name="subscriptionid" -->" class="button bull" title="Modify subscription">Edit</a>
6 <a href="statecollection.pl?subscriptionid=<!-- TMPL_VAR name="subscriptionid" -->" class="button bull" title="Recieve issues">Receive issues</a>
7 <a href="distribution.pl?subscriptionid=<!-- TMPL_VAR name="subscriptionid" -->" class="button bull" title="Recieve issues">Define distribution</a>
8 <a href="serial-issues.pl?biblionumber=<!-- TMPL_VAR name="biblionumber" -->" class="button bull" title="All issues on this title">Issue history</a>
9 <a href="/cgi-bin/koha/bull-home.pl?biblionumber=<!-- TMPL_VAR name="biblionumber" -->" class="button bull" title="all subscriptions on <!-- TMPL_VAR name="bibliotitle" -->">Subscriptions</a>
10 <!-- TMPL_IF name="letter" -->
11         <a href="viewalerts.pl?subscriptionid=<!-- TMPL_VAR name="subscriptionid" -->" class="button bull">Alerted borrowers</a>
12 <!-- /TMPL_IF -->
13 <a href="/cgi-bin/koha/MARCdetail.pl?bib=<!-- TMPL_VAR name="biblionumber" -->" class="button bull" title="go to <!-- TMPL_VAR name="bibliotitle" -->">Back to biblio</a>
14 <!-- TMPL_UNLESS name="totalissues" -->
15                 <a href="javascript:confirm_deletion()" class="button bull">
16                         delete
17                 </a>
18 <!-- /TMPL_UNLESS -->
19 <form method="post" name="f">
20 <div id="bloc25">
21         <h2 class="bull">Subscription information</h2>
22                 <p>Librarian identity :</td><td> <!-- TMPL_VAR name="librarian" --></p>
23                 <p><label>Supplier </label><!-- TMPL_VAR name="aqbooksellername" --></p>
24                 <p><label>Cost</label><!-- TMPL_VAR name="cost" --></p>
25                 <p><label>Budget </label><!-- TMPL_VAR name="bookfundid" --></p>
26                 <p><label>Biblio</label><i>(<!-- TMPL_VAR name="biblionumber" -->)</i> <!-- TMPL_VAR name="bibliotitle" --></p>
27                 <p><label>Notes:</label><!-- TMPL_VAR name="notes" --></p>
28                 <p>
29                         <!-- TMPL_IF name="letter" -->
30                                 <label class="label100">Issue alert with letter:</label><!-- TMPL_VAR name="letter" -->
31                         <!-- TMPL_ELSE -->
32                                 Borrowers can't subscribe to issue alerts
33                         <!-- /TMPL_IF -->
34                 </p>
35                 <p><label>Distributed to</label></p>
36                 <p><!-- TMPL_IF name="distributedto" --></p>
37 </div>
38 <div id="bloc25">
39         <h2 class="bull">Planning</h2>
40         <p><label class="label100">Beginnning date:</label> <!-- TMPL_VAR name="startdate" --></p>
41         <p><label class="label100">Frequency (*):</label>
42                 <!--TMPL_IF name="periodicity1" -->
43                                 1/day
44                 <!-- /TMPL_IF -->
45                 <!--TMPL_IF name="periodicity2" -->
46                                 1/week
47                 <!-- /TMPL_IF -->
48                 <!--TMPL_IF name="periodicity3" -->
49                                 1/2 weeks
50                 <!-- /TMPL_IF -->
51                 <!--TMPL_IF name="periodicity4" -->
52                                 1/3 weeks
53                 <!-- /TMPL_IF -->
54                 <!--TMPL_IF name="periodicity5" -->
55                                 1/Month
56                 <!-- /TMPL_IF -->
57                 <!--TMPL_IF name="periodicity6" -->
58                                 1/2 Months (6/year)
59                 <!-- /TMPL_IF -->
60                 <!--TMPL_IF name="periodicity7" -->
61                                 1/quarter
62                 <!-- /TMPL_IF -->
63                 <!--TMPL_IF name="periodicity8" -->
64                                 1/quarter
65                 <!-- /TMPL_IF -->
66                 <!--TMPL_IF name="periodicity9" -->
67                                 2/year
68                 <!-- /TMPL_IF -->
69                 <!--TMPL_IF name="periodicity10" -->
70                                 1/year
71                 <!-- /TMPL_IF -->
72                 <!--TMPL_IF name="periodicity11" -->
73                                 1/2 years
74                 <!-- /TMPL_IF -->
75         </p>
76         <p><label class="label100">Arrives on:</label>
77                 <!--TMPL_IF name="arrival1" -->
78                         Monday
79                 <!-- /TMPL_IF -->
80                 <!--TMPL_IF name="arrival2" -->
81                                 Tuesday
82                 <!-- /TMPL_IF -->
83                 <!--TMPL_IF name="arrival3" -->
84                                 Wednesday
85                 <!-- /TMPL_IF -->
86                 <!--TMPL_IF name="arrival4" -->
87                                 Thursday
88                 <!-- /TMPL_IF -->
89                 <!--TMPL_IF name="arrival5" -->
90                                 Friday
91                 <!-- /TMPL_IF -->
92                 <!--TMPL_IF name="arrival6" -->
93                                 Saturday
94                 <!-- /TMPL_IF -->
95                 <!--TMPL_IF name="arrival7" -->
96                                 Sunday
97                 <!-- /TMPL_IF -->
98 </div>
99 <div id="bloc25">
100         <h2 class="bull">Subscription length</h2>
101         <p><label class="label100">Number of issues</label><!-- TMPL_VAR name="numberlength" --></p>
102         <p><label class="label100">Number of weeks</label><!-- TMPL_VAR name="weeklength" --></p>
103         <p><label class="label100">Number of months</label><!-- TMPL_VAR name="monthlength" --></p>
104
105 </div>
106 <div id="bloc25">
107         <h2 class="bull">Numbering calculation</h2>
108         <p>
109                 <p>Numbering formula: <!-- TMPL_VAR name="numberingmethod" --></p>
110                 <table class="small" width="20%">
111                         <tr>
112                                 <th class="bull">&nbsp;</th>
113                                 <th class="bull">&nbsp;&nbsp;&nbsp;&nbsp;X&nbsp;&nbsp;&nbsp;&nbsp;</th>
114                                 <th class="bull">&nbsp;&nbsp;&nbsp;&nbsp;Y&nbsp;&nbsp;&nbsp;&nbsp;</th>
115                                 <th class="bull">&nbsp;&nbsp;&nbsp;&nbsp;Z&nbsp;&nbsp;&nbsp;&nbsp;</th>
116                         </tr>
117                         <tr>
118                                 <td class="bull">Add</td>
119                                 <td>
120                                         <!-- TMPL_VAR name="add1" -->
121                                 </td>
122                                 <td>
123                                         <!-- TMPL_VAR name="add2" -->
124                                 </td>
125                                 <td>
126                                         <!-- TMPL_VAR name="add3" -->
127                                 </td>
128                         </tr>
129                         <tr>
130                                 <td class="bull">once every</td>
131                                 <td><!-- TMPL_VAR name="every1" --></td>
132                                 <td><!-- TMPL_VAR name="every2" --></td>
133                                 <td><!-- TMPL_VAR name="every3" --></td>
134                         </tr>
135                         <tr>
136                                 <td class="bull">When more than</td>
137                                 <td><!-- TMPL_VAR name="whenmorethan1" --> <!-- TMPL_IF name="innerloop1" --><br/>
138                                         <i>(is <!-- TMPL_VAR name="innerloop1" -->)</i><!-- /TMPL_IF --></td>
139                                 <td><!-- TMPL_VAR name="whenmorethan2" --> <!-- TMPL_IF name="innerloop2" --><br/>
140                                         <i>(is <!-- TMPL_VAR name="innerloop2" -->)</i><!-- /TMPL_IF --></td>
141                                 <td><!-- TMPL_VAR name="whenmorethan3" --> <!-- TMPL_IF name="innerloop3" --><br/>
142                                         <i>(is <!-- TMPL_VAR name="innerloop3" -->)</i><!-- /TMPL_IF --></td>
143                         </tr>
144                         <tr>
145                                 <td class="bull">Set back to</td>
146                                 <td><!-- TMPL_VAR name="setto1" --></td>
147                                 <td><!-- TMPL_VAR name="setto2" --></td>
148                                 <td><!-- TMPL_VAR name="setto3" --></td>
149                         </tr>
150                         <tr>
151                                 <td class="bull">
152                                                 Last value
153                                 </td>
154                                 <td><!-- TMPL_VAR name="lastvalue1" --></td>
155                                 <td><!-- TMPL_VAR name="lastvalue2" --></td>
156                                 <td><!-- TMPL_VAR name="lastvalue3" --></td>
157                         </tr>
158                 </table>
159 </div>
160 <div id="bloc25">
161         <h2 class="bull">Issues</h2>
162         <table class="small">
163         <tr>
164                 <th class="bull">&nbsp;&nbsp;&nbsp;&nbsp;Issue number&nbsp;&nbsp;&nbsp;&nbsp;</th>
165                 <th class="bull">&nbsp;&nbsp;&nbsp;&nbsp;Planned date&nbsp;&nbsp;&nbsp;&nbsp;</th>
166                 <th class="bull">&nbsp;&nbsp;&nbsp;&nbsp;Status&nbsp;&nbsp;&nbsp;&nbsp;</th>
167         </tr>
168         <!-- TMPL_LOOP name="serialslist" -->
169                 <tr>
170                         <td>
171                                 <!-- TMPL_VAR name="serialseq" -->
172                         </td>
173                         <td>
174                                 <!-- TMPL_VAR name="planneddate" -->
175                         </td>
176                         <td>
177                                         <!--TMPL_IF name="status1" -->
178                                                 Waited
179                                         <!-- /TMPL_IF -->
180                                         <!--TMPL_IF name="status2" -->
181                                                 Arrived
182                                         <!-- /TMPL_IF -->
183                                         <!--TMPL_IF name="status3" -->
184                                                 Late
185                                         <!-- /TMPL_IF -->
186                                         <!--TMPL_IF name="status4" -->
187                                                 Missing
188                                         <!-- /TMPL_IF -->
189                                 </select>
190                         </td>
191                 </tr>
192         <!-- /TMPL_LOOP -->
193         </table>
194 </div>
195 </div>
196 <script>
197 function _(s) { return s } // dummy function for gettext
198 function confirm_deletion() {
199         var is_confirmed = confirm(_('Are you sure you want to delete this subscription?'));
200         if (is_confirmed) {
201                 window.location="subscription-detail.pl?subscriptionid=<!-- TMPL_VAR name="subscriptionid" -->&op=del";
202         }
203 }
204 </script>
205 <!-- TMPL_INCLUDE NAME="bull-bottom.inc" -->