1 [% USE AuthorisedValues %]
5 [% INCLUDE 'doc-head-open.inc' %]
6 <title>Koha › Serials › Batch edit</title>
7 [% INCLUDE 'doc-head-close.inc' %]
8 [% INCLUDE 'calendar.inc' %]
10 <body id="ser_subscription-batchedit" class="ser">
11 [% INCLUDE 'header.inc' %]
12 [% INCLUDE 'serials-search.inc' %]
14 <div id="breadcrumbs">
15 <a href="/cgi-bin/koha/mainpage.pl">Home</a>
17 <a href="/cgi-bin/koha/serials/serials-home.pl">Serials</a>
22 <div class="main container-fluid">
24 <div class="col-sm-10 col-sm-push-2">
27 <h1>Subscription batch edit</h1>
30 <p>You are about to edit the following subscriptions:</p>
41 <th>Nonpublic notes</th>
43 <th>Create item when receiving</th>
44 <th>Expiration date</th>
48 [% FOREACH subscription IN subscriptions %]
50 <td>[% subscription.biblio.biblioitem.issn | html %]</td>
51 <td><a href="/cgi-bin/koha/serials/subscription-detail.pl?subscriptionid=[% subscription.subscriptionid | uri %]">[% subscription.biblio.title | html %] (#[% subscription.subscriptionid | html %])</a></td>
52 <td><a href="/cgi-bin/koha/acqui/supplier.pl?booksellerid=[% subscription.vendor.id | uri %]">[% subscription.vendor.name | html %]</a></td>
53 <td>[% AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.location', authorised_value => subscription.location ) | html %]</td>
54 <td>[% Branches.GetName(subscription.branchcode) | html %]</td>
55 <td>[% ItemTypes.GetDescription( subscription.itemtype ) | html %]</td>
56 <td>[% subscription.notes | html %]</td>
57 <td>[% subscription.internalnotes | html %]</td>
58 <td>[% subscription.callnumber | html %]</td>
60 [% IF subscription.serialsadditems %]
66 <td>[% subscription.enddate | $KohaDates %]</td>
74 [% FOREACH subscription IN subscriptions %]
75 <input type="hidden" name="subscriptionid" value="[% subscription.subscriptionid | html %]"/>
78 <input type="hidden" name="referrer" value="[% referrer | html %]"/>
80 <fieldset class="rows">
83 <label for="booksellerid">Vendor: </label>
84 <select id="booksellerid" name="booksellerid">
85 <option value="">No change</option>
86 [% FOREACH bookseller IN booksellers %]
87 <option value="[% bookseller.id | html %]">[% bookseller.name | html %]</option>
92 <label for="location">Location: </label>
93 <select id="location" name="location">
94 <option value="">No change</option>
95 [% FOREACH av IN AuthorisedValues.Get('LOC') %]
96 <option value="[% av.authorised_value | html %]">[% av.lib | html %]</option>
101 <label for="branchcode">Library: </label>
102 <select id="branchcode" name="branchcode">
103 <option value="">No change</option>
104 [% FOREACH branch IN Branches.all %]
105 <option value="[% branch.branchcode | html %]">[% branch.branchname | html %]</option>
110 <label for="itemtype">Item type: </label>
111 <select id="itemtype" name="itemtype">
112 <option value="">No change</option>
113 [% FOREACH itemtype IN ItemTypes.Get() %]
114 <option value="[% itemtype.itemtype | html %]">[% itemtype.description | html %]</option>
119 <label for="notes">Public note: </label>
120 <textarea id="notes" name="notes" placeholder="No change"></textarea>
123 <label for="internalnotes">Nonpublic note: </label>
124 <textarea id="internalnotes" name="internalnotes" placeholder="No change"></textarea>
127 <label for="serialsadditems">Create item when receiving: </label>
128 <select id="serialsadditems" name="serialsadditems">
129 <option value="">No change</option>
130 <option value="0">No</option>
131 <option value="1">Yes</option>
136 <label for="enddate">Expiration date: </label>
137 <input type="text" class="datepicker" id="enddate" name="enddate" placeholder="No change"/>
139 [% FOREACH field IN additional_fields %]
141 <label for="field_[% field.id | html %]">[% field.name | html %]</label>
142 [% IF field.authorised_value_category %]
143 <select id="field_[% field.id | html %]" name="field_[% field.id | html %]">
144 <option value="">No change</option>
145 [% FOREACH av IN AuthorisedValues.Get(field.authorised_value_category) %]
146 <option value="[% av.authorised_value | html %]">[% av.lib | html %]</option>
150 <input type="text" id="field_[% field.id | html %]" name="field_[% field.id | html %]" placeholder="No change"/>
157 <fieldset class="action">
158 <button type="submit" name="batchedit" value="1">Save</button>
159 <a class="cancel" href="[% referrer | url %]">Cancel</a>
164 </div> <!-- /.col-sm-10.col-sm-push-2 -->
166 <div class="col-sm-2 col-sm-pull-10">
168 [% INCLUDE 'serials-menu.inc' %]
170 </div> <!-- /.col-sm-2.col-sm-pull-10 -->
171 </div> <!-- /.row -->
174 [% INCLUDE 'intranet-bottom.inc' %]