Bug 21474: Add the Koha::Subscription->frequency method
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Tue, 2 Oct 2018 15:34:25 +0000 (12:34 -0300)
committerNick Clemens <nick@bywatersolutions.com>
Tue, 6 Nov 2018 20:26:21 +0000 (20:26 +0000)
commit7bd3e6736cf057682ccbd01574d979670e18132b
tree2c2d537e383592bf98c6f383b80273f6c34bd2c9
parentdec84e08208b16ea0d6c1423b8d0b724a5c3a777
Bug 21474: Add the Koha::Subscription->frequency method

And the 2 modules for the subscriptions' frequencies

Test plan:
  prove t/db_dependent/Koha/Subscription.t
must return green

Signed-off-by: Josef Moravec <josef.moravec@gmail.com>
Signed-off-by: Séverine QUEUNE <severine.queune@bulac.fr>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
https://bugs.koha-community.org/show_bug.cgi?id=21475

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Koha/Subscription.pm
Koha/Subscription/Frequencies.pm [new file with mode: 0644]
Koha/Subscription/Frequency.pm [new file with mode: 0644]
t/db_dependent/Koha/Subscription.t