View | Details | Raw Unified | Return to bug 14538
Collapse All | Expand All

(-)a/C4/Overdues.pm (-5 / +4 lines)
Lines 204-210 sub checkoverdues { Link Here
204
204
205
=head2 CalcFine
205
=head2 CalcFine
206
206
207
    ($amount, $chargename,  $daycounttotal) = &CalcFine($item,
207
    ($amount, $chargename,  $units_minus_grace, $chargeable_units) = &CalcFine($item,
208
                                  $categorycode, $branch,
208
                                  $categorycode, $branch,
209
                                  $start_dt, $end_dt );
209
                                  $start_dt, $end_dt );
210
210
Lines 236-245 C<$amount> is the fine owed by the patron (see above). Link Here
236
C<$chargename> is the chargename field from the applicable record in
236
C<$chargename> is the chargename field from the applicable record in
237
the categoryitem table, whatever that is.
237
the categoryitem table, whatever that is.
238
238
239
C<$unitcount> is the number of chargeable units (days between start and end dates, Calendar adjusted where needed,
239
C<$units_minus_grace> is the number of chargeable units minus the grace period
240
minus any applicable grace period, or hours)
241
240
242
FIXME - What is chargename supposed to be ?
241
C<$chargeable_units> is the number of chargeable units (days between start and end dates, Calendar adjusted where needed,
242
minus any applicable grace period, or hours)
243
243
244
FIXME: previously attempted to return C<$message> as a text message, either "First Notice", "Second Notice",
244
FIXME: previously attempted to return C<$message> as a text message, either "First Notice", "Second Notice",
245
or "Final Notice".  But CalcFine never defined any value.
245
or "Final Notice".  But CalcFine never defined any value.
246
- 

Return to bug 14538