Owen Leonard
04d79ba063
This patch modifies more and more staff client serials templates so that JavaScript is included in the footer instead of the header. This patch adds a new JavaScript include, showpredictionpattern.js, which is used by subscription-add.tt and subscription-numberpatterns.tt. it also adds subscription-add.js, moving most of the JS embedded in subscription-add.tt into an external file. To test, apply the patch and test the JavaScript-driven features of the modified templates: All button controls, DataTables functionality, tabs, etc. - Serials -> New subscription - Date pickers - Popup search windows for vendors and bibliographic records - Next / Previous buttons - Form validation - Prediction pattern operations Test with new subscriptions, editing existing subscriptions, and duplicating subscriptions. - Serials -> Manage Numbering Patterns - Datatable - Delete confirmation -> Edit - Datepicker, test pattern - Serials -> Manage frequencies - Delete confirmation -> Edit - Form validation - Serials -> Subscription details -> Planning tab -> Edit history -> Datepicker - Serials -> Subscription details -> Renew - Datepicker Signed-off-by: Dominic Pichette <dominic@inlibro.com> Signed-off-by: Josef Moravec <josef.moravec@gmail.com> Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
71 lines
2.9 KiB
Text
71 lines
2.9 KiB
Text
[% USE KohaDates %]
|
|
[% SET footerjs = 1 %]
|
|
[% INCLUDE 'doc-head-open.inc' %]
|
|
<title>Koha › Serials › Subscription history</title>
|
|
[% INCLUDE 'doc-head-close.inc' %]
|
|
</head>
|
|
|
|
<body id="ser_subscription_history" class="ser">
|
|
[% INCLUDE 'header.inc' %]
|
|
[% INCLUDE 'serials-search.inc' %]
|
|
|
|
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> › <a href="/cgi-bin/koha/serials/serials-home.pl">Serials</a> › Subscription history</div>
|
|
|
|
<div id="doc3" class="yui-t2">
|
|
|
|
<div id="bd">
|
|
<div id="yui-main">
|
|
<div class="yui-b">
|
|
<h1>Subscription history for [% title %]</h1>
|
|
<div id="subscription_form_history">
|
|
<form method="post" action="/cgi-bin/koha/serials/subscription-history.pl">
|
|
<input type="hidden" name="op" value="mod" />
|
|
<input type="hidden" name="subscriptionid" value="[% subscriptionid %]" />
|
|
<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>
|
|
<table>
|
|
<tr>
|
|
<td>Subscription start date</td>
|
|
<td>
|
|
<input type="text" size="10" name="histstartdate" value="[% histstartdate | $KohaDates %]" class="datepickerfrom" /> (start date of the 1st subscription)
|
|
<div class="hint">[% INCLUDE 'date-format.inc' %]</div>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>Subscription end date</td>
|
|
<td>
|
|
<input type="text" size="10" name="histenddate" value="[% histenddate | $KohaDates %]" class="datepickerto" />(if empty, subscription is still active)
|
|
<div class="hint">[% INCLUDE 'date-format.inc' %]</div>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>Received issues</td>
|
|
<td><textarea name="receivedlist" cols="60" rows="5">[% receivedlist %]</textarea></td>
|
|
</tr>
|
|
<tr>
|
|
<td>Missing issues</td>
|
|
<td><textarea name="missinglist" cols="60" rows="5">[% missinglist %]</textarea></td>
|
|
</tr>
|
|
<tr>
|
|
<td>Note for OPAC</td>
|
|
<td><textarea name="opacnote" cols="60" rows="5">[% opacnote %]</textarea></td>
|
|
</tr>
|
|
<tr>
|
|
<td>Note for staff</td>
|
|
<td><textarea name="librariannote" cols="60" rows="5">[% librariannote %]</textarea></td>
|
|
</tr>
|
|
</table>
|
|
<input type="submit" value="Save subscription history" />
|
|
</form>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="yui-b">
|
|
[% INCLUDE 'serials-menu.inc' %]
|
|
</div>
|
|
</div>
|
|
|
|
[% MACRO jsinclude BLOCK %]
|
|
[% INCLUDE 'calendar.inc' %]
|
|
[% END %]
|
|
|
|
[% INCLUDE 'intranet-bottom.inc' %]
|