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