In order to facilitate the annually recurring work of issuing share certificates, this program has been developed.
The program is written with C# .NET 6.0.
cd Anteilsscheine
dotnet build
cd ShareCertificate
dotnet publish -r linux-x64 -p:PublishSingleFile=true --self-contained true
Go to the folder where the subfolders Customer* is. Open an shell and start the programm with the follwing command:
cd Anteilsscheine
publish/linux-x64/ShareCertificate --Year 2019 --CustomerName Test > CustomerTest/Summary_2019.csv
In the csv is an overview of all share certificates per person.
The generated PDFs are saved in the subfolder CustomerTest/2019/Generated/.
The following command is used to combine all PDFs in one file and delete the generated:
pdfunite CustomerTest/2019/Generated/*.pdf SammelanteilsscheinSerienbrief_2019.pdf
rm CustomerTest/2019/Generated/2019_*.pdf
ShareCertificate uses the MIT licence, see the LICENSE file.