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 [% WRAPPER 'header.inc' %]
12 [% INCLUDE 'serials-search.inc' %]
15 [% WRAPPER 'sub-header.inc' %]
16 <nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
19 <a href="/cgi-bin/koha/mainpage.pl"><i class="fa fa-home"></i></a>
22 <a href="/cgi-bin/koha/serials/serials-home.pl">Serials</a>
25 <a href="#" aria-current="page">
33 <div class="main container-fluid">
35 <div class="col-sm-10 col-sm-push-2">
38 <h1>Subscription batch edit</h1>
41 <p>You are about to edit the following subscriptions:</p>
52 <th>Nonpublic notes</th>
54 <th>Create item when receiving</th>
55 <th>Expiration date</th>
59 [% FOREACH subscription IN subscriptions %]
61 <td>[% subscription.biblio.biblioitem.issn | html %]</td>
62 <td><a href="/cgi-bin/koha/serials/subscription-detail.pl?subscriptionid=[% subscription.subscriptionid | uri %]">[% subscription.biblio.title | html %] (#[% subscription.subscriptionid | html %])</a></td>
63 <td><a href="/cgi-bin/koha/acqui/supplier.pl?booksellerid=[% subscription.vendor.id | uri %]">[% subscription.vendor.name | html %]</a></td>
64 <td>[% AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.location', authorised_value => subscription.location ) | html %]</td>
65 <td>[% Branches.GetName(subscription.branchcode) | html %]</td>
66 <td>[% ItemTypes.GetDescription( subscription.itemtype ) | html %]</td>
67 <td>[% subscription.notes | html %]</td>
68 <td>[% subscription.internalnotes | html %]</td>
69 <td>[% subscription.callnumber | html %]</td>
71 [% IF subscription.serialsadditems %]
77 <td>[% subscription.enddate | $KohaDates %]</td>
85 [% FOREACH subscription IN subscriptions %]
86 <input type="hidden" name="subscriptionid" value="[% subscription.subscriptionid | html %]"/>
89 <input type="hidden" name="referrer" value="[% referrer | html %]"/>
91 <fieldset class="rows">
94 <label for="booksellerid">Vendor: </label>
95 <select id="booksellerid" name="booksellerid">
96 <option value="">No change</option>
97 [% FOREACH bookseller IN booksellers %]
98 <option value="[% bookseller.id | html %]">[% bookseller.name | html %]</option>
103 <label for="location">Location: </label>
104 <select id="location" name="location">
105 <option value="">No change</option>
106 [% FOREACH av IN AuthorisedValues.Get('LOC') %]
107 <option value="[% av.authorised_value | html %]">[% av.lib | html %]</option>
112 <label for="branchcode">Library: </label>
113 <select id="branchcode" name="branchcode">
114 <option value="">No change</option>
115 [% FOREACH branch IN Branches.all %]
116 <option value="[% branch.branchcode | html %]">[% branch.branchname | html %]</option>
121 <label for="itemtype">Item type: </label>
122 <select id="itemtype" name="itemtype">
123 <option value="">No change</option>
124 [% FOREACH itemtype IN ItemTypes.Get() %]
125 <option value="[% itemtype.itemtype | html %]">[% itemtype.description | html %]</option>
130 <label for="notes">Public note: </label>
131 <textarea id="notes" name="notes" placeholder="No change"></textarea>
134 <label for="internalnotes">Nonpublic note: </label>
135 <textarea id="internalnotes" name="internalnotes" placeholder="No change"></textarea>
138 <label for="serialsadditems">Create item when receiving: </label>
139 <select id="serialsadditems" name="serialsadditems">
140 <option value="">No change</option>
141 <option value="0">No</option>
142 <option value="1">Yes</option>
147 <label for="enddate">Expiration date: </label>
148 <input type="text" class="flatpickr" id="enddate" name="enddate" placeholder="No change"/>
150 [% FOREACH field IN additional_fields %]
152 <label for="field_[% field.id | html %]">[% field.name | html %]</label>
153 [% IF field.authorised_value_category %]
154 <select id="field_[% field.id | html %]" name="field_[% field.id | html %]">
155 <option value="">No change</option>
156 [% FOREACH av IN AuthorisedValues.Get(field.authorised_value_category) %]
157 <option value="[% av.authorised_value | html %]">[% av.lib | html %]</option>
161 <input type="text" id="field_[% field.id | html %]" name="field_[% field.id | html %]" placeholder="No change"/>
168 <fieldset class="action">
169 <button type="submit" name="batchedit" value="1">Save</button>
170 <a class="cancel" href="[% referrer | url %]">Cancel</a>
175 </div> <!-- /.col-sm-10.col-sm-push-2 -->
177 <div class="col-sm-2 col-sm-pull-10">
179 [% INCLUDE 'serials-menu.inc' %]
181 </div> <!-- /.col-sm-2.col-sm-pull-10 -->
182 </div> <!-- /.row -->
185 [% INCLUDE 'intranet-bottom.inc' %]