Initial commit

This commit is contained in:
Anton Stubenbord
2022-10-30 14:15:37 +01:00
commit cb797df7d2
272 changed files with 16278 additions and 0 deletions

View File

@@ -0,0 +1,28 @@
[{
"id": 1,
"slug": "correspondent1",
"name": "Correspondent 1",
"match": "correspondent1",
"matching_algorithm": 1,
"is_insensitive": true,
"document_count": 3
},
{
"id": 2,
"slug": "correspondent2",
"name": "Correspondent 2",
"match": "correspondent2",
"matching_algorithm": 1,
"is_insensitive": true,
"document_count": 3
},
{
"id": 3,
"slug": "correspondent3",
"name": "Correspondent 3",
"match": "correspondent3",
"matching_algorithm": 1,
"is_insensitive": true,
"document_count": 3
}
]

View File

@@ -0,0 +1,47 @@
[
{
"id": 1,
"slug": "rechnung",
"name": "Rechnung",
"match": "rechnung",
"matching_algorithm": 1,
"is_insensitive": true,
"document_count": 5
},
{
"id": 2,
"slug": "vertrag",
"name": "Vertrag",
"match": "vertrag",
"matching_algorithm": 1,
"is_insensitive": true,
"document_count": 1
},
{
"id": 3,
"slug": "finanzunterlagen",
"name": "Finanzunterlagen",
"match": "finanz",
"matching_algorithm": 1,
"is_insensitive": true,
"document_count": 2
},
{
"id": 4,
"slug": "lieferschein",
"name": "Lieferschein",
"match": "lieferschein",
"matching_algorithm": 1,
"is_insensitive": true,
"document_count": 1
},
{
"id": 5,
"slug": "paper",
"name": "Paper",
"match": "paper",
"matching_algorithm": 1,
"is_insensitive": true,
"document_count": 1
}
]

161
test/fixtures/documents/documents.json vendored Normal file
View File

