Testing if more barcodes adds more pages to PDF.
This commit is contained in:
4
main.py
4
main.py
@@ -100,7 +100,9 @@ async def checkin(BookCase: str = Form(...), Shelf: str = Form(...)):
|
|||||||
|
|
||||||
@app.post('/barcodes')
|
@app.post('/barcodes')
|
||||||
async def barcodes(userid: int = Form(...)):
|
async def barcodes(userid: int = Form(...)):
|
||||||
barcode = {'Check In': 'CI', 'Check Out': 'CO', 'Lookup': 'LU', 'Update': 'UPDATE'}
|
barcode = {'Check In': 'CI', 'Check Out': 'CO', 'Lookup': 'LU', 'Update': 'UPDATE', 'Check In1': 'CI',
|
||||||
|
'Check Out1': 'CO', 'Lookup1': 'LU', 'Update1': 'UPDATE','Check In2': 'CI', 'Check Out2': 'CO',
|
||||||
|
'Lookup2': 'LU', 'Update2': 'UPDATE'}
|
||||||
pdf = FPDF()
|
pdf = FPDF()
|
||||||
|
|
||||||
try:
|
try:
|
||||||
|
|||||||
Reference in New Issue
Block a user