IrishEgie / qrsquad

This is a simple QR Scanner Software paired with an OCR device. Right now this is just the barebones front-end
0 stars 0 forks source link

Export all Tickets recorded from Server #12

Open Adr-hyng opened 6 months ago

Adr-hyng commented 6 months ago

Export Button is found at Quick Help Menu Drawer

Adr-hyng commented 6 months ago

Output should look like:

{
    'exported_tickets': [
        {
            "id": 0,
            "uid": f6333a7b-9cb3-496f-a13f-861e51961884,
            "check_in": "2023-12-21T10:45:30.000Z",
            "check_out": "2023-12-21T10:45:30.000Z",
            "history": [
                {
                    "date_used": "2023-12-21T10:45:30.000Z",
                    "type": 0,
                    "time_used": "2023-12-21T10:45:30.000Z"
                },
                {
                    "date_used": "2023-12-21T10:45:30.000Z",
                    "type": 1,
                    "time_used": "2023-12-21T10:45:30.000Z"
                },
                {
                    "date_used": "2023-12-21T10:45:30.000Z",
                    "type": 0,
                    "time_used": "2023-12-21T10:45:30.000Z"
                },
                {
                    "date_used": "2023-12-21T10:45:30.000Z",
                    "type": 1,
                    "time_used": "2023-12-21T10:45:30.000Z"
                },
                {
                    "date_used": "2023-12-21T10:45:30.000Z",
                    "type": 0,
                    "time_used": "2023-12-21T10:45:30.000Z"
                }
            ]
        },
        {
            "id": 1,
            "uid": f6333a7b-9cb3-496f-a13f-861e51961884,
            "check_in": "2023-12-21T10:45:30.000Z",
            "check_out": "2023-12-21T10:45:30.000Z",
            "history": [
                {
                    "date_used": "2023-12-21T10:45:30.000Z",
                    "type": 0,
                    "time_used": "2023-12-21T10:45:30.000Z"
                },
                {
                    "date_used": "2023-12-21T10:45:30.000Z",
                    "type": 1,
                    "time_used": "2023-12-21T10:45:30.000Z"
                },
                {
                    "date_used": "2023-12-21T10:45:30.000Z",
                    "type": 0,
                    "time_used": "2023-12-21T10:45:30.000Z"
                },
                {
                    "date_used": "2023-12-21T10:45:30.000Z",
                    "type": 1,
                    "time_used": "2023-12-21T10:45:30.000Z"
                },
                {
                    "date_used": "2023-12-21T10:45:30.000Z",
                    "type": 0,
                    "time_used": "2023-12-21T10:45:30.000Z"
                }
            ]
        },
        {
            "id": 2,
            "uid": f6333a7b-9cb3-496f-a13f-861e51961884,
            "check_in": "2023-12-21T10:45:30.000Z",
            "check_out": "2023-12-21T10:45:30.000Z",
            "history": [
                {
                    "date_used": "2023-12-21T10:45:30.000Z",
                    "type": 0,
                    "time_used": "2023-12-21T10:45:30.000Z"
                },
                {
                    "date_used": "2023-12-21T10:45:30.000Z",
                    "type": 1,
                    "time_used": "2023-12-21T10:45:30.000Z"
                },
                {
                    "date_used": "2023-12-21T10:45:30.000Z",
                    "type": 0,
                    "time_used": "2023-12-21T10:45:30.000Z"
                },
                {
                    "date_used": "2023-12-21T10:45:30.000Z",
                    "type": 1,
                    "time_used": "2023-12-21T10:45:30.000Z"
                },
                {
                    "date_used": "2023-12-21T10:45:30.000Z",
                    "type": 0,
                    "time_used": "2023-12-21T10:45:30.000Z"
                }
            ]
        },
    ]
}