From f0905c33f5006f1ad0b98086a99d5e77b3749621 Mon Sep 17 00:00:00 2001 From: LD-Reborn Date: Fri, 31 Oct 2025 11:43:00 +0100 Subject: [PATCH] Added barcode documentation, fixed wrong barcode type --- README.md | 3 +++ docs/Administration.md | 25 +++++++++++++++++++++++++ src/appsettings.json | 2 +- 3 files changed, 29 insertions(+), 1 deletion(-) create mode 100644 docs/Administration.md diff --git a/README.md b/README.md index 9dca8bc..d29f80d 100644 --- a/README.md +++ b/README.md @@ -6,5 +6,8 @@ This Project serves the purpose of managing Hardware-Assets # Development documentation All information regarding development can be found [here](docs/Development.md). +# Administration documentation +All information regarding configuration and administration can be found [here](docs/Administration.md). + # User documentation All information regarding general usage can be found [here](docs/Userdocumentation.md). \ No newline at end of file diff --git a/docs/Administration.md b/docs/Administration.md new file mode 100644 index 0000000..e8d152a --- /dev/null +++ b/docs/Administration.md @@ -0,0 +1,25 @@ +# Administration + +## Configuration +### Environments +(TODO: Explanation regarding appsettings.XYZ.json here) + +### Barcode type +The barcode type can be set in the appsettings like this: +```json +{ + //[...] + "BarcodeType": "code128", + //[...] +} +``` +The following barcodes are supported: +- CODE128C +- EAN13 +- EAN8 +- UPC +- ITF14 +- ITF + +Make sure to type in the barcode format in lowercase. + diff --git a/src/appsettings.json b/src/appsettings.json index c1b9548..8b0d9cd 100644 --- a/src/appsettings.json +++ b/src/appsettings.json @@ -16,7 +16,7 @@ "Application": "Berufsschule_HAM" } }, - "BarcodeType": "itf", + "BarcodeType": "code128", "Elmah": { "AllowedHosts": [ "127.0.0.1",