-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1126 from CodingPirates/Features/finanskonto
Features/finanskonto for foreninger
- Loading branch information
Showing
6 changed files
with
171 additions
and
55 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
42 changes: 42 additions & 0 deletions
42
members/migrations/0058_alter_union_options_union_gl_account.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
# Generated by Django 4.2.11 on 2024-11-13 19:56 | ||
|
||
import django.core.validators | ||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
("members", "0057_municipality"), | ||
] | ||
|
||
operations = [ | ||
migrations.AlterModelOptions( | ||
name="union", | ||
options={ | ||
"ordering": ["name"], | ||
"permissions": ( | ||
("view_all_unions", "Can view all Foreninger"), | ||
("showledgeraccount", "Show General Ledger Account"), | ||
), | ||
"verbose_name": "Forening", | ||
"verbose_name_plural": "Foreninger", | ||
}, | ||
), | ||
migrations.AddField( | ||
model_name="union", | ||
name="gl_account", | ||
field=models.CharField( | ||
blank=True, | ||
help_text="Kontonummer i formatet 1234", | ||
max_length=4, | ||
validators=[ | ||
django.core.validators.RegexValidator( | ||
message="Indtast kontonummer i det rigtige format.", | ||
regex="^[0-9]{4}", | ||
) | ||
], | ||
verbose_name="Finanskonto:", | ||
), | ||
), | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
# Generated by Django 4.2.11 on 2024-11-13 20:11 | ||
|
||
from django.db import migrations | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
( | ||
"members", | ||
"0058_alter_municipality_options_remove_municipality_email_and_more", | ||
), | ||
("members", "0058_alter_union_options_union_gl_account"), | ||
] | ||
|
||
operations = [] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
# Generated by Django 4.2.11 on 2024-11-13 21:20 | ||
|
||
from django.db import migrations | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
("members", "0059_merge_20241113_2111"), | ||
] | ||
|
||
operations = [ | ||
migrations.AlterModelOptions( | ||
name="union", | ||
options={ | ||
"ordering": ["name"], | ||
"permissions": ( | ||
("view_all_unions", "Can view all Foreninger"), | ||
("show_ledger_account", "Show General Ledger Account"), | ||
), | ||
"verbose_name": "Forening", | ||
"verbose_name_plural": "Foreninger", | ||
}, | ||
), | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters