|
Line 0
Link Here
|
|
|
1 |
[% USE AuthorisedValues %] |
| 2 |
[% USE Branches %] |
| 3 |
[% USE ItemTypes %] |
| 4 |
[% USE KohaDates %] |
| 5 |
[% INCLUDE 'doc-head-open.inc' %] |
| 6 |
<title>Koha › Serials › Batch edit</title> |
| 7 |
[% INCLUDE 'doc-head-close.inc' %] |
| 8 |
[% INCLUDE 'calendar.inc' %] |
| 9 |
</head> |
| 10 |
<body id="ser_subscription-batchedit" class="ser"> |
| 11 |
[% INCLUDE 'header.inc' %] |
| 12 |
[% INCLUDE 'serials-search.inc' %] |
| 13 |
|
| 14 |
<div id="breadcrumbs"> |
| 15 |
<a href="/cgi-bin/koha/mainpage.pl">Home</a> |
| 16 |
› |
| 17 |
<a href="/cgi-bin/koha/serials/serials-home.pl">Serials</a> |
| 18 |
› |
| 19 |
Batch edit |
| 20 |
</div> |
| 21 |
|
| 22 |
<div id="doc3" class="yui-t2"> |
| 23 |
<div id="bd"> |
| 24 |
<div id="yui-main"> |
| 25 |
<div class="yui-b"> |
| 26 |
<h1>Subscription batch edit</h1> |
| 27 |
|
| 28 |
<div> |
| 29 |
<p>You are about to edit the following subscriptions:</p> |
| 30 |
<table> |
| 31 |
<thead> |
| 32 |
<tr> |
| 33 |
<th>ISSN</th> |
| 34 |
<th>Title</th> |
| 35 |
<th>Notes</th> |
| 36 |
<th>Library</th> |
| 37 |
<th>Location</th> |
| 38 |
<th>Call number</th> |
| 39 |
<th>Expiration date</th> |
| 40 |
</tr> |
| 41 |
</thead> |
| 42 |
<tbody> |
| 43 |
[% FOREACH subscription IN subscriptions %] |
| 44 |
<tr> |
| 45 |
<td>[% subscription.biblio.biblioitem.issn %]</td> |
| 46 |
<td><a href="/cgi-bin/koha/serials/subscription-detail.pl?subscriptionid=[% subscription.subscriptionid %]">[% subscription.biblio.title %] (#[% subscription.subscriptionid %])</a></td> |
| 47 |
<td>[% subscription.notes %] [% IF subscription.internalnotes %]([% subscription.internalnotes %])[% END %]</td> |
| 48 |
<td>[% Branches.GetName(subscription.branchcode) %]</td> |
| 49 |
<td>[% AuthorisedValues.GetByCode('LOC', subscription.location) %]</td> |
| 50 |
<td>[% subscription.callnumber %]</td> |
| 51 |
<td>[% subscription.enddate | $KohaDates %]</td> |
| 52 |
</tr> |
| 53 |
[% END %] |
| 54 |
</tbody> |
| 55 |
</table> |
| 56 |
</div> |
| 57 |
|
| 58 |
<form method="post"> |
| 59 |
[% FOREACH subscription IN subscriptions %] |
| 60 |
<input type="hidden" name="subscriptionid" value="[% subscription.subscriptionid %]"/> |
| 61 |
[% END %] |
| 62 |
[% IF referrer %] |
| 63 |
<input type="hidden" name="referrer" value="[% referrer %]"/> |
| 64 |
[% END %] |
| 65 |
<fieldset class="rows"> |
| 66 |
<ol> |
| 67 |
<li> |
| 68 |
<label for="booksellerid">Bookseller</label> |
| 69 |
<select id="booksellerid" name="booksellerid"> |
| 70 |
<option value="">No change</option> |
| 71 |
[% FOREACH bookseller IN booksellers %] |
| 72 |
<option value="[% bookseller.id %]">[% bookseller.name %]</option> |
| 73 |
[% END %] |
| 74 |
</select> |
| 75 |
</li> |
| 76 |
<li> |
| 77 |
<label for="location">Location</label> |
| 78 |
<select id="location" name="location"> |
| 79 |
<option value="">No change</option> |
| 80 |
[% FOREACH av IN AuthorisedValues.Get('LOC') %] |
| 81 |
<option value="[% av.authorised_value | html %]">[% av.lib %]</option> |
| 82 |
[% END %] |
| 83 |
</select> |
| 84 |
</li> |
| 85 |
<li> |
| 86 |
<label for="branchcode">Library</label> |
| 87 |
<select id="branchcode" name="branchcode"> |
| 88 |
<option value="">No change</option> |
| 89 |
[% FOREACH branch IN Branches.all %] |
| 90 |
<option value="[% branch.branchcode | html %]">[% branch.branchname %]</option> |
| 91 |
[% END %] |
| 92 |
</select> |
| 93 |
</li> |
| 94 |
<li> |
| 95 |
<label for="itemtype">Item type</label> |
| 96 |
<select id="itemtype" name="itemtype"> |
| 97 |
<option value="">No change</option> |
| 98 |
[% FOREACH itemtype IN ItemTypes.Get() %] |
| 99 |
<option value="[% itemtype.itemtype %]">[% itemtype.description %]</option> |
| 100 |
[% END %] |
| 101 |
</select> |
| 102 |
</li> |
| 103 |
<li> |
| 104 |
<label for="notes">Public note</label> |
| 105 |
<textarea id="notes" name="notes" placeholder="No change"></textarea> |
| 106 |
</li> |
| 107 |
<li> |
| 108 |
<label for="internalnotes">Nonpublic note</label> |
| 109 |
<textarea id="internalnotes" name="internalnotes" placeholder="No change"></textarea> |
| 110 |
</li> |
| 111 |
<li> |
| 112 |
<label for="serialsadditems">Create item when receiving</label> |
| 113 |
<select id="serialsadditems" name="serialsadditems"> |
| 114 |
<option value="">No change</option> |
| 115 |
<option value="0">No</option> |
| 116 |
<option value="1">Yes</option> |
| 117 |
</select> |
| 118 |
|
| 119 |
</li> |
| 120 |
<li> |
| 121 |
<label for="enddate">Expiration date</label> |
| 122 |
<input type="date" class="datepicker" id="enddate" name="enddate" placeholder="No change"/> |
| 123 |
</li> |
| 124 |
[% FOREACH field IN additional_fields %] |
| 125 |
<li> |
| 126 |
<label for="field_[% field.id %]">[% field.name %]</label> |
| 127 |
[% IF field.authorised_value_category %] |
| 128 |
<select id="field_[% field.id %]" name="field_[% field.id %]"> |
| 129 |
<option value="">No change</option> |
| 130 |
[% FOREACH av IN AuthorisedValues.Get(field.authorised_value_category) %] |
| 131 |
<option value="[% av.authorised_value %]">[% av.lib %]</option> |
| 132 |
[% END %] |
| 133 |
</select> |
| 134 |
[% ELSE %] |
| 135 |
<input id="field_[% field.id %]" name="field_[% field.id %]" placeholder="No change"/> |
| 136 |
[% END %] |
| 137 |
</li> |
| 138 |
[% END %] |
| 139 |
</ol> |
| 140 |
</fieldset> |
| 141 |
|
| 142 |
<fieldset class="action"> |
| 143 |
<button type="submit" name="batchedit" value="1">Start batch edit</button> |
| 144 |
</fieldset> |
| 145 |
</form> |
| 146 |
</div> |
| 147 |
</div> |
| 148 |
<div class="yui-b"> |
| 149 |
[% INCLUDE 'serials-menu.inc' %] |
| 150 |
</div> |
| 151 |
</div> |
| 152 |
|
| 153 |
[% INCLUDE 'intranet-bottom.inc' %] |