Koha/installer/data/mysql
Srdjan 1b4a266915 Bug 7243: Be selective when summing up charges for blocking issues
Added RentalsInNoissueCharges and ManInvlsInNoissueCharges sys prefs

Created C4::Members::cwGetMemberAccountBallance()
* A wrapper for GetMemberAccountRecords that gives info on non-issue and
  other charges
* Other charges are:
  'Res'
  'Rent' if RentalsInNoissueCharges is Mo
  authorised_values MANUAL_INV if ManInvlsInNoissueCharges is No

C4::Members::GetMemberAccountRecords() changes:
* Dropped input param $date, it is not used

Use split charges in C4::Circulation::CanBookBeIssued() and
C4::Members::patronflags(). That way only fines decide whether an item
can be issued, and not other non-fine charges

Signed-off-by: Marc Veron <veron@veron.ch>

Rebased (updatedatabase.pl)

ManInvInNoissueCharges and RentalsInNoissueCharges ar both included by default (= behaviour as before)

All variants tested: Both included, none included, manual invoice included, rentals included.
Works fine, blocks/does not blok as appropirate, messages appear as expected.

[Oct 12, 2012 marcelr:] Amended for updatedatabase.pl
Signed-off-by: M. de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>
2013-01-24 09:12:59 -05:00
..
atomicupdate Bug 7475: Update configuration 2012-09-19 17:15:25 +02:00
de-DE BUG 9151 - Renewal notice according to patron alert preferences (Patch 2) 2012-12-21 07:41:25 -05:00
en Bug 9413: fix sample notice SQL for en 2013-01-17 20:48:55 -05:00
es-ES BUG 9151 - Renewal notice according to patron alert preferences (Patch 2) 2012-12-21 07:41:25 -05:00
fr-FR Bug 9151 follow-up: fr-FR translated to french 2012-12-21 07:41:25 -05:00
it-IT Bug 9112 : update of Italian SQL files 2012-12-22 16:20:28 -05:00
nb-NO BUG 9151 - Renewal notice according to patron alert preferences (Patch 2) 2012-12-21 07:41:25 -05:00
pl-PL BUG 9151 - Renewal notice according to patron alert preferences (Patch 2) 2012-12-21 07:41:25 -05:00
ru-RU BUG 9151 - Renewal notice according to patron alert preferences (Patch 2) 2012-12-21 07:41:25 -05:00
uk-UA BUG 9151 - Renewal notice according to patron alert preferences (Patch 2) 2012-12-21 07:41:25 -05:00
backfill_statistics.pl Bug 5370: Fix all the references to koha.org 2010-11-08 09:41:49 +13:00
kohastructure.sql Revert "Bug 7167: New version for updatedatabase" 2012-12-27 14:02:56 -05:00
labels_upgrade.pl Bug 2505 - Add commented use warnings where missing in the installer/ directory 2010-04-21 20:26:28 +12:00
patroncards_upgrade.pl Bug 2505 - Add commented use warnings where missing in the installer/ directory 2010-04-21 20:26:28 +12:00
sample_only_param_tables.sql Moved location of updater scripts to dbms specific dir. 2007-11-13 11:22:47 -06:00
sysprefs.sql Bug 7243: Be selective when summing up charges for blocking issues 2013-01-24 09:12:59 -05:00
update22to30.pl Bug 8289 Upgrading from 2.2 does not work anymore 2012-06-25 16:15:42 +02:00
updatedatabase.pl Bug 7243: Be selective when summing up charges for blocking issues 2013-01-24 09:12:59 -05:00