From 8ca5b6313df08c6984a5054dc8569d5303b62701 Mon Sep 17 00:00:00 2001 From: Martin Renvoize Date: Wed, 17 Jul 2019 12:39:49 +0100 Subject: [PATCH] Bug 23321: Koha::Library additions --- Koha/Library.pm | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/Koha/Library.pm b/Koha/Library.pm index f1a5597305..6870e84cc4 100644 --- a/Koha/Library.pm +++ b/Koha/Library.pm @@ -77,6 +77,18 @@ sub library_groups { return Koha::Library::Groups->_new_from_dbic( $rs ); } +=head3 cash_registers + +Return Cash::Registers associated with this Library + +=cut + +sub cash_registers { + my ( $self ) = @_; + my $rs = $self->_result->cash_registers; + return Koha::Cash::Registers->_new_from_dbic( $rs ); +} + =head2 Internal methods =head3 _type -- 2.20.1