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

(-)a/installer/data/mysql/en/mandatory/account_credit_types.yml (+81 lines)
Line 0 Link Here
1
---
2
#
3
#  Copyright 2023 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
8
# under the terms of the GNU General Public License as published by
9
# the Free Software Foundation; either version 3 of the License, or
10
# (at your option) any later version.
11
#
12
# Koha is distributed in the hope that it will be useful, but
13
# WITHOUT ANY WARRANTY; without even the implied warranty of
14
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15
# GNU General Public License for more details.
16
#
17
# You should have received a copy of the GNU General Public License
18
# along with Koha; if not, see <http://www.gnu.org/licenses>.
19
20
description:
21
  - "Credit types used in Koha"
22
23
tables:
24
  - account_credit_types:
25
      translatable: [ description ]
26
      multiline: []
27
      rows:
28
        - code: "OVERPAYMENT"
29
          description: "Overpayment refund"
30
          can_be_added_manually: "0"
31
          is_system: "1"
32
33
        - code: "PAYMENT"
34
          description: "Payment"
35
          can_be_added_manually: "0"
36
          is_system: "1"
37
38
        - code: "WRITEOFF"
39
          description: "Writeoff"
40
          can_be_added_manually: "0"
41
          is_system: "1"
42
43
        - code: "FORGIVEN"
44
          description: "Forgiven"
45
          can_be_added_manually: "1"
46
          is_system: "1"
47
48
        - code: "CREDIT"
49
          description: "Credit"
50
          can_be_added_manually: "1"
51
          is_system: "1"
52
53
        - code: "DISCOUNT"
54
          description: "A discount applied to a patrons fine"
55
          can_be_added_manually: "0"
56
          is_system: "1"
57
58
        - code: "REFUND"
59
          description: "Refund"
60
          can_be_added_manually: "0"
61
          is_system: "1"
62
63
        - code: "LOST_FOUND"
64
          description: "Lost item fee refund"
65
          can_be_added_manually: "0"
66
          is_system: "1"
67
68
        - code: "PURCHASE"
69
          description: "Purchase"
70
          can_be_added_manually: "0"
71
          is_system: "1"
72
73
        - code: "CANCELLATION"
74
          description: "Cancellation"
75
          can_be_added_manually: "0"
76
          is_system: "1"
77
78
        - code: "PROCESSING_FOUND"
79
          description: "Lost item processing fee refund"
80
          can_be_added_manually: "0"
81
          is_system: "1"
(-)a/installer/data/mysql/en/mandatory/account_debit_types.yml (+138 lines)
Line 0 Link Here
1
---
2
#
3
#  Copyright 2023 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
8
# under the terms of the GNU General Public License as published by
9
# the Free Software Foundation; either version 3 of the License, or
10
# (at your option) any later version.
11
#
12
# Koha is distributed in the hope that it will be useful, but
13
# WITHOUT ANY WARRANTY; without even the implied warranty of
14
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15
# GNU General Public License for more details.
16
#
17
# You should have received a copy of the GNU General Public License
18
# along with Koha; if not, see <http://www.gnu.org/licenses>.
19
20
description:
21
  - "Debit types used in Koha"
22
23
tables:
24
  - account_debit_types:
25
      translatable: [ description ]
26
      multiline: []
27
      rows:
28
        - code: "ACCOUNT"
29
          description: "Account creation fee"
30
          can_be_invoiced: "0"
31
          can_be_sold: "0"
32
          default_amount: ~
33
          is_system: "1"
34
35
        - code: "ACCOUNT_RENEW"
36
          description: "Account renewal fee"
37
          can_be_invoiced: "0"
38
          can_be_sold: "0"
39
          default_amount: ~
40
          is_system: "1"
41
42
        - code: "ARTICLE_REQUEST"
43
          description: "Article request fee"
44
          can_be_invoiced: "0"
45
          can_be_sold: "0"
46
          default_amount: ~
47
          is_system: "1"
48
49
        - code: "LOST"
50
          description: "Lost item"
51
          can_be_invoiced: "1"
52
          can_be_sold: "0"
53
          default_amount: ~
54
          is_system: "1"
55
56
        - code: "MANUAL"
57
          description: "Manual fee"
58
          can_be_invoiced: "1"
59
          can_be_sold: "0"
60
          default_amount: ~
61
          is_system: "0"
62
63
        - code: "NEW_CARD"
64
          description: "New card fee"
65
          can_be_invoiced: "1"
66
          can_be_sold: "0"
67
          default_amount: ~
68
          is_system: "1"
69
70
        - code: "OVERDUE"
71
          description: "Overdue fine"
72
          can_be_invoiced: "0"
73
          can_be_sold: "0"
74
          default_amount: ~
75
          is_system: "1"
76
77
        - code: "PROCESSING"
78
          description: "Lost item processing fee"
79
          can_be_invoiced: "0"
80
          can_be_sold: "0"
81
          default_amount: ~
82
          is_system: "1"
83
84
        - code: "PAYOUT"
85
          description: "Payment from library to patron"
86
          can_be_invoiced: "0"
87
          can_be_sold: "0"
88
          default_amount: ~
89
          is_system: "1"
90
91
        - code: "RENT"
92
          description: "Rental fee"
93
          can_be_invoiced: "0"
94
          can_be_sold: "0"
95
          default_amount: ~
96
          is_system: "1"
97
98
        - code: "RENT_DAILY"
99
          description: "Daily rental fee"
100
          can_be_invoiced: "0"
101
          can_be_sold: "0"
102
          default_amount: ~
103
          is_system: "1"
104
105
        - code: "RENT_DAILY_RENEW"
106
          description: "Renewal of daily rental item"
107
          can_be_invoiced: "0"
108
          can_be_sold: "0"
109
          default_amount: ~
110
          is_system: "1"
111
112
        - code: "RENT_RENEW"
113
          description: "Renewal of rental item"
114
          can_be_invoiced: "0"
115
          can_be_sold: "0"
116
          default_amount: ~
117
          is_system: "1"
118
119
        - code: "RESERVE"
120
          description: "Hold fee"
121
          can_be_invoiced: "0"
122
          can_be_sold: "0"
123
          default_amount: ~
124
          is_system: "1"
125
126
        - code: "RESERVE_EXPIRED"
127
          description: "Hold waiting too long"
128
          can_be_invoiced: "0"
129
          can_be_sold: "0"
130
          default_amount: ~
131
          is_system: "1"
132
133
        - code: "VOID"
134
          description: "Credit has been voided"
135
          can_be_invoiced: "0"
136
          can_be_sold: "0"
137
          default_amount: ~
138
          is_system: "1"
(-)a/installer/data/mysql/en/mandatory/auth_values.yml (-1 / +5 lines)
Lines 50-55 tables: Link Here
50
          lib: "Creditcard via SIP2"
50
          lib: "Creditcard via SIP2"
51
          lib_opac: "Creditcard"
51
          lib_opac: "Creditcard"
52
52
53
        - category: "PAYMENT_TYPE"
54
          authorised_value: "CASH"
55
          lib: "Cash"
56
          lib_opac: "Cash"
57
53
  - authorised_values:
58
  - authorised_values:
54
      translatable: [ lib ]
59
      translatable: [ lib ]
55
      multiline: []
60
      multiline: []
56
- 

Return to bug 26403