Fehlende Dateien und Ordner hinzugefügt
This commit is contained in:
74
config-example/templates/lieferschein_pdf_table/document.pdf
Normal file
74
config-example/templates/lieferschein_pdf_table/document.pdf
Normal file
@@ -0,0 +1,74 @@
|
||||
%PDF-1.4
|
||||
%<25><><EFBFBD><EFBFBD> ReportLab Generated PDF document (opensource)
|
||||
1 0 obj
|
||||
<<
|
||||
/F1 2 0 R /F2 3 0 R
|
||||
>>
|
||||
endobj
|
||||
2 0 obj
|
||||
<<
|
||||
/BaseFont /Helvetica /Encoding /WinAnsiEncoding /Name /F1 /Subtype /Type1 /Type /Font
|
||||
>>
|
||||
endobj
|
||||
3 0 obj
|
||||
<<
|
||||
/BaseFont /Helvetica-Bold /Encoding /WinAnsiEncoding /Name /F2 /Subtype /Type1 /Type /Font
|
||||
>>
|
||||
endobj
|
||||
4 0 obj
|
||||
<<
|
||||
/Contents 8 0 R /MediaBox [ 0 0 595.2756 841.8898 ] /Parent 7 0 R /Resources <<
|
||||
/Font 1 0 R /ProcSet [ /PDF /Text /ImageB /ImageC /ImageI ]
|
||||
>> /Rotate 0 /Trans <<
|
||||
|
||||
>>
|
||||
/Type /Page
|
||||
>>
|
||||
endobj
|
||||
5 0 obj
|
||||
<<
|
||||
/PageMode /UseNone /Pages 7 0 R /Type /Catalog
|
||||
>>
|
||||
endobj
|
||||
6 0 obj
|
||||
<<
|
||||
/Author (anonymous) /CreationDate (D:20260608163430+00'00') /Creator (anonymous) /Keywords () /ModDate (D:20260608163430+00'00') /Producer (ReportLab PDF Library - \(opensource\))
|
||||
/Subject (unspecified) /Title (PDF Tabellenvorlage Lieferschein) /Trapped /False
|
||||
>>
|
||||
endobj
|
||||
7 0 obj
|
||||
<<
|
||||
/Count 1 /Kids [ 4 0 R ] /Type /Pages
|
||||
>>
|
||||
endobj
|
||||
8 0 obj
|
||||
<<
|
||||
/Filter [ /ASCII85Decode /FlateDecode ] /Length 672
|
||||
>>
|
||||
stream
|
||||
Gat%`9lJ`N&;KZL'm"2lAF#fb1_PR3JK@.Y1pM?m&HY(F/$D7Y1sNf(fFT_c.'5%G@C5L8ccj[:6H"q$hU;IDPJH@q"Gr5a5\cu9)*fjcB]9<Gf5[%l*o_3Q@AJ]U=TfO2_HSN6$1MAbd>Z6@F?s("&X&cJI+nHhB^F_WDAlCI(r8^;Gc)LaqqM)ul$^5e>UMZ?=Tuq?c(K:2V`\g!(G-79$\Q_k!2HqedgG4+pmT`YMM%*^@@b;::;nO_.Qb[Br@PsddG/SrPht/2@j_tbD\T\@C(iZ.;_uP'EmgCdg0mU!p5@([DjrGSo'&!K6+[4?:,hKRaVftF*9]Q9&c)Do:>n_m4?@=)]NlVnn?$C<$^>>XMu1[G7Yuh>;</6P8p\0.$+@!h'=b)q0Th=)l/&T)r2?`,/QBsGn!"MYH.r=KIqV,;buU.$F(EuJ!^?.W[,#S4XjG'K5"#^[K`Yi\1_mPQpMd1ciO^#cmg&4:n.2(A>c_&-#!Wu$.*nmNgSJ_tkeQYioH@JV9@l&eF-]jbY&q8S_im&e<*b>-KMuTWjuWa?\-p!,[_qoN=m"a)FWbTsr+MA@7b)aHe#9"Fb./SsLYrMO[&s[ZU9AaW9;oJ!J7g?1?<1%Bh/ZYq=j_ocp&;1i]K.i9r4UH^Y9To7b4lP$;S^6n&iD;q~>endstream
|
||||
endobj
|
||||
xref
|
||||
0 9
|
||||
0000000000 65535 f
|
||||
0000000061 00000 n
|
||||
0000000102 00000 n
|
||||
0000000209 00000 n
|
||||
0000000321 00000 n
|
||||
0000000524 00000 n
|
||||
0000000592 00000 n
|
||||
0000000877 00000 n
|
||||
0000000936 00000 n
|
||||
trailer
|
||||
<<
|
||||
/ID
|
||||
[<721e7688792119f7e9da1c836b6aa329><721e7688792119f7e9da1c836b6aa329>]
|
||||
% ReportLab generated PDF document -- digest (opensource)
|
||||
|
||||
/Info 6 0 R
|
||||
/Root 5 0 R
|
||||
/Size 9
|
||||
>>
|
||||
startxref
|
||||
1698
|
||||
%%EOF
|
||||
111
config-example/templates/lieferschein_pdf_table/fields.json
Normal file
111
config-example/templates/lieferschein_pdf_table/fields.json
Normal file
@@ -0,0 +1,111 @@
|
||||
{
|
||||
"coordinateUnit": "mm",
|
||||
"coordinateOrigin": "TOP_LEFT",
|
||||
"pdfFields": [
|
||||
{
|
||||
"name": "deliveryNumber",
|
||||
"type": "TEXT",
|
||||
"value": "{{deliveryNumber}}",
|
||||
"page": 1,
|
||||
"x": 38,
|
||||
"y": 35,
|
||||
"width": 70,
|
||||
"height": 6,
|
||||
"fontSize": 10
|
||||
},
|
||||
{
|
||||
"name": "customerName",
|
||||
"type": "TEXT",
|
||||
"value": "{{customer.name}}",
|
||||
"page": 1,
|
||||
"x": 38,
|
||||
"y": 43,
|
||||
"width": 90,
|
||||
"height": 6,
|
||||
"fontSize": 10
|
||||
},
|
||||
{
|
||||
"name": "deliveryDate",
|
||||
"type": "TEXT",
|
||||
"value": "{{deliveryDate}}",
|
||||
"page": 1,
|
||||
"x": 38,
|
||||
"y": 51,
|
||||
"width": 70,
|
||||
"height": 6,
|
||||
"fontSize": 10
|
||||
},
|
||||
{
|
||||
"name": "deliveryQr",
|
||||
"type": "QR_CODE",
|
||||
"value": "{{deliveryNumber}}",
|
||||
"page": 1,
|
||||
"x": 162,
|
||||
"y": 25,
|
||||
"width": 28,
|
||||
"height": 28
|
||||
},
|
||||
{
|
||||
"name": "positionsTable",
|
||||
"type": "TABLE",
|
||||
"source": "items",
|
||||
"page": 1,
|
||||
"x": 18,
|
||||
"y": 78,
|
||||
"width": 174,
|
||||
"height": 125,
|
||||
"rowHeight": 13,
|
||||
"headerHeight": 8,
|
||||
"maxRows": 9,
|
||||
"overflow": "CUT",
|
||||
"fontSize": 7,
|
||||
"border": true,
|
||||
"drawHeader": true,
|
||||
"repeatHeader": true,
|
||||
"padding": 1.5,
|
||||
"headerBackground": "#EEEEEE",
|
||||
"headerColor": "#000000",
|
||||
"gridColor": "#000000",
|
||||
"columns": [
|
||||
{
|
||||
"title": "Pos.",
|
||||
"field": "pos",
|
||||
"width": 12,
|
||||
"align": "CENTER"
|
||||
},
|
||||
{
|
||||
"title": "Artikel",
|
||||
"field": "partNumber",
|
||||
"width": 29,
|
||||
"align": "LEFT"
|
||||
},
|
||||
{
|
||||
"title": "Bezeichnung",
|
||||
"field": "description",
|
||||
"width": 47,
|
||||
"align": "LEFT",
|
||||
"multiline": true
|
||||
},
|
||||
{
|
||||
"title": "Menge",
|
||||
"field": "quantity",
|
||||
"width": 16,
|
||||
"align": "RIGHT"
|
||||
},
|
||||
{
|
||||
"title": "SNR",
|
||||
"field": "serialNumber",
|
||||
"width": 31,
|
||||
"align": "LEFT"
|
||||
},
|
||||
{
|
||||
"title": "Barcode",
|
||||
"type": "BARCODE",
|
||||
"barcodeType": "CODE_128",
|
||||
"field": "serialNumber",
|
||||
"width": 39
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,52 @@
|
||||
{
|
||||
"printerAlias": "OFFICE_A4",
|
||||
"templateName": "lieferschein_pdf_table",
|
||||
"renderMode": "PDF_TEMPLATE",
|
||||
"copies": 1,
|
||||
"pdfDpi": 300,
|
||||
"includeRenderedBase64": false,
|
||||
"data": {
|
||||
"deliveryNumber": "LS-2026-0001",
|
||||
"deliveryDate": "08.06.2026",
|
||||
"customer": {
|
||||
"name": "Muster GmbH"
|
||||
},
|
||||
"items": [
|
||||
{
|
||||
"pos": "1",
|
||||
"partNumber": "A123456",
|
||||
"description": "Gehäuse Oberteil",
|
||||
"quantity": "10",
|
||||
"serialNumber": "SNR000001"
|
||||
},
|
||||
{
|
||||
"pos": "2",
|
||||
"partNumber": "B987654",
|
||||
"description": "Elektronikmodul",
|
||||
"quantity": "5",
|
||||
"serialNumber": "SNR000002"
|
||||
},
|
||||
{
|
||||
"pos": "3",
|
||||
"partNumber": "C555111",
|
||||
"description": "Dichtungssatz EPDM",
|
||||
"quantity": "20",
|
||||
"serialNumber": "SNR000003"
|
||||
},
|
||||
{
|
||||
"pos": "4",
|
||||
"partNumber": "D444222",
|
||||
"description": "Sensorleitung vorkonfektioniert",
|
||||
"quantity": "7",
|
||||
"serialNumber": "SNR000004"
|
||||
},
|
||||
{
|
||||
"pos": "5",
|
||||
"partNumber": "E777888",
|
||||
"description": "Befestigungsclip",
|
||||
"quantity": "30",
|
||||
"serialNumber": "SNR000005"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,44 @@
|
||||
{
|
||||
"deliveryNumber": "LS-2026-0001",
|
||||
"deliveryDate": "08.06.2026",
|
||||
"customer": {
|
||||
"name": "Muster GmbH"
|
||||
},
|
||||
"items": [
|
||||
{
|
||||
"pos": "1",
|
||||
"partNumber": "A123456",
|
||||
"description": "Gehäuse Oberteil",
|
||||
"quantity": "10",
|
||||
"serialNumber": "SNR000001"
|
||||
},
|
||||
{
|
||||
"pos": "2",
|
||||
"partNumber": "B987654",
|
||||
"description": "Elektronikmodul",
|
||||
"quantity": "5",
|
||||
"serialNumber": "SNR000002"
|
||||
},
|
||||
{
|
||||
"pos": "3",
|
||||
"partNumber": "C555111",
|
||||
"description": "Dichtungssatz EPDM",
|
||||
"quantity": "20",
|
||||
"serialNumber": "SNR000003"
|
||||
},
|
||||
{
|
||||
"pos": "4",
|
||||
"partNumber": "D444222",
|
||||
"description": "Sensorleitung vorkonfektioniert",
|
||||
"quantity": "7",
|
||||
"serialNumber": "SNR000004"
|
||||
},
|
||||
{
|
||||
"pos": "5",
|
||||
"partNumber": "E777888",
|
||||
"description": "Befestigungsclip",
|
||||
"quantity": "30",
|
||||
"serialNumber": "SNR000005"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,23 @@
|
||||
{
|
||||
"name": "lieferschein_pdf_table",
|
||||
"documentName": "Lieferschein PDF Tabelle",
|
||||
"sourceFileName": "lieferschein_pdf_table_template.pdf",
|
||||
"description": "PDF_TEMPLATE Beispiel mit dynamischer Tabelle, Barcode-Spalte und QR-Code",
|
||||
"contentType": "application/pdf",
|
||||
"templateType": "PDF_TEMPLATE",
|
||||
"encoding": "UTF-8",
|
||||
"coordinateUnit": "mm",
|
||||
"coordinateOrigin": "TOP_LEFT",
|
||||
"storageMode": "FOLDER",
|
||||
"storageVersion": 2,
|
||||
"templateDirectory": "templates/lieferschein_pdf_table",
|
||||
"documentFile": "document.pdf",
|
||||
"metadataFile": "template.json",
|
||||
"fieldsFile": "fields.json",
|
||||
"sampleDataFile": "sample-data.json",
|
||||
"printRequestFile": "print-request.json",
|
||||
"hasDocumentFile": true,
|
||||
"hasFieldsFile": true,
|
||||
"hasSampleDataFile": true,
|
||||
"hasPrintRequestFile": true
|
||||
}
|
||||
Reference in New Issue
Block a user