Bug 21727: Add clarifications to the POD of adjust
authorMartin Renvoize <martin.renvoize@ptfs-europe.com>
Tue, 11 Dec 2018 17:45:15 +0000 (17:45 +0000)
committerNick Clemens <nick@bywatersolutions.com>
Fri, 11 Jan 2019 12:19:00 +0000 (12:19 +0000)
Sponsored-by: PTFS Europe
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>

Signed-off-by: Josef Moravec <josef.moravec@gmail.com>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>

Koha/Account/Line.pm

index 180771e..26c97e3 100644 (file)
@@ -219,6 +219,12 @@ This method allows updating a debit or credit on a patron's account
 $update_type can be any of:
   - fine_increment
 
+Authors Note: The intention here is that this method is only used
+to adjust accountlines where the final amount is not yet known/fixed.
+Incrementing fines are the only existing case at the time of writing,
+all other forms of 'adjustment' should be recorded as distinct credits
+or debits and applied, via an offset, to the corresponding debit or credit.
+
 =cut
 
 sub adjust {