Compare commits

..

No commits in common. "245e22d74aac396f0632287ba430e70104968dbe" and "66b8606def5be10038882b753abf8ef875098479" have entirely different histories.

6 changed files with 29 additions and 37 deletions

View file

@ -1,5 +1,5 @@
{ {
"image": "mcr.microsoft.com/devcontainers/base:0-ubuntu-22.04", "image": "mcr.microsoft.com/devcontainers/universal:2",
"features": { "features": {
"ghcr.io/devcontainers/features/python:1": { "ghcr.io/devcontainers/features/python:1": {
"version": "3.12" "version": "3.12"
@ -47,11 +47,11 @@
} }
}, },
"mounts": [ "mounts": [
"source=${localWorkspaceFolder}/.devcontainer/advanced/.p10k.zsh,target=/home/vscode/.p10k.zsh,type=bind,consistency=cached", "source=${localWorkspaceFolder}/.devcontainer/advanced/.p10k.zsh,target=/home/codespace/.p10k.zsh,type=bind,consistency=cached",
"source=${localWorkspaceFolder}/.devcontainer/advanced/.zshrc,target=/home/vscode/.zshrc,type=bind,consistency=cached", "source=${localWorkspaceFolder}/.devcontainer/advanced/.zshrc,target=/home/codespace/.zshrc,type=bind,consistency=cached",
"source=${localWorkspaceFolder}/.devcontainer/advanced/post-create.sh,target=/home/vscode/post-create.sh,type=bind,consistency=cached", "source=${localWorkspaceFolder}/.devcontainer/advanced/post-create.sh,target=/home/codespace/post-create.sh,type=bind,consistency=cached",
"source=${localWorkspaceFolder}/.devcontainer/advanced/post-start.sh,target=/home/vscode/post-start.sh,type=bind,consistency=cached" "source=${localWorkspaceFolder}/.devcontainer/advanced/post-start.sh,target=/home/codespace/post-start.sh,type=bind,consistency=cached"
], ],
"postCreateCommand": "chmod +x /home/vscode/post-create.sh && /home/vscode/post-create.sh", "postCreateCommand": "chmod +x /home/codespace/post-create.sh && /home/codespace/post-create.sh",
"postStartCommand": "chmod +x /home/vscode/post-create.sh && /home/vscode/post-create.sh" "postStartCommand": "chmod +x /home/codespace/post-create.sh && /home/codespace/post-create.sh"
} }

8
.gitignore vendored
View file

@ -10,12 +10,8 @@ payments.csv
document.aux document.aux
document.pdf document.pdf
*.mta *.mta
*.ods
*.aux
*.pdf
*.fdb_latexmk *.fdb_latexmk
*.fls *.fls
*.synctex.gz *.synctex.gz
ccl_mitgliederdatenbank.xlsx *.png
signature.png

View file

@ -2,7 +2,4 @@ source 'https://rubygems.org'
gem 'cmxl', '~> 1.5.0' gem 'cmxl', '~> 1.5.0'
gem 'roo', '~> 2.10.0' gem 'roo', '~> 2.10.0'
gem 'humanize', '~> 2.5.1' gem 'humanize', '~> 2.5.1'
gem 'base64', '~> 0.2.0'
gem 'csv', '~> 3.3.2'
gem 'bigdecimal', '~> 3.1.9'

View file

@ -1,15 +1,20 @@
GEM GEM
remote: https://rubygems.org/ remote: https://rubygems.org/
specs: specs:
base64 (0.2.0)
bigdecimal (3.1.9)
cmxl (1.5.0) cmxl (1.5.0)
rchardet19 rchardet19
csv (3.3.2)
humanize (2.5.1) humanize (2.5.1)
mini_portile2 (2.8.8) nokogiri (1.16.3-aarch64-linux)
nokogiri (1.16.3) racc (~> 1.4)
mini_portile2 (~> 2.8.2) nokogiri (1.16.3-arm-linux)
racc (~> 1.4)
nokogiri (1.16.3-arm64-darwin)
racc (~> 1.4)
nokogiri (1.16.3-x86-linux)
racc (~> 1.4)
nokogiri (1.16.3-x86_64-darwin)
racc (~> 1.4)
nokogiri (1.16.3-x86_64-linux)
racc (~> 1.4) racc (~> 1.4)
racc (1.7.3) racc (1.7.3)
rchardet19 (1.3.7) rchardet19 (1.3.7)
@ -27,10 +32,7 @@ PLATFORMS
x86_64-linux x86_64-linux
DEPENDENCIES DEPENDENCIES
base64 (~> 0.2.0)
bigdecimal (~> 3.1.9)
cmxl (~> 1.5.0) cmxl (~> 1.5.0)
csv (~> 3.3.2)
humanize (~> 2.5.1) humanize (~> 2.5.1)
roo (~> 2.10.0) roo (~> 2.10.0)

