feat(currencies): allow archiving

This commit is contained in:
Herculino Trotta
2025-08-29 22:47:00 -03:00
parent 4565dc770b
commit 1abe9e9f62
7 changed files with 50 additions and 0 deletions
+2
View File
@@ -26,6 +26,7 @@ class CurrencyForm(forms.ModelForm):
"suffix",
"code",
"exchange_currency",
"is_archived",
]
widgets = {
"exchange_currency": TomSelect(),
@@ -40,6 +41,7 @@ class CurrencyForm(forms.ModelForm):
self.helper.layout = Layout(
"code",
"name",
Switch("is_archived"),
"decimal_places",
"prefix",
"suffix",