Koha/koha-tmpl/intranet-tmpl/prog/en/modules/members
Tomas Cohen Arazi cc30dc39bf Bug 20980: Make mancredit.pl use Koha::Account::add_credit
This patch makes creating a manual credit from the UI record the account
offset as 'Manual Credit', and properly set account_offsets.credit_id
instead of account_offsets.debit_id.

To test:
- Create a manual credit (of 'Credit' type) for a known patron (acevedo?)
- Run:
  $ sudo koha-mysql kohadev
  > SELECT * FROM account_offsets;
=> FAIL: The account offset for the manual credit has type=Manual Debit,
    credit_id=NULL and debit_id=accountlines_id
- Run the atomic update:
  $ updatedatabase
- Run:
  $ sudo koha-mysql kohadev
  > SELECT * FROM account_offsets;
=> SUCCESS: The account offset has been corrected and now has
type=Manual Credit, credit_id=accountlines_id and debit_id=NULL
- Create a new manual credit (of 'Forgiven' type) for a known patron
- Run:
  $ sudo koha-mysql kohadev
  > SELECT * FROM account_offsets;
=> SUCCESS: The account offset has been stored correctly as a credit!
- Sign off :-D

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

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
2018-07-06 12:50:06 +00:00
..
tables
accountline-details.tt Bug 20840: (bug 2696 follow-up) Fix biblio info fetch 2018-06-04 12:55:20 +00:00
apikeys.tt Bug 20803: Cannot search to hold or use print options from API keys interface 2018-05-23 11:44:10 -03:00
boraccount.tt Bug 20703: Add confirmation modal when making a credit void 2018-07-06 10:36:07 +00:00
deletemem.tt Bug 20719: USE Branches in TT files 2018-05-11 10:52:45 -03:00
discharge.tt Bug 20538: Remove the need of writing [% KOHA_VERSION %] everywhere 2018-04-13 11:49:44 -03:00
discharges.tt Bug 20538: (follow-up) Update discharges request page with Asset plugin 2018-04-13 11:49:44 -03:00
files.tt Bug 20752: Fix capitalization on the files tab for patron files 2018-05-29 13:27:30 +00:00
holdshistory.tt Bug 20831: Fix KohaTable calls after bug 9573 2018-06-04 13:58:04 +00:00
housebound.tt Bug 20719: USE Branches in TT files 2018-05-11 10:52:45 -03:00
mancredit.tt Bug 20980: Make mancredit.pl use Koha::Account::add_credit 2018-07-06 12:50:06 +00:00
maninvoice.tt Bug 20701: Add csrf protection to maninvoice.pl 2018-05-23 12:19:33 -03:00
member-flags.tt Bug 20100: Explain why the checkbox is disabled 2018-04-25 10:37:31 -03:00
member-password.tt Bug 20538: Remove the need of writing [% KOHA_VERSION %] everywhere 2018-04-13 11:49:44 -03:00
member.tt Bug 9302: Use new 'edit borrowers' permission 2018-04-20 13:34:41 -03:00
memberentrygen.tt Bug 20585: Label surname as name for organisation type patrons 2018-06-29 20:39:30 +00:00
members-update.tt Bug 20538: Remove the need of writing [% KOHA_VERSION %] everywhere 2018-04-13 11:49:44 -03:00
merge-patrons.tt Bug 9302: Add error message if keeper patron is invalid 2018-04-20 13:34:41 -03:00
moremember-brief.tt Bug 19954: Update popup window templates to use Bootstrap grid: Patrons 2018-02-18 16:48:47 -03:00
moremember-print.tt Bug 12001: (QA follow-up) Fix patron account summary print 2018-02-23 10:57:30 -03:00
moremember-receipt.tt Bug 20538: Remove the need of writing [% KOHA_VERSION %] everywhere 2018-04-13 11:49:44 -03:00
moremember.tt Bug 20520: Re-indent moremember.tt 2018-06-29 20:37:43 +00:00
nl-search.tt Bug 20719: USE Branches in TT files 2018-05-11 10:52:45 -03:00
notices.tt Bug 12123: Make iframe large enough to remove scroll bars 2018-04-19 12:32:14 -03:00
pay.tt Bug 20538: Remove the need of writing [% KOHA_VERSION %] everywhere 2018-04-13 11:49:44 -03:00
paycollect.tt Bug 20120: (QA follow-up) Pass on_editing parameter for Price plugin 2018-06-08 11:45:25 +00:00
printfeercpt.tt Bug 20538: Remove the need of writing [% KOHA_VERSION %] everywhere 2018-04-13 11:49:44 -03:00
printinvoice.tt Bug 20538: Remove the need of writing [% KOHA_VERSION %] everywhere 2018-04-13 11:49:44 -03:00
purchase-suggestions.tt Bug 20538: Remove the need of writing [% KOHA_VERSION %] everywhere 2018-04-13 11:49:44 -03:00
readingrec.tt Bug 20538: Remove the need of writing [% KOHA_VERSION %] everywhere 2018-04-13 11:49:44 -03:00
routing-lists.tt Bug 20456: (follow-up) Fix number of subscriptions and position display 2018-06-22 15:02:47 +00:00
statistics.tt Bug 20538: Remove the need of writing [% KOHA_VERSION %] everywhere 2018-04-13 11:49:44 -03:00
update-child.tt Bug 20538: Remove the need of writing [% KOHA_VERSION %] everywhere 2018-04-13 11:49:44 -03:00