mirror of
https://git.hiabuto.net/C3MA/CCMA.git
synced 2026-07-01 11:14:52 +02:00
feat: repeat claim items in document tables
This commit is contained in:
@@ -106,7 +106,12 @@ class MemberRepository:
|
||||
builtin_templates = Path(__file__).resolve().parent.parent / "assets" / "templates"
|
||||
if builtin_templates.is_dir():
|
||||
for source in builtin_templates.iterdir():
|
||||
destination = templates_root / source.name
|
||||
destination_name = (
|
||||
"Forderung mit Positionen.fodt"
|
||||
if source.name == "Forderung.fodt"
|
||||
else source.name
|
||||
)
|
||||
destination = templates_root / destination_name
|
||||
if source.is_file() and not destination.exists():
|
||||
shutil.copyfile(source, destination)
|
||||
config_path = self.root / "repository.json"
|
||||
|
||||
Reference in New Issue
Block a user