]> git.koha-community.org Git - koha.git/commit
Bug 19166: Add the ability to add adjustments to an invoice
authorNick Clemens <nick@bywatersolutions.com>
Wed, 23 Aug 2017 16:13:39 +0000 (16:13 +0000)
committerNick Clemens <nick@bywatersolutions.com>
Thu, 19 Jul 2018 17:28:35 +0000 (17:28 +0000)
commit2d99b467159c8d1c28c7d6300bcf6698dec2e76b
treef15989748f3a1f16a02b79ad12214eeb31317c70
parent26bf5e3f8799165aaca550c571a60b51fbeca171
Bug 19166: Add the ability to add adjustments to an invoice

This patchset adds the ability to add adjustments to an invoice, one can
provide a reason, an adjustment amount, select a budget, and choose
whether to encumber the funds before the invoice is closed or not

To test:

1 - Create a new invoice with or without a shipping cost
2 - Note there are no existing adjustments
3 - Add an adjustment
4 - Submit the form withno changes, nothing happens
5 - Update the adjustment you created, ensure changes are saved but no
extra adjustment created
6 - Add another invoice prodiving only reason or amount (you can have 0
        value adjustments)
7 - Verify the adjustment total at bottom is correct
8 - Recieve some orders
9 - Verify totals are correct

Signed-off-by: Séverine QUEUNE <severine.queune@bulac.fr>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
C4/Budgets.pm
Koha/Acquisition/Invoice/Adjustment.pm [new file with mode: 0644]
Koha/Acquisition/Invoice/Adjustments.pm [new file with mode: 0644]
acqui/invoice.pl
acqui/ordered.pl
acqui/spent.pl
koha-tmpl/intranet-tmpl/prog/en/modules/acqui/invoice.tt
koha-tmpl/intranet-tmpl/prog/en/modules/acqui/ordered.tt
koha-tmpl/intranet-tmpl/prog/en/modules/acqui/spent.tt
t/db_dependent/Koha/Acquisition/Invoice/Adjustments.t [new file with mode: 0644]