diff --git a/C4/Circulation.pm b/C4/Circulation.pm index 2d852bdefa..e490e6f990 100644 --- a/C4/Circulation.pm +++ b/C4/Circulation.pm @@ -2007,7 +2007,7 @@ sub AddRenewal { # Update the renewal count on the item, and tell zebra to reindex $renews = $biblio->{'renewals'} + 1; - ModItem({ renewals => $renews }, $biblio->{'biblionumber'}, $itemnumber); + ModItem({ renewals => $renews, onloan => $datedue->output('iso') }, $biblio->{'biblionumber'}, $itemnumber); # Charge a new rental fee, if applicable? my ( $charge, $type ) = GetIssuingCharges( $itemnumber, $borrowernumber ); diff --git a/catalogue/moredetail.pl b/catalogue/moredetail.pl index b72f126982..6f626616f7 100755 --- a/catalogue/moredetail.pl +++ b/catalogue/moredetail.pl @@ -109,11 +109,11 @@ foreach my $item (@items){ } $item->{'homebranchname'} = GetBranchName($item->{'homebranch'}); $item->{'holdingbranchname'} = GetBranchName($item->{'holdingbranch'}); - if ($item->{'onloan'} eq ''){ - $item->{'issue'}= 0; - } else { - $item->{'onloan'} = format_date($item->{'onloan'}); + if ($item->{'datedue'}) { + $item->{'datedue'} = format_date($item->{'datedue'}); $item->{'issue'}= 1; + } else { + $item->{'issue'}= 0; } } $template->param(count => $data->{'count'}, diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/moredetail.tmpl b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/moredetail.tmpl index afb3dd3f54..fd7a162583 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/moredetail.tmpl +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/moredetail.tmpl @@ -62,7 +62,7 @@
  1. Current Location:  
  2. -
  3. Checkout Status: Checked out to ">, Due back on Not Checked out
  4. +
  5. Checkout Status: Checked out to ">, Due back on Not Checked out
  6. Lost Status:
    diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tmpl b/koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tmpl index 43970a5056..e18374448c 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tmpl +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tmpl @@ -248,7 +248,7 @@ if (alreadyreserved > "0"){   - Due + Due In transit from ,