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