Bug 34571: Remove use of "onclick" for ExpandField in cataloguing editors
[koha.git] / koha-tmpl / intranet-tmpl / prog / en / modules / serials / subscription-history.tt
1 [% USE raw %]
2 [% USE KohaDates %]
3 [% SET footerjs = 1 %]
4 [% INCLUDE 'doc-head-open.inc' %]
5 <title>Subscription history &rsaquo; Serials &rsaquo; Koha</title>
6 [% INCLUDE 'doc-head-close.inc' %]
7 </head>
8
9 <body id="ser_subscription_history" class="ser">
10 [% WRAPPER 'header.inc' %]
11     [% INCLUDE 'serials-search.inc' %]
12 [% END %]
13
14 [% WRAPPER 'sub-header.inc' %]
15     [% WRAPPER breadcrumbs %]
16         [% WRAPPER breadcrumb_item %]
17             <a href="/cgi-bin/koha/serials/serials-home.pl">Serials</a>
18         [% END %]
19         [% WRAPPER breadcrumb_item %]
20             <a href="/cgi-bin/koha/serials/subscription-detail.pl?subscriptionid=[% subscriptionid | uri %]"><em>[% title | html %]</em></a>
21         [% END %]
22         [% WRAPPER breadcrumb_item bc_active= 1 %]
23             <span>Subscription history</span>
24         [% END %]
25     [% END #/ WRAPPER breadcrumbs %]
26 [% END #/ WRAPPER sub-header.inc %]
27
28 <div class="main container-fluid">
29     <div class="row">
30         <div class="col-sm-10 col-sm-push-2">
31             <main>
32
33       <h1>Subscription history for [% title | html %]</h1>
34
35         <div id="subscription_form_history">
36           <form method="post" action="/cgi-bin/koha/serials/subscription-history.pl">
37             <input type="hidden" name="op" value="mod" />
38             <input type="hidden" name="subscriptionid" value="[% subscriptionid | html %]" />
39             <p>Hint : you can update the serial history manually. This can be useful for an old subscription or to clean the existing history. Modify those fields with care, as future serial receive will continue to update them automatically.</p>
40             <table>
41               <tr>
42                 <td>Subscription start date</td>
43                 <td>
44                     <input type="text" size="10" name="histstartdate" value="[% histstartdate | html %]" class="flatpickr" data-date_to="histenddate" /> (start date of the 1st subscription)
45                     <div class="hint">[% INCLUDE 'date-format.inc' %]</div>
46                 </td>
47               </tr>
48               <tr>
49                 <td>Subscription end date</td>
50                 <td>
51                     <input type="text" size="10" id="histenddate" name="histenddate" value="[% histenddate | html %]" class="flatpickr" />(if empty, subscription is still active)
52                     <div class="hint">[% INCLUDE 'date-format.inc' %]</div>
53                 </td>
54               </tr>
55               <tr>
56                 <td>Received issues</td>
57                 <td><textarea name="receivedlist" cols="60" rows="5">[% receivedlist | html %]</textarea></td>
58               </tr>
59               <tr>
60                 <td>Missing issues</td>
61                 <td><textarea name="missinglist" cols="60" rows="5">[% missinglist | html %]</textarea></td>
62               </tr>
63               <tr>
64                 <td>Note for OPAC</td>
65                 <td><textarea name="opacnote" cols="60" rows="5">[% opacnote | html %]</textarea></td>
66               </tr>
67               <tr>
68                 <td>Note for staff</td>
69                 <td><textarea name="librariannote" cols="60" rows="5">[% librariannote | html %]</textarea></td>
70               </tr>
71             </table>
72             <input type="submit" class="btn btn-primary" value="Save subscription history"  />
73           </form>
74         </div>
75
76             </main>
77         </div> <!-- /.col-sm-10.col-sm-push-2 -->
78
79         <div class="col-sm-2 col-sm-pull-10">
80             <aside>
81                 [% INCLUDE 'serials-menu.inc' %]
82             </aside>
83         </div> <!-- /.col-sm-2.col-sm-pull-10 -->
84      </div> <!-- /.row -->
85
86 [% MACRO jsinclude BLOCK %]
87     [% INCLUDE 'calendar.inc' %]
88 [% END %]
89
90 [% INCLUDE 'intranet-bottom.inc' %]