[koha-commits] main Koha release repository branch master updated. v19.11.00-267-gd3bdb77

Git repo owner gitmaster at git.koha-community.org
Fri Jan 10 10:08:19 CET 2020


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "main Koha release repository".

The branch, master has been updated
       via  d3bdb77d9a3be685fea2164da808d5ef963c114a (commit)
       via  9c1705b2b2cce73a84dc681fdd5c5dc20a2b9877 (commit)
       via  2cfefec1f6b1c70e946dafb2dc50ed63513bb094 (commit)
       via  199d2c56b7814e9d2260625dcd1114246ffbf3f3 (commit)
       via  2a6cc4c911e013b3137ce9430a686275351a8fad (commit)
       via  4b16375d2a1b94e792ba2f6042211b42536961b3 (commit)
       via  741f785b7f559da6a936ce30abcac53cbd695640 (commit)
      from  909caec446b936023158fe99aa8ecf56e775cb6d (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit d3bdb77d9a3be685fea2164da808d5ef963c114a
Author: Martin Renvoize <martin.renvoize at ptfs-europe.com>
Date:   Fri Jan 10 08:43:30 2020 +0000

    Bug 23442: DBRev 19.12.00.007
    
    Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>

commit 9c1705b2b2cce73a84dc681fdd5c5dc20a2b9877
Author: Martin Renvoize <martin.renvoize at ptfs-europe.com>
Date:   Thu Jan 9 11:59:43 2020 +0000

    Bug 23442: Prevent payouts from being reduced
    
    Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>
    Signed-off-by: Josef Moravec <josef.moravec at gmail.com>
    Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>

commit 2cfefec1f6b1c70e946dafb2dc50ed63513bb094
Author: John Doe <you at example.com>
Date:   Wed Jan 8 15:51:45 2020 +0000

    Bug 23442: Add html filter to a couple lines in template
    
    Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>
    Signed-off-by: Josef Moravec <josef.moravec at gmail.com>
    Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>

commit 199d2c56b7814e9d2260625dcd1114246ffbf3f3
Author: Martin Renvoize <martin.renvoize at ptfs-europe.com>
Date:   Thu Nov 21 13:09:47 2019 +0000

    Bug 23442: Add refund option to patron account page
    
    This enhancement adds a refined workflow to allow librarians
    to refund payments to patrons and record these refunds on the
    patrons account.
    
    The use case is that a patron has paid for something before
    then performing an action that may require some level of refund
    to be actioned.  Perhaps they are returning a lost and paid for
    book.
    
    Test plan:
    1) Undertake a series of transactions that result in a debit
       accountline being partially or fully paid off.
    2) Note that a new 'Issue refund' button appears next to a
       debit (but only if your user has the refund permission or
       is a superlibrarian)
    3) Click the 'Issue refund' button and a modal should appear
       pre-populated with the amount - amountoutstanding.
    4) You should be able to edit the amount you wish to refund,
       record the refund or cancel.
    5) Signoff
    
    Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>
    Signed-off-by: Josef Moravec <josef.moravec at gmail.com>
    Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>

commit 2a6cc4c911e013b3137ce9430a686275351a8fad
Author: Martin Renvoize <martin.renvoize at ptfs-europe.com>
Date:   Thu Nov 21 15:04:56 2019 +0000

    Bug 23442: Add refund permission
    
    Add a new subpermission called 'refund' to the 'updatecharges'
    permission group which will allow/prevent refund actions to be
    performed by staff.
    
    Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>
    Signed-off-by: Josef Moravec <josef.moravec at gmail.com>
    Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>

commit 4b16375d2a1b94e792ba2f6042211b42536961b3
Author: Martin Renvoize <martin.renvoize at ptfs-europe.com>
Date:   Thu Nov 21 12:10:41 2019 +0000

    Bug 23442: Add 'reduce' method to Koha::Account::Line
    
    This enhancement adds a 'reduce' method to Koha::Account::Line which can
    be used to reduce a charge/debit by adding a credit to offset against
    the amount outstanding.
    
    It may be used to apply a discount whilst retaining the original debit
    amounts or to apply a full or partial refund for example when a lost
    item is found and returned.
    
    The created credit will be immediately applied against the debit unless
    the debit has already been paid, in which case a 'zero' offset will be
    added to maintain a link to the debit but the outstanding credit will be
    left so it may be applied to other debts.
    
    Test Plan:
    1) Run the included tests and verify they pass.
    2) Signoff
    
    Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>
    Signed-off-by: Josef Moravec <josef.moravec at gmail.com>
    Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>

commit 741f785b7f559da6a936ce30abcac53cbd695640
Author: Martin Renvoize <martin.renvoize at ptfs-europe.com>
Date:   Thu Nov 21 15:20:45 2019 +0000

    Bug 23442: Add account credit types
    
    Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>
    Signed-off-by: Josef Moravec <josef.moravec at gmail.com>
    Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>

-----------------------------------------------------------------------

Summary of changes:
 Koha.pm                                            |    2 +-
 Koha/Account/Line.pm                               |  140 ++++++++++++++
 installer/data/mysql/account_credit_types.sql      |    1 +
 installer/data/mysql/account_offset_types.sql      |    3 +-
 installer/data/mysql/updatedatabase.pl             |   27 +++
 installer/data/mysql/userpermissions.sql           |    1 +
 .../intranet-tmpl/prog/en/includes/permissions.inc |    5 +
 .../prog/en/modules/members/boraccount.tt          |   85 +++++++++
 members/boraccount.pl                              |   33 ++++
 t/db_dependent/Koha/Account/Lines.t                |  197 +++++++++++++++++++-
 10 files changed, 483 insertions(+), 11 deletions(-)


hooks/post-receive
-- 
main Koha release repository


More information about the koha-commits mailing list