From 5de5ee0c796b25a94df64f67f739a5c915745eb4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Lahmann?= <lahmann@ub.uni-leipzig.de>
Date: Fri, 18 Dec 2015 17:00:12 +0100
Subject: [PATCH] * PAIA does not support fee-balance, so every reported fee is
 unpaid - changed PAIA ILS driver accordingly

---
 module/finc/src/finc/ILS/Driver/PAIA.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/module/finc/src/finc/ILS/Driver/PAIA.php b/module/finc/src/finc/ILS/Driver/PAIA.php
index 201989f7796..e4765678fd6 100644
--- a/module/finc/src/finc/ILS/Driver/PAIA.php
+++ b/module/finc/src/finc/ILS/Driver/PAIA.php
@@ -408,7 +408,7 @@ class PAIA extends \VuFind\ILS\Driver\DAIA implements
                     'checkout'    => '',
                     // fee.feetype 	0..1 	string 	textual description of the type of service that caused the fee
                     'fine'    => (isset($fee['feetype']) ? $fee['feetype'] : null),
-                    'balance' => '',
+                    'balance' => $feeConverter($fee['amount']),
                     // fee.date 	0..1 	date 	date when the fee was claimed
                     'createdate'  => (isset($fee['date'])
                         ? $this->convertDate($fee['date']) : null),
-- 
GitLab