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 176-185 Item types administration Link Here
176
          <label for="rentalcharge">Rental charge: </label>
176
          <label for="rentalcharge">Rental charge: </label>
177
		  <input type="text" id="rentalcharge" name="rentalcharge" size="10" value="[% rentalcharge %]" />
177
		  <input type="text" id="rentalcharge" name="rentalcharge" size="10" value="[% rentalcharge %]" />
178
         </li>
178
         </li>
179
180
      [%# The tax rate is only useful if the item are created on ordering and if the item type is defined at the biblio level %]
181
      [% IF Koha.Preference('AcqCreateItem') eq 'ordering' and Koha.Preference('item-level_itypes') eq '0' %]
179
      <li>
182
      <li>
180
          <label for="gstrate">Tax rate: </label>
183
          <label for="gstrate">Tax rate: </label>
181
          <select name="gstrate" id="gstrate">
184
          <select name="gstrate" id="gstrate">
182
              <option value="">No default</option>
185
              <option value="">Manual</option>
183
              [% FOREACH gst IN gst_values %]
186
              [% FOREACH gst IN gst_values %]
184
                  [% IF gst.option == gstrate %]
187
                  [% IF gst.option == gstrate %]
185
                      <option value="[% gst.option %]" selected="selected">[% gst.option * 100 | format("%.1f") %]%</option>
188
                      <option value="[% gst.option %]" selected="selected">[% gst.option * 100 | format("%.1f") %]%</option>
Lines 189-194 Item types administration Link Here
189
              [% END %]
192
              [% END %]
190
          </select>
193
          </select>
191
     </li>
194
     </li>
195
     [% END %]
192
      <li>
196
      <li>
193
          <label for="checkinmsg">Checkin message: </label>
197
          <label for="checkinmsg">Checkin message: </label>
194
          <textarea id="checkinmsg" name="checkinmsg" cols="55" rows="5">[% checkinmsg %]</textarea>
198
          <textarea id="checkinmsg" name="checkinmsg" cols="55" rows="5">[% checkinmsg %]</textarea>
Lines 275-281 Item types administration Link Here
275
    <th>Description</th>
279
    <th>Description</th>
276
    <th>Not for loan</th>
280
    <th>Not for loan</th>
277
    <th>Charge</th>
281
    <th>Charge</th>
278
    <th>Tax rate</th>
282
    [%# The tax rate is only useful if the item are created on ordering and if the item type is defined at the biblio level %]
283
    [% IF Koha.Preference('AcqCreateItem') eq 'ordering' and Koha.Preference('item-level_itypes') eq '0' %]
284
        <th>Tax rate</th>
285
    [% END %]
279
    <th>Checkin message</th>
286
    <th>Checkin message</th>
280
    <th>Actions</th>
287
    <th>Actions</th>
281
  </thead>
288
  </thead>
Lines 294-303 Item types administration Link Here
294
      [% loo.rentalcharge %]
301
      [% loo.rentalcharge %]
295
    [% END %]
302
    [% END %]
296
    </td>
303
    </td>
304
    [%# The tax rate is only useful if the item are created on ordering and if the item type is defined at the biblio level %]
305
    [% IF Koha.Preference('AcqCreateItem') eq 'ordering' and Koha.Preference('item-level_itypes') eq '0' %]
297
    <td>
306
    <td>
298
        [% IF loo.gstrate.length > 0 %]
307
        [% IF loo.gstrate.length > 0 %]
299
            [% loo.gstrate * 100 | format("%.1f") %]%
308
            [% loo.gstrate * 100 | format("%.1f") %]%
309
        [% ELSE %]
310
            Manual
300
        [% END %]
311
        [% END %]
312
    </td>
313
    [% END %]
301
    <td>[% loo.checkinmsg | html_line_break %]</td>
314
    <td>[% loo.checkinmsg | html_line_break %]</td>
302
    <td>
315
    <td>
303
      <a href="[% loo.script_name %]?op=add_form&amp;itemtype=[% loo.itemtype |html %]">Edit</a>
316
      <a href="[% loo.script_name %]?op=add_form&amp;itemtype=[% loo.itemtype |html %]">Edit</a>
304
- 

Return to bug 12993