View | Details | Raw Unified | Return to bug 12993
Collapse All | Expand All

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/itemtypes.tt (-3 / +15 lines)
Lines 222-231 Item types administration Link Here
222
          <label for="rentalcharge">Rental charge: </label>
222
          <label for="rentalcharge">Rental charge: </label>
223
		  <input type="text" id="rentalcharge" name="rentalcharge" size="10" value="[% rentalcharge %]" />
223
		  <input type="text" id="rentalcharge" name="rentalcharge" size="10" value="[% rentalcharge %]" />
224
         </li>
224
         </li>
225
226
      [%# The tax rate is only useful if the item are created on ordering and if the item type is defined at the biblio level %]
227
      [% IF Koha.Preference('AcqCreateItem') eq 'ordering' and Koha.Preference('item-level_itypes') eq '0' %]
225
      <li>
228
      <li>
226
          <label for="gstrate">Tax rate: </label>
229
          <label for="gstrate">Tax rate: </label>
227
          <select name="gstrate" id="gstrate">
230
          <select name="gstrate" id="gstrate">
228
              <option value="">No default</option>
231
              <option value="">Manual</option>
229
              [% FOREACH gst IN gst_values %]
232
              [% FOREACH gst IN gst_values %]
230
                  [% IF gst.option == gstrate %]
233
                  [% IF gst.option == gstrate %]
231
                      <option value="[% gst.option %]" selected="selected">[% gst.option * 100 | format("%.1f") %]%</option>
234
                      <option value="[% gst.option %]" selected="selected">[% gst.option * 100 | format("%.1f") %]%</option>
Lines 235-240 Item types administration Link Here
235
              [% END %]
238
              [% END %]
236
          </select>
239
          </select>
237
     </li>
240
     </li>
241
     [% END %]
238
      <li>
242
      <li>
239
          <label for="checkinmsg">Checkin message: </label>
243
          <label for="checkinmsg">Checkin message: </label>
240
          <textarea id="checkinmsg" name="checkinmsg" cols="55" rows="5">[% checkinmsg %]</textarea>
244
          <textarea id="checkinmsg" name="checkinmsg" cols="55" rows="5">[% checkinmsg %]</textarea>
Lines 323-329 Item types administration Link Here
323
    <th>Not for loan</th>
327
    <th>Not for loan</th>
324
    <th>Hide in OPAC</th>
328
    <th>Hide in OPAC</th>
325
    <th>Charge</th>
329
    <th>Charge</th>
326
    <th>Tax rate</th>
330
    [%# The tax rate is only useful if the item are created on ordering and if the item type is defined at the biblio level %]
331
    [% IF Koha.Preference('AcqCreateItem') eq 'ordering' and Koha.Preference('item-level_itypes') eq '0' %]
332
        <th>Tax rate</th>
333
    [% END %]
327
    <th>Checkin message</th>
334
    <th>Checkin message</th>
328
    <th>Actions</th>
335
    <th>Actions</th>
329
  </thead>
336
  </thead>
Lines 358-367 Item types administration Link Here
358
      [% loo.rentalcharge %]
365
      [% loo.rentalcharge %]
359
    [% END %]
366
    [% END %]
360
    </td>
367
    </td>
368
    [%# The tax rate is only useful if the item are created on ordering and if the item type is defined at the biblio level %]
369
    [% IF Koha.Preference('AcqCreateItem') eq 'ordering' and Koha.Preference('item-level_itypes') eq '0' %]
361
    <td>
370
    <td>
362
        [% IF loo.gstrate.length > 0 %]
371
        [% IF loo.gstrate.length > 0 %]
363
            [% loo.gstrate * 100 | format("%.1f") %]%
372
            [% loo.gstrate * 100 | format("%.1f") %]%
373
        [% ELSE %]
374
            Manual
364
        [% END %]
375
        [% END %]
376
    </td>
377
    [% END %]
365
    <td>[% loo.checkinmsg | html_line_break %]</td>
378
    <td>[% loo.checkinmsg | html_line_break %]</td>
366
    <td>
379
    <td>
367
      <a href="[% loo.script_name %]?op=add_form&amp;itemtype=[% loo.itemtype |html %]">Edit</a>
380
      <a href="[% loo.script_name %]?op=add_form&amp;itemtype=[% loo.itemtype |html %]">Edit</a>
368
- 

Return to bug 12993