1
0
mirror of https://gitlab.crans.org/bde/nk20 synced 2025-06-21 01:48:21 +02:00

Lock invoices, delete them

This commit is contained in:
Yohann D'ANELLO
2020-08-07 11:04:54 +02:00
parent 1fb14ea33d
commit 679ac3a652
10 changed files with 352 additions and 161 deletions

View File

@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2020-08-06 22:27+0200\n"
"POT-Creation-Date: 2020-08-07 11:03+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
@ -96,7 +96,7 @@ msgid "type"
msgstr ""
#: apps/activity/models.py:87 apps/logs/models.py:22 apps/member/models.py:280
#: apps/note/models/notes.py:126 apps/treasury/models.py:253
#: apps/note/models/notes.py:126 apps/treasury/models.py:266
#: apps/wei/models.py:160 templates/treasury/sogecredit_detail.html:14
#: templates/wei/survey.html:16
msgid "user"
@ -194,18 +194,18 @@ msgstr ""
msgid "remove"
msgstr ""
#: apps/activity/tables.py:79 apps/note/forms.py:76 apps/treasury/models.py:172
#: apps/activity/tables.py:79 apps/note/forms.py:76 apps/treasury/models.py:185
msgid "Type"
msgstr ""
#: apps/activity/tables.py:81 apps/member/forms.py:106
#: apps/registration/forms.py:70 apps/treasury/forms.py:130
#: apps/registration/forms.py:70 apps/treasury/forms.py:135
#: apps/wei/forms/registration.py:94
msgid "Last name"
msgstr ""
#: apps/activity/tables.py:83 apps/member/forms.py:111
#: apps/registration/forms.py:75 apps/treasury/forms.py:132
#: apps/registration/forms.py:75 apps/treasury/forms.py:137
#: apps/wei/forms/registration.py:99 templates/note/transaction_form.html:131
msgid "First name"
msgstr ""
@ -280,7 +280,8 @@ msgid "edit"
msgstr ""
#: apps/logs/models.py:63 apps/note/tables.py:137 apps/note/tables.py:165
#: apps/permission/models.py:129 apps/wei/tables.py:73
#: apps/permission/models.py:129 apps/treasury/tables.py:38
#: apps/wei/tables.py:73
msgid "delete"
msgstr ""
@ -367,7 +368,7 @@ msgid "Credit amount"
msgstr ""
#: apps/member/forms.py:116 apps/registration/forms.py:80
#: apps/treasury/forms.py:134 apps/wei/forms/registration.py:104
#: apps/treasury/forms.py:139 apps/wei/forms/registration.py:104
#: templates/note/transaction_form.html:137
msgid "Bank"
msgstr ""
@ -715,7 +716,7 @@ msgstr ""
msgid "Reason"
msgstr ""
#: apps/note/forms.py:87 apps/treasury/tables.py:119
#: apps/note/forms.py:87 apps/treasury/tables.py:139
msgid "Valid"
msgstr ""
@ -960,7 +961,7 @@ msgstr ""
msgid "membership transaction"
msgstr ""
#: apps/note/models/transactions.py:344 apps/treasury/models.py:259
#: apps/note/models/transactions.py:344 apps/treasury/models.py:272
msgid "membership transactions"
msgstr ""
@ -976,8 +977,10 @@ msgstr ""
msgid "No reason specified"
msgstr ""
#: apps/note/tables.py:139 apps/note/tables.py:167 apps/wei/tables.py:74
#: apps/wei/tables.py:100 templates/treasury/sogecredit_detail.html:59
#: apps/note/tables.py:139 apps/note/tables.py:167 apps/treasury/tables.py:39
#: apps/wei/tables.py:74 apps/wei/tables.py:100
#: templates/treasury/invoice_confirm_delete.html:28
#: templates/treasury/sogecredit_detail.html:59
#: templates/wei/weiregistration_confirm_delete.html:32
msgid "Delete"
msgstr ""
@ -1197,44 +1200,44 @@ msgstr ""
msgid "Treasury"
msgstr ""
#: apps/treasury/forms.py:88 apps/treasury/forms.py:142
#: apps/treasury/forms.py:93 apps/treasury/forms.py:147
#: templates/activity/activity_form.html:9
#: templates/activity/activity_invite.html:8
#: templates/django_filters/rest_framework/form.html:5
#: templates/member/add_members.html:31 templates/member/club_form.html:9
#: templates/note/transactiontemplate_form.html:15
#: templates/treasury/invoice_form.html:56 templates/wei/bus_form.html:13
#: templates/treasury/invoice_form.html:64 templates/wei/bus_form.html:13
#: templates/wei/busteam_form.html:13 templates/wei/weiclub_form.html:15
#: templates/wei/weiregistration_form.html:14
msgid "Submit"
msgstr ""
#: apps/treasury/forms.py:90
#: apps/treasury/forms.py:95
msgid "Close"
msgstr ""
#: apps/treasury/forms.py:99
#: apps/treasury/forms.py:104
msgid "Remittance is already closed."
msgstr ""
#: apps/treasury/forms.py:104
#: apps/treasury/forms.py:109
msgid "You can't change the type of the remittance."
msgstr ""
#: apps/treasury/forms.py:124 apps/treasury/models.py:238
#: apps/treasury/tables.py:77 apps/treasury/tables.py:85
#: apps/treasury/forms.py:129 apps/treasury/models.py:251
#: apps/treasury/tables.py:97 apps/treasury/tables.py:105
#: templates/treasury/invoice_list.html:13
#: templates/treasury/remittance_list.html:13
#: templates/treasury/sogecredit_list.html:13
msgid "Remittance"
msgstr ""
#: apps/treasury/forms.py:125
#: apps/treasury/forms.py:130
msgid "No attached remittance"
msgstr ""
#: apps/treasury/forms.py:136 apps/treasury/tables.py:47
#: apps/treasury/tables.py:115 templates/note/transaction_form.html:99
#: apps/treasury/forms.py:141 apps/treasury/tables.py:67
#: apps/treasury/tables.py:135 templates/note/transaction_form.html:99
#: templates/treasury/remittance_form.html:18
msgid "Amount"
msgstr ""
@ -1263,7 +1266,7 @@ msgstr ""
msgid "Address"
msgstr ""
#: apps/treasury/models.py:59 apps/treasury/models.py:166
#: apps/treasury/models.py:59 apps/treasury/models.py:179
msgid "Date"
msgstr ""
@ -1272,122 +1275,134 @@ msgid "Acquitted"
msgstr ""
#: apps/treasury/models.py:68
msgid "Locked"
msgstr ""
#: apps/treasury/models.py:69
msgid "An invoice can't be edited when it is locked."
msgstr ""
#: apps/treasury/models.py:75
msgid "tex source"
msgstr ""
#: apps/treasury/models.py:95 apps/treasury/models.py:108
#: apps/treasury/models.py:88 templates/treasury/invoice_form.html:17
msgid "This invoice is locked and can no longer be edited."
msgstr ""
#: apps/treasury/models.py:108 apps/treasury/models.py:121
msgid "invoice"
msgstr ""
#: apps/treasury/models.py:96
#: apps/treasury/models.py:109
msgid "invoices"
msgstr ""
#: apps/treasury/models.py:113
#: apps/treasury/models.py:126
msgid "Designation"
msgstr ""
#: apps/treasury/models.py:117
#: apps/treasury/models.py:130
msgid "Quantity"
msgstr ""
#: apps/treasury/models.py:121
#: apps/treasury/models.py:134
msgid "Unit price"
msgstr ""
#: apps/treasury/models.py:137
#: apps/treasury/models.py:150
msgid "product"
msgstr ""
#: apps/treasury/models.py:138
#: apps/treasury/models.py:151
msgid "products"
msgstr ""
#: apps/treasury/models.py:155
#: apps/treasury/models.py:168
msgid "remittance type"
msgstr ""
#: apps/treasury/models.py:156
#: apps/treasury/models.py:169
msgid "remittance types"
msgstr ""
#: apps/treasury/models.py:177
#: apps/treasury/models.py:190
msgid "Comment"
msgstr ""
#: apps/treasury/models.py:182
#: apps/treasury/models.py:195
msgid "Closed"
msgstr ""
#: apps/treasury/models.py:186
#: apps/treasury/models.py:199
msgid "remittance"
msgstr ""
#: apps/treasury/models.py:187
#: apps/treasury/models.py:200
msgid "remittances"
msgstr ""
#: apps/treasury/models.py:219
#: apps/treasury/models.py:232
msgid "Remittance #{:d}: {}"
msgstr ""
#: apps/treasury/models.py:242
#: apps/treasury/models.py:255
msgid "special transaction proxy"
msgstr ""
#: apps/treasury/models.py:243
#: apps/treasury/models.py:256
msgid "special transaction proxies"
msgstr ""
#: apps/treasury/models.py:265
#: apps/treasury/models.py:278
msgid "credit transaction"
msgstr ""
#: apps/treasury/models.py:328
#: apps/treasury/models.py:341
msgid ""
"This user doesn't have enough money to pay the memberships with its note. "
"Please ask her/him to credit the note before invalidating this credit."
msgstr ""
#: apps/treasury/models.py:340 templates/treasury/sogecredit_detail.html:10
#: apps/treasury/models.py:353 templates/treasury/sogecredit_detail.html:10
msgid "Credit from the Société générale"
msgstr ""
#: apps/treasury/models.py:341
#: apps/treasury/models.py:354
msgid "Credits from the Société générale"
msgstr ""
#: apps/treasury/tables.py:19
#: apps/treasury/tables.py:20
msgid "Invoice #{:d}"
msgstr ""
#: apps/treasury/tables.py:22 templates/treasury/invoice_list.html:10
#: apps/treasury/tables.py:25 templates/treasury/invoice_list.html:10
#: templates/treasury/remittance_list.html:10
#: templates/treasury/sogecredit_list.html:10
msgid "Invoice"
msgstr ""
#: apps/treasury/tables.py:45
#: apps/treasury/tables.py:65
msgid "Transaction count"
msgstr ""
#: apps/treasury/tables.py:50 apps/treasury/tables.py:52
#: apps/treasury/tables.py:70 apps/treasury/tables.py:72
msgid "View"
msgstr ""
#: apps/treasury/tables.py:79
#: apps/treasury/tables.py:99
msgid "Add"
msgstr ""
#: apps/treasury/tables.py:87
#: apps/treasury/tables.py:107
msgid "Remove"
msgstr ""
#: apps/treasury/tables.py:126
#: apps/treasury/tables.py:146
msgid "Yes"
msgstr ""
#: apps/treasury/tables.py:126
#: apps/treasury/tables.py:146
msgid "No"
msgstr ""
@ -1403,28 +1418,32 @@ msgstr ""
msgid "Update an invoice"
msgstr ""
#: apps/treasury/views.py:188
#: apps/treasury/views.py:145 templates/treasury/invoice_confirm_delete.html:8
msgid "Delete invoice"
msgstr ""
#: apps/treasury/views.py:205
msgid "Create a new remittance"
msgstr ""
#: apps/treasury/views.py:209 templates/treasury/remittance_form.html:9
#: apps/treasury/views.py:226 templates/treasury/remittance_form.html:9
#: templates/treasury/specialtransactionproxy_form.html:7
msgid "Remittances list"
msgstr ""
#: apps/treasury/views.py:259
#: apps/treasury/views.py:276
msgid "Update a remittance"
msgstr ""
#: apps/treasury/views.py:282
#: apps/treasury/views.py:299
msgid "Attach a transaction to a remittance"
msgstr ""
#: apps/treasury/views.py:326
#: apps/treasury/views.py:343
msgid "List of credits from the Société générale"
msgstr ""
#: apps/treasury/views.py:360
#: apps/treasury/views.py:377
msgid "Manage credits from the Société générale"
msgstr ""
@ -2365,17 +2384,30 @@ msgid ""
"by following the link you received."
msgstr ""
#: templates/treasury/invoice_confirm_delete.html:13
msgid "This invoice is locked and can't be deleted."
msgstr ""
#: templates/treasury/invoice_confirm_delete.html:19
msgid ""
"Are you sure you want to delete this invoice? This action can't be undone."
msgstr ""
#: templates/treasury/invoice_confirm_delete.html:26
msgid "Return to invoices list"
msgstr ""
#: templates/treasury/invoice_form.html:10
msgid ""
"Warning: the LaTeX template is saved with this object. Updating the invoice "
"implies regenerate it. Be careful if you manipulate old invoices."
msgstr ""
#: templates/treasury/invoice_form.html:51
#: templates/treasury/invoice_form.html:58
msgid "Add product"
msgstr ""
#: templates/treasury/invoice_form.html:52
#: templates/treasury/invoice_form.html:59
msgid "Remove product"
msgstr ""