diff --git a/module/finc/src/finc/ILS/Driver/FincILS.php b/module/finc/src/finc/ILS/Driver/FincILS.php index 4e83aee5febf19e5a9935e14c84abb9fd6479703..c0e9f09883d76a4da9d73bbfdcf5176c25bb9697 100644 --- a/module/finc/src/finc/ILS/Driver/FincILS.php +++ b/module/finc/src/finc/ILS/Driver/FincILS.php @@ -617,6 +617,8 @@ class FincILS extends PAIA implements LoggerAwareInterface ? $this->convertDate($patron['expires']) : null, 'statuscode' => isset($patron['status']) ? $patron['status'] : null, + 'note' => isset($patron['note']) + ? $patron['note'] : null, 'canWrite' => in_array(self::SCOPE_WRITE_ITEMS, $this->getSession()->scope), // fincILS and PAIA specific custom values 'email' => !empty($patron['email']) diff --git a/module/finc/src/finc/ILS/Driver/PAIA.php b/module/finc/src/finc/ILS/Driver/PAIA.php index d052e79a181d9f8f227cc5317f55b617e0a60cfd..9d8e373f800a3ecdacf2e82df79ce969e5cd7ebb 100644 --- a/module/finc/src/finc/ILS/Driver/PAIA.php +++ b/module/finc/src/finc/ILS/Driver/PAIA.php @@ -346,8 +346,12 @@ class PAIA extends \VuFind\ILS\Driver\PAIA // PAIA specific custom values 'expires' => isset($patron['expires']) ? $this->convertDate($patron['expires']) : null, - 'statuscode' => isset($patron['status']) ? $patron['status'] : null, - 'canWrite' => in_array(self::SCOPE_WRITE_ITEMS, $this->getScope()), + 'statuscode' => isset($patron['status']) + ? $patron['status'] : null, + 'note' => isset($patron['note']) + ? $patron['note'] : null, + 'canWrite' => + in_array(self::SCOPE_WRITE_ITEMS, $this->getScope()), ]; } return [];