@@ -0,0 +1,161 @@
[{
"id": 1,
"correspondent": 1,
"document_type": 1,
"storage_path": null,
"title": "Rechnung 1 title",
"content": "Rechnung 1 content",
"tags": [],
"created": "2020-01-15T00:00:00Z",
"created_date": "2020-01-15",
"modified": "2020-01-17T00:00:00Z",
"added": "2020-01-16T17:25:00Z",
"archive_serial_number": null,
"original_file_name": "document_1.pdf",
"archived_file_name": "document_1.pdf"
},
{
"id": 2,
"correspondent": 1,
"document_type": 1,
"storage_path": null,
"title": "Rechnung 1 title",
"content": "Rechnung 1 content",
"tags": [],
"created": "2020-01-15T00:00:00Z",
"created_date": "2020-01-15",
"modified": "2020-01-17T00:00:00Z",
"added": "2020-01-16T17:25:00Z",
"archive_serial_number": null,
"original_file_name": "document_1.pdf",
"archived_file_name": "document_1.pdf"
},
{
"id": 3,
"correspondent": 1,
"document_type": 1,
"storage_path": null,
"title": "Rechnung 1 title",
"content": "Rechnung 1 content",
"tags": [],
"created": "2020-01-15T00:00:00Z",
"created_date": "2020-01-15",
"modified": "2020-01-17T00:00:00Z",
"added": "2020-01-16T17:25:00Z",
"archive_serial_number": null,
"original_file_name": "document_1.pdf",
"archived_file_name": "document_1.pdf"
},
{
"id": 4,
"correspondent": 1,
"document_type": 1,
"storage_path": null,
"title": "Rechnung 1 title",
"content": "Rechnung 1 content",
"tags": [],
"created": "2020-01-15T00:00:00Z",
"created_date": "2020-01-15",
"modified": "2020-01-17T00:00:00Z",
"added": "2020-01-16T17:25:00Z",
"archive_serial_number": null,
"original_file_name": "document_1.pdf",
"archived_file_name": "document_1.pdf"
},
{
"id": 5,
"correspondent": 1,
"document_type": 1,
"storage_path": null,
"title": "Rechnung 1 title",
"content": "Rechnung 1 content",
"tags": [],
"created": "2020-01-15T00:00:00Z",
"created_date": "2020-01-15",
"modified": "2020-01-17T00:00:00Z",
"added": "2020-01-16T17:25:00Z",
"archive_serial_number": null,
"original_file_name": "document_1.pdf",
"archived_file_name": "document_1.pdf"
},
{
"id": 6,
"correspondent": 1,
"document_type": 2,
"storage_path": null,
"title": "Rechnung 1 title",
"content": "Rechnung 1 content",
"tags": [],
"created": "2020-01-15T00:00:00Z",
"created_date": "2020-01-15",
"modified": "2020-01-17T00:00:00Z",
"added": "2020-01-16T17:25:00Z",
"archive_serial_number": null,
"original_file_name": "document_1.pdf",
"archived_file_name": "document_1.pdf"
},
{
"id": 7,
"correspondent": 1,
"document_type": 3,
"storage_path": null,
"title": "Rechnung 1 title",
"content": "Rechnung 1 content",
"tags": [],
"created": "2020-01-15T00:00:00Z",
"created_date": "2020-01-15",
"modified": "2020-01-17T00:00:00Z",
"added": "2020-01-16T17:25:00Z",
"archive_serial_number": null,
"original_file_name": "document_1.pdf",
"archived_file_name": "document_1.pdf"
},
{
"id": 8,
"correspondent": 1,
"document_type": 4,
"storage_path": null,
"title": "Rechnung 1 title",
"content": "Rechnung 1 content",
"tags": [],
"created": "2020-01-15T00:00:00Z",
"created_date": "2020-01-15",
"modified": "2020-01-17T00:00:00Z",
"added": "2020-01-16T17:25:00Z",
"archive_serial_number": null,
"original_file_name": "document_1.pdf",
"archived_file_name": "document_1.pdf"
},
{
"id": 9,
"correspondent": 1,
"document_type": 5,
"storage_path": null,
"title": "Rechnung 1 title",
"content": "Rechnung 1 content",
"tags": [],
"created": "2020-01-15T00:00:00Z",
"created_date": "2020-01-15",
"modified": "2020-01-17T00:00:00Z",
"added": "2020-01-16T17:25:00Z",
"archive_serial_number": null,
"original_file_name": "document_1.pdf",
"archived_file_name": "document_1.pdf"
},
{
"id": 10,
"correspondent": 1,
"document_type": 3,
"storage_path": null,
"title": "Rechnung 1 title",
"content": "Rechnung 1 content",
"tags": [],
"created": "2020-01-15T00:00:00Z",
"created_date": "2020-01-15",
"modified": "2020-01-17T00:00:00Z",
"added": "2020-01-16T17:25:00Z",
"archive_serial_number": null,
"original_file_name": "document_1.pdf",
"archived_file_name": "document_1.pdf"
}
]

View File

Binary file not shown.

After

Width:  |  Height:  |  Size: 69 KiB

45
test/fixtures/tags/tags.json vendored Normal file
View File

@@ -0,0 +1,45 @@
[{
"id": 1,
"slug": "bar",
"name": "Bar",
"colour": 1,
"match": "bar",
"matching_algorithm": 1,
"is_insensitive": true,
"is_inbox_tag": false,
"document_count": 0
},
{
"id": 2,
"slug": "baz",
"name": "Baz",
"colour": 1,
"match": "baz",
"matching_algorithm": 1,
"is_insensitive": true,
"is_inbox_tag": false,
"document_count": 0
},
{
"id": 3,
"slug": "foo",
"name": "Foo",
"colour": 1,
"match": "foo",
"matching_algorithm": 1,
"is_insensitive": true,
"is_inbox_tag": false,
"document_count": 0
},
{
"id": 4,
"slug": "buzz",
"name": "Buzz",
"colour": 1,
"match": "buzz",
"matching_algorithm": 1,
"is_insensitive": true,
"is_inbox_tag": false,
"document_count": 0
}
]