Main Koha release repository https://koha-community.org
Find a file
Tomas Cohen Arazi 5994296aad Bug 21727: Unit tests for the refund case
This patch introduces tests for the behaviour when the negative adjust
exceedes the amount that was already paid. In this case, the line amount
is expected to be set to 0, and a credit with the payed amount created.

To test:
- Apply this patch
- Run:
  $ kshell
 k$ prove t/db_dependent/Koha/Account/Lines.t
=> SUCCESS: tests pass!

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>

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

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
2019-01-11 12:19:01 +00:00
acqui Bug 21853: (follow-up) to solve printpdf error 2018-11-21 11:08:23 +00:00
admin Bug 21605: (follow-up) Simple ternary boolean to number conversion 2019-01-08 13:58:10 +00:00
api/v1 Bug 21786: (QA follow-up) library_id can be null 2019-01-08 15:50:51 +00:00
authorities Bug 21986: Do not escape quotation marks when cataloguing 2018-12-14 13:33:28 +00:00
basket Bug 21874: Fix encoding of cart and list email subjects 2018-11-26 12:38:56 +00:00
C4 Bug 21753: (QA follow-up) Remove fourth %s in sprintf 2019-01-04 03:14:14 +00:00
catalogue Bug 22034: Handle default framework for MARC view with framework 2019-01-02 20:52:53 +00:00
cataloguing Bug 21986: Do not escape quotation marks when cataloguing 2018-12-14 13:33:28 +00:00
circ Bug 21928: (bug 18789 follow-up) Fix CircAutoPrintQuickSlip=clear 2019-01-02 20:36:49 +00:00
clubs
course_reserves
debian Bug 21897: Typo in postinst 2018-11-29 17:58:27 +00:00
docs Bug 7143: Update about page for Nazlı 2018-11-29 18:45:01 +00:00
errors
etc Bug 22073: Add to diacritics mappings for Ž and ž 2019-01-04 03:13:38 +00:00
ill
installer Bug 21753: DBRev 18.12.00.007 2019-01-04 03:14:15 +00:00
Koha Bug 21727: Add clarifications to the POD of adjust 2019-01-11 12:19:00 +00:00
koha-tmpl Bug 21436: Update two-column templates with Bootstrap grid: Tools part 4 2019-01-04 03:13:48 +00:00
labels
members Bug 21915: Call reconcile_balance on manual credit creation 2019-01-04 03:13:40 +00:00
misc Bug 21753: Remove all reference of chargename from scripts 2019-01-04 03:13:49 +00:00
offline_circ Bug 13779: (QA follow-up) Correct checkauth call in offline_circ/download.pl 2018-09-14 17:27:29 +00:00
opac Bug 22030: Use preference to determine username sent to overdrive 2019-01-08 13:59:46 +00:00
OpenILS Bug 9239 QA follow-up: remove stray debug code 2013-03-16 21:32:34 -04:00
patron_lists
patroncards
plugins
reports Bug 21984: Pass param_name in pagination URL 2018-12-19 16:32:00 +00:00
reserve Bug 21608: Disable dropdown for found holds - add button to revert 2018-12-11 19:13:30 +00:00
reviews
rotating_collections
serials
services
skel
suggestion Bug 21048: (QA follow-up) Fix authorized value statuses in filter 2018-08-08 20:58:23 +00:00
svc
t Bug 21727: Unit tests for the refund case 2019-01-11 12:19:01 +00:00
tags
test
tmp/modified_authorities
tools Bug 21695: Clean up access files template 2018-12-26 20:47:04 +00:00
virtualshelves Bug 21874: (QA follow-up) Fix intranet sendshelf 2018-11-26 12:38:56 +00:00
xt Bug 21576: Keep compatibility with QA script 2018-10-26 17:09:52 +00:00
.editorconfig
.gitignore
.htaccess Fix file permissions: if it is not a script, it should not be executable. 2010-04-16 00:40:34 -04:00
.mailmap
.scss-lint.yml
about.pl
changelanguage.pl
fix-perl-path.PL
gulpfile.js
help.pl
INSTALL
install-CPAN.pl
Koha.pm Bug 21753: DBRev 18.12.00.007 2019-01-04 03:14:15 +00:00
koha_perl_deps.pl
kohaversion.pl
LICENSE
mainpage.pl
Makefile.PL
MANIFEST.SKIP
package.json
README Bug 9440 - update Koha's LICENSE file from GPL2 to GPL3 2013-02-12 08:52:10 -05:00
README.md
README.robots
rewrite-config.PL
yarn.lock

Koha is a free software integrated library system (ILS).

Koha is distributed under the GNU GPL version 3 or later.

Note: This is a synced mirror of the official Koha repo.

Note: Koha does not accept pull requests from git hosting sites.

Note: This project has its own bug tracker, to report a bug or submit a patch visit http://bugs.koha-community.org.

For guidelines on submitting patches for Koha please visit https://wiki.koha-community.org/wiki/SubmitingAPatch

The developers handbook can be found at https://wiki.koha-community.org/wiki/Developer_handbook

http://koha-community.org/

Koha Logo