1 [% USE AuthorisedValues %]
5 [% INCLUDE 'doc-head-open.inc' %]
6 <title>Batch edit › Serials › Koha</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 <nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
17 <a href="/cgi-bin/koha/mainpage.pl">Home</a>
20 <a href="/cgi-bin/koha/serials/serials-home.pl">Serials</a>
23 <a href="#" aria-current="page">
30 <div class="main container-fluid">
32 <div class="col-sm-10 col-sm-push-2">
35 <h1>Subscription batch edit</h1>
38 <p>You are about to edit the following subscriptions:</p>
49 <th>Nonpublic notes</th>
51 <th>Create item when receiving</th>
52 <th>Expiration date</th>
56 [% FOREACH subscription IN subscriptions %]
58 <td>[% subscription.biblio.biblioitem.issn | html %]</td>
59 <td><a href="/cgi-bin/koha/serials/subscription-detail.pl?subscriptionid=[% subscription.subscriptionid | uri %]">[% subscription.biblio.title | html %] (#[% subscription.subscriptionid | html %])</a></td>
60 <td><a href="/cgi-bin/koha/acqui/supplier.pl?booksellerid=[% subscription.vendor.id | uri %]">[% subscription.vendor.name | html %]</a></td>
61 <td>[% AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.location', authorised_value => subscription.location ) | html %]</td>
62 <td>[% Branches.GetName(subscription.branchcode) | html %]</td>
63 <td>[% ItemTypes.GetDescription( subscription.itemtype ) | html %]</td>
64 <td>[% subscription.notes | html %]</td>
65 <td>[% subscription.internalnotes | html %]</td>
66 <td>[% subscription.callnumber | html %]</td>
68 [% IF subscription.serialsadditems %]
74 <td>[% subscription.enddate | $KohaDates %]</td>
82 [% FOREACH subscription IN subscriptions %]
83 <input type="hidden" name="subscriptionid" value="[% subscription.subscriptionid | html %]"/>
86 <input type="hidden" name="referrer" value="[% referrer | html %]"/>
88 <fieldset class="rows">
91 <label for="booksellerid">Vendor: </label>
92 <select id="booksellerid" name="booksellerid">
93 <option value="">No change</option>
94 [% FOREACH bookseller IN booksellers %]
95 <option value="[% bookseller.id | html %]">[% bookseller.name | html %]</option>
100 <label for="location">Location: </label>
101 <select id="location" name="location">
102 <option value="">No change</option>
103 [% FOREACH av IN AuthorisedValues.Get('LOC') %]
104 <option value="[% av.authorised_value | html %]">[% av.lib | html %]</option>
109 <label for="branchcode">Library: </label>
110 <select id="branchcode" name="branchcode">
111 <option value="">No change</option>
112 [% FOREACH branch IN Branches.all %]
113 <option value="[% branch.branchcode | html %]">[% branch.branchname | html %]</option>
118 <label for="itemtype">Item type: </label>
119 <select id="itemtype" name="itemtype">
120 <option value="">No change</option>
121 [% FOREACH itemtype IN ItemTypes.Get() %]
122 <option value="[% itemtype.itemtype | html %]">[% itemtype.description | html %]</option>
127 <label for="notes">Public note: </label>
128 <textarea id="notes" name="notes" placeholder="No change"></textarea>
131 <label for="internalnotes">Nonpublic note: </label>
132 <textarea id="internalnotes" name="internalnotes" placeholder="No change"></textarea>
135 <label for="serialsadditems">Create item when receiving: </label>
136 <select id="serialsadditems" name="serialsadditems">
137 <option value="">No change</option>
138 <option value="0">No</option>
139 <option value="1">Yes</option>
144 <label for="enddate">Expiration date: </label>
145 <input type="text" class="flatpickr" id="enddate" name="enddate" placeholder="No change"/>
147 [% FOREACH field IN additional_fields %]
149 <label for="field_[% field.id | html %]">[% field.name | html %]</label>
150 [% IF field.authorised_value_category %]
151 <select id="field_[% field.id | html %]" name="field_[% field.id | html %]">
152 <option value="">No change</option>
153 [% FOREACH av IN AuthorisedValues.Get(field.authorised_value_category) %]
154 <option value="[% av.authorised_value | html %]">[% av.lib | html %]</option>
158 <input type="text" id="field_[% field.id | html %]" name="field_[% field.id | html %]" placeholder="No change"/>
165 <fieldset class="action">
166 <button type="submit" name="batchedit" value="1">Save</button>
167 <a class="cancel" href="[% referrer | url %]">Cancel</a>
172 </div> <!-- /.col-sm-10.col-sm-push-2 -->
174 <div class="col-sm-2 col-sm-pull-10">
176 [% INCLUDE 'serials-menu.inc' %]
178 </div> <!-- /.col-sm-2.col-sm-pull-10 -->
179 </div> <!-- /.row -->
182 [% INCLUDE 'intranet-bottom.inc' %]