Added barcode documentation, fixed wrong barcode type

This commit is contained in:
2025-10-31 11:43:00 +01:00
parent 589131f924
commit f0905c33f5
3 changed files with 29 additions and 1 deletions

View File

@@ -6,5 +6,8 @@ This Project serves the purpose of managing Hardware-Assets
# Development documentation # Development documentation
All information regarding development can be found [here](docs/Development.md). 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 # User documentation
All information regarding general usage can be found [here](docs/Userdocumentation.md). All information regarding general usage can be found [here](docs/Userdocumentation.md).

25
docs/Administration.md Normal file
View File

@@ -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.

View File

@@ -16,7 +16,7 @@
"Application": "Berufsschule_HAM" "Application": "Berufsschule_HAM"
} }
}, },
"BarcodeType": "itf", "BarcodeType": "code128",
"Elmah": { "Elmah": {
"AllowedHosts": [ "AllowedHosts": [
"127.0.0.1", "127.0.0.1",