Bug 30952: Staff interface redesign (header)
[koha.git] / koha-tmpl / intranet-tmpl / prog / en / modules / serials / subscription-history.tt
1 [% USE KohaDates %]
2 [% SET footerjs = 1 %]
3 [% INCLUDE 'doc-head-open.inc' %]
4 <title>Subscription history &rsaquo; Serials &rsaquo; Koha</title>
5 [% INCLUDE 'doc-head-close.inc' %]
6 </head>
7
8 <body id="ser_subscription_history" class="ser">
9 [% WRAPPER 'header.inc' %]
10     [% INCLUDE 'serials-search.inc' %]
11 [% END %]
12
13 [% WRAPPER 'sub-header.inc' %]
14 <nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
15     <ol>
16         <li>
17             <a href="/cgi-bin/koha/mainpage.pl"><i class="fa fa-home"></i></a>
18         </li>
19         <li>
20             <a href="/cgi-bin/koha/serials/serials-home.pl">Serials</a>
21         </li>
22         <li>
23             <a href="#" aria-current="page">
24                 Subscription history
25             </a>
26         </li>
27     </ol>
28 </nav>
29 [% END %]
30
31 <div class="main container-fluid">
32     <div class="row">
33         <div class="col-sm-10 col-sm-push-2">
34             <main>
35
36       <h1>Subscription history for [% title | html %]</h1>
37
38         <div id="subscription_form_history">
39           <form method="post" action="/cgi-bin/koha/serials/subscription-history.pl">
40             <input type="hidden" name="op" value="mod" />
41             <input type="hidden" name="subscriptionid" value="[% subscriptionid | html %]" />
42             <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>
43             <table>
44               <tr>
45                 <td>Subscription start date</td>
46                 <td>
47                     <input type="text" size="10" name="histstartdate" value="[% histstartdate | html %]" class="flatpickr" data-date_to="histenddate" /> (start date of the 1st subscription)
48                     <div class="hint">[% INCLUDE 'date-format.inc' %]</div>
49                 </td>
50               </tr>
51               <tr>
52                 <td>Subscription end date</td>
53                 <td>
54                     <input type="text" size="10" id="histenddate" name="histenddate" value="[% histenddate | html %]" class="flatpickr" />(if empty, subscription is still active)
55                     <div class="hint">[% INCLUDE 'date-format.inc' %]</div>
56                 </td>
57               </tr>
58               <tr>
59                 <td>Received issues</td>
60                 <td><textarea name="receivedlist" cols="60" rows="5">[% receivedlist | html %]</textarea></td>
61               </tr>
62               <tr>
63                 <td>Missing issues</td>
64                 <td><textarea name="missinglist" cols="60" rows="5">[% missinglist | html %]</textarea></td>
65               </tr>
66               <tr>
67                 <td>Note for OPAC</td>
68                 <td><textarea name="opacnote" cols="60" rows="5">[% opacnote | html %]</textarea></td>
69               </tr>
70               <tr>
71                 <td>Note for staff</td>
72                 <td><textarea name="librariannote" cols="60" rows="5">[% librariannote | html %]</textarea></td>
73               </tr>
74             </table>
75             <input type="submit" value="Save subscription history"  />
76           </form>
77         </div>
78
79             </main>
80         </div> <!-- /.col-sm-10.col-sm-push-2 -->
81
82         <div class="col-sm-2 col-sm-pull-10">
83             <aside>
84                 [% INCLUDE 'serials-menu.inc' %]
85             </aside>
86         </div> <!-- /.col-sm-2.col-sm-pull-10 -->
87      </div> <!-- /.row -->
88
89 [% MACRO jsinclude BLOCK %]
90     [% INCLUDE 'calendar.inc' %]
91 [% END %]
92
93 [% INCLUDE 'intranet-bottom.inc' %]