View | Details | Raw Unified | Return to bug 24583
Collapse All | Expand All

(-)a/installer/data/mysql/en/mandatory/sample_frequencies.sql (-16 lines)
Lines 1-16 Link Here
1
INSERT INTO subscription_frequencies
2
    (description, unit, unitsperissue, issuesperunit, displayorder)
3
VALUES
4
    ('2/day', 'day', 1, 2, 1),
5
    ('1/day', 'day', 1, 1, 2),
6
    ('3/week', 'week', 1, 3, 3),
7
    ('1/week', 'week', 1, 1, 4),
8
    ('1/2 weeks', 'week', 2, 1, 5),
9
    ('1/3 weeks', 'week', 3, 1, 6),
10
    ('1/month', 'month', 1, 1, 7),
11
    ('1/2 months', 'month', 2, 1, 8),
12
    ('1/3 months', 'month', 3, 1, 9),
13
    ('2/year', 'month', 6, 1, 10),
14
    ('1/year', 'year', 1, 1, 11),
15
    ('1/2 year', 'year', 2, 1, 12),
16
    ('Irregular', NULL, 1, 1, 13);
(-)a/installer/data/mysql/en/mandatory/sample_frequencies.txt (-1 lines)
Line 1 Link Here
1
Sample frequencies for subscriptions
(-)a/installer/data/mysql/en/mandatory/sample_frequencies.yml (-1 / +105 lines)
Line 0 Link Here
0
- 
1
---
2
#
3
#  Copyright 2020 Koha Development Team
4
#
5
#  This file is part of Koha.
6
#
7
#  Koha is free software; you can redistribute it and/or modify it under the
8
#  terms of the GNU General Public License as published by the Free Software
9
#  Foundation; either version 2 of the License, or (at your option) any later
10
#  version.
11
#
12
#  Koha is distributed in the hope that it will be useful, but WITHOUT ANY
13
#  WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
14
#  A PARTICULAR PURPOSE.  See the GNU General Public License for more details.
15
#
16
#  You should have received a copy of the GNU General Public License along
17
#  with Koha; if not, write to the Free Software Foundation, Inc.,
18
#  51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
19
#
20
21
description:
22
  - "Sample frequencies for subscriptions"
23
24
tables:
25
  - subscription_frequencies:
26
      translatable: [ description ]
27
      multiline: []
28
      rows:
29
        - description: "2/day"
30
          unit: "day"
31
          unitsperissue: 1
32
          issuesperunit: 2
33
          displayorder: 1
34
35
        - description: "1/day"
36
          unit: "day"
37
          unitsperissue: 1
38
          issuesperunit: 1
39
          displayorder: 2
40
41
        - description: "3/week"
42
          unit: "week"
43
          unitsperissue: 1
44
          issuesperunit: 3
45
          displayorder: 3
46
47
        - description: "1/week"
48
          unit: "week"
49
          unitsperissue: 1
50
          issuesperunit: 1
51
          displayorder: 4
52
53
        - description: "1/2 weeks"
54
          unit: "week"
55
          unitsperissue: 2
56
          issuesperunit: 1
57
          displayorder: 5
58
59
        - description: "1/3 weeks"
60
          unit: "week"
61
          unitsperissue: 3
62
          issuesperunit: 1
63
          displayorder: 6
64
65
        - description: "1/month"
66
          unit: "month"
67
          unitsperissue: 1
68
          issuesperunit: 1
69
          displayorder: 7
70
71
        - description: "1/2 months"
72
          unit: "month"
73
          unitsperissue: 2
74
          issuesperunit: 1
75
          displayorder: 8
76
77
        - description: "1/3 months"
78
          unit: "month"
79
          unitsperissue: 3
80
          issuesperunit: 1
81
          displayorder: 9
82
83
        - description: "2/year"
84
          unit: "month"
85
          unitsperissue: 6
86
          issuesperunit: 1
87
          displayorder: 10
88
89
        - description: "1/year"
90
          unit: "year"
91
          unitsperissue: 1
92
          issuesperunit: 1
93
          displayorder: 11
94
95
        - description: "1/2 year"
96
          unit: "year"
97
          unitsperissue: 2
98
          issuesperunit: 1
99
          displayorder: 12
100
101
        - description: "Irregular"
102
          unit: ~
103
          unitsperissue: 1
104
          issuesperunit: 1
105
          displayorder: 13

Return to bug 24583