[Koha-bugs] [Bug 9041] Hourly fines does not work in koha 3.8.6

2012-11-14 Thread bugzilla-daemon
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=9041

Kyle M Hall  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 CC||k...@bywatersolutions.com
   See Also||http://bugs.koha-community.
   ||org/bugzilla3/show_bug.cgi?
   ||id=8966
 Resolution|--- |DUPLICATE

--- Comment #2 from Kyle M Hall  ---


*** This bug has been marked as a duplicate of bug 8882 ***

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 9041] Hourly fines does not work in koha 3.8.6

2012-11-13 Thread bugzilla-daemon
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=9041

--- Comment #1 from Humberto Blanco  ---
Review the source code i found that in Koha::Calendar.pm,  in the sub addDate
when  evaluate   $self->is_holiday($dt)  the results for $dt appears bad, then
in the Circulation.pm returns INVALID_DATE and needs manually checkout.
For my biblio, i assume that all loans not in holidays then i put this in
Koha::Calendar.pm
if ( $days_mode eq 'Datedue' ){ 
  my $dt = $base_date + $add_duration;

  if($unit ne 'hours'){  # Added for me
 while ( $self->is_holiday($dt) ) {
$dt->add_duration($day_dur);
if ( $unit eq 'hours' ) {
   $dt->set_hour($return_by_hour);# Staffs specific
}
 }
  } # End added for me

  return $dt; 
}

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 9041] Hourly fines does not work in koha 3.8.6

2012-11-08 Thread bugzilla-daemon
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=9041

Humberto Blanco  changed:

   What|Removed |Added

   Priority|P5 - low|P1 - high

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/