@@ -, +, @@ ./misc/translator/translate update xx-XX -->The default account debit and credit types (and cash payment type) should be available to be translated ./misc/translator/translate install xx-XX the values in the db and using ./misc/load_yaml.pl to load the files) --> They should be translated --> They should be translated --- .../en/mandatory/account_credit_types.yml | 81 ++++++++++ .../en/mandatory/account_debit_types.yml | 138 ++++++++++++++++++ .../data/mysql/en/mandatory/auth_values.yml | 5 + 3 files changed, 224 insertions(+) create mode 100644 installer/data/mysql/en/mandatory/account_credit_types.yml create mode 100644 installer/data/mysql/en/mandatory/account_debit_types.yml --- a/installer/data/mysql/en/mandatory/account_credit_types.yml +++ a/installer/data/mysql/en/mandatory/account_credit_types.yml @@ -0,0 +1,81 @@ +--- +# +# Copyright 2023 Koha Development Team +# +# This file is part of Koha. +# +# Koha is free software; you can redistribute it and/or modify it +# under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 3 of the License, or +# (at your option) any later version. +# +# Koha is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with Koha; if not, see . + +description: + - "Credit types used in Koha" + +tables: + - account_credit_types: + translatable: [ description ] + multiline: [] + rows: + - code: "OVERPAYMENT" + description: "Overpayment refund" + can_be_added_manually: "0" + is_system: "1" + + - code: "PAYMENT" + description: "Payment" + can_be_added_manually: "0" + is_system: "1" + + - code: "WRITEOFF" + description: "Writeoff" + can_be_added_manually: "0" + is_system: "1" + + - code: "FORGIVEN" + description: "Forgiven" + can_be_added_manually: "1" + is_system: "1" + + - code: "CREDIT" + description: "Credit" + can_be_added_manually: "1" + is_system: "1" + + - code: "DISCOUNT" + description: "A discount applied to a patrons fine" + can_be_added_manually: "0" + is_system: "1" + + - code: "REFUND" + description: "Refund" + can_be_added_manually: "0" + is_system: "1" + + - code: "LOST_FOUND" + description: "Lost item fee refund" + can_be_added_manually: "0" + is_system: "1" + + - code: "PURCHASE" + description: "Purchase" + can_be_added_manually: "0" + is_system: "1" + + - code: "CANCELLATION" + description: "Cancellation" + can_be_added_manually: "0" + is_system: "1" + + - code: "PROCESSING_FOUND" + description: "Lost item processing fee refund" + can_be_added_manually: "0" + is_system: "1" --- a/installer/data/mysql/en/mandatory/account_debit_types.yml +++ a/installer/data/mysql/en/mandatory/account_debit_types.yml @@ -0,0 +1,138 @@ +--- +# +# Copyright 2023 Koha Development Team +# +# This file is part of Koha. +# +# Koha is free software; you can redistribute it and/or modify it +# under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 3 of the License, or +# (at your option) any later version. +# +# Koha is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with Koha; if not, see . + +description: + - "Debit types used in Koha" + +tables: + - account_debit_types: + translatable: [ description ] + multiline: [] + rows: + - code: "ACCOUNT" + description: "Account creation fee" + can_be_invoiced: "0" + can_be_sold: "0" + default_amount: ~ + is_system: "1" + + - code: "ACCOUNT_RENEW" + description: "Account renewal fee" + can_be_invoiced: "0" + can_be_sold: "0" + default_amount: ~ + is_system: "1" + + - code: "ARTICLE_REQUEST" + description: "Article request fee" + can_be_invoiced: "0" + can_be_sold: "0" + default_amount: ~ + is_system: "1" + + - code: "LOST" + description: "Lost item" + can_be_invoiced: "1" + can_be_sold: "0" + default_amount: ~ + is_system: "1" + + - code: "MANUAL" + description: "Manual fee" + can_be_invoiced: "1" + can_be_sold: "0" + default_amount: ~ + is_system: "0" + + - code: "NEW_CARD" + description: "New card fee" + can_be_invoiced: "1" + can_be_sold: "0" + default_amount: ~ + is_system: "1" + + - code: "OVERDUE" + description: "Overdue fine" + can_be_invoiced: "0" + can_be_sold: "0" + default_amount: ~ + is_system: "1" + + - code: "PROCESSING" + description: "Lost item processing fee" + can_be_invoiced: "0" + can_be_sold: "0" + default_amount: ~ + is_system: "1" + + - code: "PAYOUT" + description: "Payment from library to patron" + can_be_invoiced: "0" + can_be_sold: "0" + default_amount: ~ + is_system: "1" + + - code: "RENT" + description: "Rental fee" + can_be_invoiced: "0" + can_be_sold: "0" + default_amount: ~ + is_system: "1" + + - code: "RENT_DAILY" + description: "Daily rental fee" + can_be_invoiced: "0" + can_be_sold: "0" + default_amount: ~ + is_system: "1" + + - code: "RENT_DAILY_RENEW" + description: "Renewal of daily rental item" + can_be_invoiced: "0" + can_be_sold: "0" + default_amount: ~ + is_system: "1" + + - code: "RENT_RENEW" + description: "Renewal of rental item" + can_be_invoiced: "0" + can_be_sold: "0" + default_amount: ~ + is_system: "1" + + - code: "RESERVE" + description: "Hold fee" + can_be_invoiced: "0" + can_be_sold: "0" + default_amount: ~ + is_system: "1" + + - code: "RESERVE_EXPIRED" + description: "Hold waiting too long" + can_be_invoiced: "0" + can_be_sold: "0" + default_amount: ~ + is_system: "1" + + - code: "VOID" + description: "Credit has been voided" + can_be_invoiced: "0" + can_be_sold: "0" + default_amount: ~ + is_system: "1" --- a/installer/data/mysql/en/mandatory/auth_values.yml +++ a/installer/data/mysql/en/mandatory/auth_values.yml @@ -50,6 +50,11 @@ tables: lib: "Creditcard via SIP2" lib_opac: "Creditcard" + - category: "PAYMENT_TYPE" + authorised_value: "CASH" + lib: "Cash" + lib_opac: "Cash" + - authorised_values: translatable: [ lib ] multiline: [] --