1 <!-- TMPL_UNLESS NAME="preview" -->
2 <!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->
3 <title>Koha › Subscription edit</title>
4 <!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
7 <!-- TMPL_INCLUDE NAME="header.inc" -->
8 <!--TMPL_INCLUDE NAME="menu-serials.inc" -->
10 <script type="text/javascript">
11 function Setorder(myorder){
12 if (document.claims.elements['order'].value == myorder){
13 document.claims.elements['order'].value=myorder+' desc';
15 document.claims.elements['order'].value=myorder;
17 document.claims.elements['op'].value="";
18 document.claims.submit();
22 <!-- TMPL_INCLUDE NAME="popup-top.inc" -->
23 <div class="popup-block">
26 <!-- TMPL_UNLESS NAME="preview" -->
29 <form name="claims" action="claims.pl" method="post">
30 <!-- TMPL_VAR name="CGIsupplier" -->
31 <input type="submit" value="OK" />
32 <!-- TMPL_IF name="phone" -->Phone: <!-- TMPL_VAR name="phone" --><!-- /TMPL_IF -->
33 <!-- TMPL_IF name="booksellerfax" -->Fax: <!-- TMPL_VAR name="booksellerfax" --><!-- /TMPL_IF -->
34 <!-- TMPL_IF name="bookselleremail" --></p><p><a href="mailto:<!-- TMPL_VAR name="bookselleremail" -->"><!-- TMPL_VAR name="bookselleremail" --></a><!-- /TMPL_IF -->
37 <!-- TMPL_IF NAME="letter" -->
39 <select name="letter_code">
40 <!-- TMPL_LOOP name="letters" -->
41 <option value="<!--TMPL_VAR Name="code"-->"><!--TMPL_VAR Name="name"--></option>
45 No Letter defined. Please Define One. The list of expected issues is displayed.
48 <input type="hidden" name="order" value="<!--TMPL_VAR Name="order"-->" />
49 <input type="hidden" name="op" value="" />
50 <!-- TMPL_IF NAME="missingissues" -->
51 <h3>Missing Issues</h3>
54 <!--TMPL_IF NAME="letter"-->
55 <th class="cell-header">Claim</th>
57 <th class="cell-header">Supplier</th>
58 <th class="cell-header">Title</th>
59 <th class="cell-header">Issue number</th>
60 <th class="cell-header">Status <a href="javascript:Setorder('status');">sort</a></th>
61 <th class="cell-header">Since <a href="javascript:Setorder('planneddate');">sort</a></th>
62 <th class="cell-header">Began Claim</th>
64 <!-- TMPL_LOOP name="missingissues" -->
66 <!--TMPL_IF NAME="letter" -->
68 <input type="checkbox" name="serialid" value="<!-- TMPL_VAR NAME="serialid"-->" onclick="document.claims.op='send_alert';" />
72 <!-- TMPL_VAR name="name" -->
75 <!-- TMPL_VAR name="title" -->
78 <!-- TMPL_VAR name="serialseq" -->
81 <!-- TMPL_IF Name="status1" -->Waited<!-- /TMPL_IF -->
82 <!-- TMPL_IF Name="status2" -->Arrived<!-- /TMPL_IF -->
83 <!-- TMPL_IF Name="status3" -->Late<!-- /TMPL_IF -->
84 <!-- TMPL_IF Name="status4" -->Missing<!-- /TMPL_IF -->
85 <!-- TMPL_IF Name="status7" -->Claimed<!-- /TMPL_IF -->
88 <!-- TMPL_VAR name="planneddate" -->
91 <!-- TMPL_VAR name="claimdate" -->
97 <p>Select a supplier</p>
100 <!-- TMPL_IF Name="singlesupplier"-->
101 <input type="hidden" name="supplierid" value="<!--TMPL_VAR NAME="supplierid"-->" />
103 <a href="claims.pl?supplierid=<!-- TMPL_VAR
104 name="supplierid" -->&op=preview" onclick="popup(<!-- TMPL_VAR
105 name="supplierid" -->,''); return false" class="button">Supplier Group Claim Letter</a></p> -->
108 <!--TMPL_IF Name="letter" -->
109 <input type="submit" name="submit" class="button" value="Send letter" />
113 <!-- TMPL_IF Name="supplierloop"-->
114 <!-- TMPL_LOOP Name="supplierloop"-->
115 <!-- TMPL_IF NAME="name" -->
116 <p><b><!-- TMPL_VAR NAME="name" --></b><br />
118 <!-- TMPL_IF NAME="postal" -->
119 <!-- TMPL_VAR NAME="postal" --><br />
121 <!-- TMPL_IF NAME="contphone" -->
122 Ph: <!-- TMPL_VAR NAME="contphone" --><br />
124 <!-- TMPL_IF NAME="contfax" -->
125 Fax: <!-- TMPL_VAR NAME="contfax" --><br />
127 <!-- TMPL_IF NAME="contemail" -->
128 Email: <!-- TMPL_VAR NAME="contemail" --><br />
130 <!-- TMPL_IF NAME="accountnumber" -->
131 A/C: <!-- TMPL_VAR NAME="accountnumber" --></p>
133 <!-- TMPL_IF NAME="contact" -->
134 <p>Dear <!-- TMPL_VAR NAME="contact" --></p>
136 <p>To whom it may concern</p>
138 <p>The following items have not been received from you and are now considered missing:</p>
141 <!-- TMPL_IF NAME="missingissues" -->
142 <h3>Missing Issues</h3>
145 <td class="cell"><b>Supplier<b></td>
146 <td class="cell"><b>Title</b></td>
147 <td class="cell"><b>Issue number</b></td>
148 <td class="cell"><b>Missing since</b></td>
150 <!-- TMPL_LOOP name="missingissues" -->
153 <!-- TMPL_VAR name="name" -->
156 <!-- TMPL_VAR name="Title" -->
159 <!-- TMPL_VAR name="serialseq" -->
162 <!-- TMPL_VAR name="planneddate" -->
169 <p class="noprint"><a href="javascript:window.print()" class="button">Print</a> <a href="javascript:window.close()" class="button">Close</a></p>
170 <!-- /TMPL_UNLESS -->
172 <script type="text/javascript">
175 function popup(supplierid,serialid){
176 window.open('claims.pl?supplierid='+ supplierid +'&serialid='+ serialid +'&op=preview' ,'popup', 'width=600,height=400,toolbar=no,scrollbars=yes');
180 <!-- TMPL_UNLESS NAME="preview" -->
185 <!-- TMPL_INCLUDE NAME="mainmenu.inc" -->
186 <!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->
189 <!-- TMPL_INCLUDE NAME="popup-bottom.inc" -->
190 <!-- /TMPL_UNLESS -->