Bug 21722: Use Koha::Account->add_debit in chargelostitem
authorMartin Renvoize <martin.renvoize@ptfs-europe.com>
Thu, 1 Nov 2018 12:26:35 +0000 (12:26 +0000)
committerNick Clemens <nick@bywatersolutions.com>
Mon, 4 Mar 2019 19:08:25 +0000 (19:08 +0000)
commit55d18aeca6e8bff1a1484fafe261dc4d2c5f21c8
treeb7eb5789dd2cfd13f1fb9e941e8da5aa376f9095
parent1fa46154d19cfb294bb36c3ca05b98bbe62f14d7
Bug 21722: Use Koha::Account->add_debit in chargelostitem

This patch updates C4::Accounts::chargelostitem to use the newly
available add_debit method from Koha::Account.

Known Side Effects: If the FinesLog is enabled then the 'action'
recorded will change from the generic `create_fee` (for both the lost
charge and any associated processing charge) to the more descriptive
terms `create_processing` and `create_lost_item`.

Sponsored-by: PTFS Europe
Signed-off-by: Josef Moravec <josef.moravec@gmail.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
C4/Accounts.pm