mirror of
https://github.com/LD-Reborn/Berufsschule_HAM.git
synced 2025-12-20 06:51:55 +00:00
Merge pull request #212 from LD-Reborn/211-feature-add-documentation-regarding-what-barcodes-are-supported
Added barcode documentation, fixed wrong barcode type
This commit is contained in:
@@ -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
25
docs/Administration.md
Normal 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.
|
||||||
|
|
||||||
@@ -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",
|
||||||
|
|||||||
Reference in New Issue
Block a user