Browse Source

Added a trash icon to every line to allow user to remove an order from the basket without setting its quantity to 0

3.0.x
doxulting 18 years ago
parent
commit
f08c696bb2
  1. 11
      koha-tmpl/intranet-tmpl/default/en/acqui/basket.tmpl

11
koha-tmpl/intranet-tmpl/default/en/acqui/basket.tmpl

@ -32,6 +32,10 @@
<th class="acquisition">Qty</th>
<th class="acquisition">Total</th>
<th class="acquisition">Fund <a href="basket.pl?basket=<!-- TMPL_VAR name="basketno" -->&order=aqorderbreakdown.bookfundid,biblioitems.publishercode">[order]</a></th>
<!-- TMPL_IF name="closedate" -->
<!-- TMPL_ELSE -->
<th class="acquisition">Remove</th>
<!-- /TMPL_IF -->
</tr>
<!-- TMPL_LOOP NAME="books_loop" -->
<tr valign="top" bgcolor="<!-- TMPL_VAR NAME="color" -->">
@ -49,6 +53,13 @@
<td><!-- TMPL_VAR NAME="quantity" --></td>
<td><!-- TMPL_VAR NAME="line_total" --></td>
<td><!-- TMPL_VAR NAME="bookfundid" --></td>
<!-- TMPL_IF name="closedate" -->
<!-- TMPL_ELSE -->
<td><a href="addorder.pl?ordnum=<!-- TMPL_VAR NAME="ordernumber" -->&basketno=<!-- TMPL_VAR NAME="basketno" -->&quantity=0&biblio=<!-- TMPL_VAR NAME="biblionumber" -->">
<img src="/intranet-tmpl/default/images/edittrash.png" alt="Remove from basket" title="Remove from basket" width="32" hspace="0" vspace="0" border="0">
</a>
</a></td>
<!-- /TMPL_IF -->
</tr>
<!-- /TMPL_LOOP -->
<input type="hidden" name="number" value=<!-- TMPL_VAR NAME="count" -->>

Loading…
Cancel
Save