Adding a note field in serial table.
[koha.git] / koha-tmpl / intranet-tmpl / default / en / bull / statecollection.tmpl
1
2 <!-- TMPL_INCLUDE name="bull-top.inc" -->
3 <!--------------------------MAIN BODY OF PAGE-------------------------->
4 <div id="mainbloc">
5 <h1 class="bull">Subscription for <!-- TMPL_VAR name="bibliotitle" --></h1>
6 <a href="subscription-detail.pl?subscriptionid=<!-- TMPL_VAR name="subscriptionid" -->" class="button bull" title="detail of the subscription">Subscription</a>
7 <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>
8 <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>
9
10 <div id="bloc25">
11 <h2 class="bull">waited or late numbers</h2>
12         <form method="post" name="f" action="statecollection.pl">
13                 <input type="hidden" name="op" value="serialchangestatus">
14                 <input type="hidden" name="serial" value="<!-- TMPL_VAR name="serial" -->">
15                 <input type="hidden" name="subscriptionid" value="<!-- TMPL_VAR name="subscriptionid" -->">
16                 <input type="hidden" name="user" value="<!-- TMPL_VAR name="user" -->">
17         <table class="small">
18         <tr>
19                 <th class="bull">
20                         Numbered
21                 </th>
22                 <th class="bull">
23                         planned for
24                 </th>
25                 <th class="bull">
26                         Status
27                 </th>
28                 <th class="bull">
29                         Notes
30                 </th>
31         </tr>
32         <!-- TMPL_LOOP name="serialslist" -->
33                 <tr>
34                         <td>
35                                 <input type="text" name="serialseq" value="<!-- TMPL_VAR name="serialseq" -->" size=50 maxlength=100>
36                         </td>
37                         <td>
38                                 <input type="text" name="planneddate" value="<!-- TMPL_VAR name="planneddate" -->" size=10 maxlength=15>
39                         </td>
40                         <td>
41                                 <input type="hidden" name="serialid" value="<!-- TMPL_VAR name="serialid" -->">
42                                 <select name="status" size="1">
43                                         <!--TMPL_IF name="status1" -->
44                                                 <option value="1" selected>Waited</option>
45                                         <!-- /TMPL_IF -->
46                                         <!--TMPL_IF name="status2" -->
47                                                 <option value="2" selected>Arrived</option>
48                                         <!-- TMPL_ELSE -->
49                                                 <option value="2">Arrived</option>
50                                         <!-- /TMPL_IF -->
51                                         <!--TMPL_IF name="status3" -->
52                                                 <option value="3" selected>Late</option>
53                                         <!-- TMPL_ELSE -->
54                                                 <option value="3">Late</option>
55                                         <!-- /TMPL_IF -->
56                                         <!--TMPL_IF name="status4" -->
57                                                 <option value="4" selected>Missing</option>
58                                         <!-- TMPL_ELSE -->
59                                                 <option value="4">Missing</option>
60                                         <!-- /TMPL_IF -->
61                                         <!--TMPL_IF name="status5" -->
62                                                 <option value="5" selected>Not issued</option>
63                                         <!-- TMPL_ELSE -->
64                                                 <option value="5">Not issued</option>
65                                         <!-- /TMPL_IF -->
66                                         <!--TMPL_IF name="status6" -->
67                                                 <option value="6" selected>Delete</option>
68                                         <!-- TMPL_ELSE -->
69                                                 <option value="6">Delete</option>
70                                         <!-- /TMPL_IF -->
71                                 </select>
72                         </td>
73                         <td>
74                                 <input type="text" name="notes" value="<!-- TMPL_VAR name="notes" -->" size=10 maxlength=15>
75                         </td>
76                 </tr>
77         <!-- /TMPL_LOOP -->
78         <!-- TMPL_UNLESS name="hassubscriptionexpired" -->
79                 <tr>
80                         <td>
81                                 Manual issue <input type="text" name="serialseq" size=30 maxlength=100>
82                         </td>
83                         <td>
84                                 <input type="text" name="planneddate" size=10 maxlength=15>
85                         </td>
86                         <td>
87                                 <input type="hidden" name="serialid" value="0">
88                                 <select name="status" size="1">
89                                                 <option value="2">Arrived</option>
90                                                 <option value="3" selected>Late</option>
91                                                 <option value="4">Missing</option>
92                                 </select>
93                         </td>
94                 </tr>
95         <!-- /TMPL_UNLESS -->
96         </table>
97         <input type="submit" value="Save changes" accesskey="w" class="button bull">
98         <!-- TMPL_IF name="hassubscriptionexpired" -->
99                 <p>Subscription has expired. Waited last issue status can't be changed. <a href="#" onClick="popup()" class="button bull">Renew</a> your subscription</p>
100         <!-- /TMPL_IF -->
101         </form>
102 </div>
103
104 <div id="bloc25">
105         <h2 class="bull">Subscription summary</h2>
106         <form method="post" name="f" action="statecollection.pl">
107                 <input type="hidden" name="op" value="modsubscriptionhistory">
108                 <input type="hidden" name="serial" value="<!-- TMPL_VAR name="serial" -->">
109                 <input type="hidden" name="subscriptionid" value="<!-- TMPL_VAR name="subscriptionid" -->">
110                 <input type="hidden" name="user" value="<!-- TMPL_VAR name="user" -->">
111                 <p><label>Librarian</label><!-- TMPL_VAR name="user" --></p>
112                 <p><label class="label100">Beginnning date (*)</label><input type="text" name="histstartdate" value="<!-- TMPL_VAR name="histstartdate" -->"></p>
113                 <p><label class="label100">End date</label><input type="text" name="enddate" value="<!-- TMPL_VAR name="enddate" -->"></p>
114                 <p>Recieved issues</p>
115                 <p>&nbsp;<textarea name="recievedlist" COLS=60 ROWS=5><!-- TMPL_VAR name="recievedlist" --></textarea></p>
116                 <p>Missing issues</p>
117                 <p>&nbsp;<textarea name="missinglist" COLS=60 ROWS=2><!-- TMPL_VAR name="missinglist" --></textarea></p>
118                 <!--TMPL_IF Name="notissuedlist"-->
119                 <p>Not issued</p>
120                 <p>&nbsp;<textarea name="notissuedlist" COLS=60 ROWS=2><!-- TMPL_VAR name="notissuedlist" --></textarea></p>
121                 <!--/TMPL_IF-->
122                 <p>Opac's note</p>
123                 <p>&nbsp;<textarea name="opacnote" COLS=60 ROWS=5><!-- TMPL_VAR name="opacnote" --></textarea></p>
124                 <input type="submit" value="Save changes" class="button bull">
125         </form>
126 </div>
127
128 </table>
129 <script language="JavaScript" type="text/javascript">
130
131 function popup()
132 {
133          window.open("subscription-renew.pl?subscriptionid=<!-- TMPL_VAR name="subscriptionid">","subscription renewal",'width=700,height=400,toolbar=false,scrollbars=yes');
134 }
135 </script>
136
137 <!-- TMPL_INCLUDE name="bull-bottom.inc" -->