View file

@ -78,17 +78,17 @@ Betrag: \textbf{\summe{} \euro{}\\ }
Betrag in Worten: \textbf{\betraginworten{}\\} Betrag in Worten: \textbf{\betraginworten{}\\}
Zeitraum: \textbf{\startdatum{} - \findatum{}\\} Zeitraum: \textbf{\startdatum{} - \findatum{}\\}
Die Einhaltung der satzungsmäßigen Voraussetzungen nach den §§ 51, 59, 60 und 61 AO wurde vom Finanzamt Hamburg Nord, StNr. 17/403/06010 mit Bescheid vom 13.01.2021 nach § 60a AO gesondert festgestellt. Wir fördern nach unserer Satzung die Bildung, Wissenschaft und Forschung, den Natur- und Umweltschutz, Kunst und Kultur. Die Einhaltung der satzungsmäßigen Voraussetzungen nach den §§ 51, 59, 60 und 61 AO wurde vom Finanzamt Hamburg Nord, StNr. 17/103/06010 mit Bescheid vom 13.01.2021 nach § 60a AO gesondert festgestellt. Wir fördern nach unserer Satzung die Bildung, Wissenschaft und Forschung, den Natur- und Umweltschutz, Kunst und Kultur.
Es wird bestätigt, dass die Zuwendung nur zur Förderung der Bildung, von Wissenschaft und Forschung, des Natur- und Umweltschutzes, von Kunst und Kultur verwendet wird. Es wird bestätigt, dass es sich nicht um einen Mitgliedsbeitrag handelt, dessen Abzug nach § 10b Absatz 1 des Einkommensteuergesetzes ausgeschlossen ist. Es wird bestätigt, dass die Zuwendung nur zur Förderung der Bildung, von Wissenschaft und Forschung, des Natur- und Umweltschutzes, von Kunst und Kultur verwendet wird. Es wird bestätigt, dass es sich nicht um einen Mitgliedsbeitrag handelt, dessen Abzug nach § 10b Absatz 1 des Einkommensteuergesetzes ausgeschlossen ist.
\footnotesize \footnotesize
\closing{Mit freundlichen Grüßen} \closing{Mit freundlichen Grüßen}
% Adjust vertical space as needed with \vspace % Adjust vertical space as needed with \vspace
\vspace{-60pt} % Adjust the space above the signature as needed \vspace{-70pt} % Adjust the space above the signature as needed
% Adjust horizontal space as needed with \hspace % Adjust horizontal space as needed with \hspace
% \hspace{-20pt} % Adjust the space to the left of the signature as needed \hspace{-20pt} % Adjust the space to the left of the signature as needed
\includegraphics[width=3cm]{signature.png} % Include your signature image \includegraphics[scale=.9]{signature.png} % Include your signature image
\tiny \tiny
Hinweis: Hinweis:
@ -118,10 +118,10 @@ nach § 60a Abs. 1 AO länger als 3 Jahre seit Ausstellung des Bescheides zurüc
\closing{Mit freundlichen Grüßen} \closing{Mit freundlichen Grüßen}
% Adjust vertical space as needed with \vspace % Adjust vertical space as needed with \vspace
\vspace{-60pt} % Adjust the space above the signature as needed \vspace{-70pt} % Adjust the space above the signature as needed
% Adjust horizontal space as needed with \hspace % Adjust horizontal space as needed with \hspace
% \hspace{-20pt} % Adjust the space to the left of the signature as needed \hspace{-20pt} % Adjust the space to the left of the signature as needed
\includegraphics[width=3cm]{signature.png} % Include your signature image \includegraphics[scale=.9]{signature.png} % Include your signature image
\end{letter} \end{letter}
\end{document} \end{document}

View file

@ -30,10 +30,7 @@ bundle install
## Usage ## Usage
`./beitragsquittung.rb <MT940 file> <Membership Excel file> <member id>` `./beitragsquittung.rb <MT940 file> <Excel file> <member id>`
Example:
`./beitragsquittung.rb umsaetze_2024.mta ccl_mitgliederdatenbank.xlsx 38`
The member ID is optional. If not provided, all members are processed. The member ID is optional. If not provided, all members are processed.
The time range is used from the MT940 file. The time range is used from the MT940 file.