// if user decreases the quantity
if($(this).val() < <!-- TMPL_VAR name="quantityrec" -->)
{
- alert("You have deleted item(s) in the order, don't forget to delete it(them) in the catalog");
+ alert(_("You have deleted item(s) in the order, don't forget to delete it(them) in the catalog"));
return true;
}
else
{
// if user increases the quantity
- alert("You can't add a new item, please create a new order line");
+ alert(_("You can't add a new item, please create a new order line"));
// and we replace the original value
$(this).val(<!-- TMPL_VAR name="quantityrec" -->)
return false;
<fieldset class="rows">
<legend>
Catalog details
- <span><a href="/cgi-bin/koha/cataloguing/addbiblio.pl?biblionumber=<!--TMPL_VAR NAME= "biblionumber"-->"> Edit record</a></span>
+ <!-- TMPL_IF name="biblionumber" -->
+ <span><a href="/cgi-bin/koha/cataloguing/addbiblio.pl?biblionumber=<!--TMPL_VAR NAME= "biblionumber"-->"> Edit record</a></span>
+ <!-- /TMPL_IF -->
</legend>
<!-- TMPL_UNLESS name="existing" -->
<input type="hidden" name="existing" value="no" />