Bug 19066: Add branchcode to accountlines
authorKyle M Hall <kyle@bywatersolutions.com>
Wed, 9 Aug 2017 16:55:56 +0000 (16:55 +0000)
committerNick Clemens <nick@bywatersolutions.com>
Thu, 3 Jan 2019 18:58:38 +0000 (18:58 +0000)
commit897ddc82b34b18576e4a2dd459691111836d6357
treee1218f4751a65eb434ee56c1bc0e0d7453115e91
parentbf75f243512364a6b83ebe766105bf444bc43097
Bug 19066: Add branchcode to accountlines

For the purposes of statistics, it appears that it would help many
libraries to have branchcode recorded in the accountlines table. For
payments, the field would contain the code for the branch the payment
was made at. For manual invoices, it would be the code of the library
that created the invoice.

Test Plan:
1) Apply this patch set
2) Create and pay some fees
3) Note the branchcode for those fees and payments is set
   to your logged in branch

Signed-off-by: Lisette Scheer <lisetteslatah@gmail.com>
Signed-off-by: Lisette Scheer <lisetteslatah@gmail.com>
Signed-off-by: Josef Moravec <josef.moravec@gmail.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
C4/Accounts.pm
C4/Circulation.pm
C4/Reserves.pm
Koha/Account.pm
t/db_dependent/Accounts.t