{
  "version": "2.6",
  "children": [
    {
      "type": "frame",
      "id": "ReceiptScreen",
      "name": "Payment/Receipt",
      "reusable": true,
      "width": 320,
      "height": 540,
      "fill": "#FFFFFF",
      "layout": "vertical",
      "clip": true,
      "children": [
        {
          "type": "frame",
          "id": "ReceiptHeader",
          "width": "fill_container",
          "padding": [24, 20],
          "layout": "vertical",
          "gap": 8,
          "alignItems": "center",
          "children": [
            {"type": "frame", "id": "ReceiptLogo", "width": 48, "height": 48, "fill": "#FF5C00", "cornerRadius": 12, "justifyContent": "center", "alignItems": "center", "children": [
              {"type": "text", "id": "ReceiptLogoText", "fill": "#FFFFFF", "content": "G", "fontFamily": "Roboto", "fontSize": 24, "fontWeight": "700"}
            ]},
            {"type": "text", "id": "ReceiptStoreName", "fill": "#111111", "content": "GOODGO RESTAURANT", "fontFamily": "Roboto", "fontSize": 16, "fontWeight": "700"},
            {"type": "text", "id": "ReceiptAddress", "fill": "#666666", "content": "123 Nguyễn Huệ, Q.1, TP.HCM", "fontFamily": "Roboto", "fontSize": 11, "fontWeight": "normal"},
            {"type": "text", "id": "ReceiptPhone", "fill": "#666666", "content": "Tel: 028 1234 5678", "fontFamily": "Roboto", "fontSize": 11, "fontWeight": "normal"}
          ]
        },
        {
          "type": "frame",
          "id": "ReceiptDivider1",
          "width": "fill_container",
          "height": 1,
          "fill": "#E5E5E5",
          "children": []
        },
        {
          "type": "frame",
          "id": "ReceiptInfo",
          "width": "fill_container",
          "padding": [12, 20],
          "layout": "vertical",
          "gap": 6,
          "children": [
            {"type": "frame", "id": "ReceiptInfoRow1", "width": "fill_container", "justifyContent": "space_between", "children": [
              {"type": "text", "id": "ReceiptOrderLabel", "fill": "#666666", "content": "Hóa đơn:", "fontFamily": "Roboto", "fontSize": 11, "fontWeight": "normal"},
              {"type": "text", "id": "ReceiptOrderValue", "fill": "#111111", "content": "#0089", "fontFamily": "Roboto", "fontSize": 11, "fontWeight": "600"}
            ]},
            {"type": "frame", "id": "ReceiptInfoRow2", "width": "fill_container", "justifyContent": "space_between", "children": [
              {"type": "text", "id": "ReceiptDateLabel", "fill": "#666666", "content": "Ngày:", "fontFamily": "Roboto", "fontSize": 11, "fontWeight": "normal"},
              {"type": "text", "id": "ReceiptDateValue", "fill": "#111111", "content": "06/02/2026 00:05", "fontFamily": "Roboto", "fontSize": 11, "fontWeight": "normal"}
            ]},
            {"type": "frame", "id": "ReceiptInfoRow3", "width": "fill_container", "justifyContent": "space_between", "children": [
              {"type": "text", "id": "ReceiptTableLabel", "fill": "#666666", "content": "Bàn:", "fontFamily": "Roboto", "fontSize": 11, "fontWeight": "normal"},
              {"type": "text", "id": "ReceiptTableValue", "fill": "#111111", "content": "01", "fontFamily": "Roboto", "fontSize": 11, "fontWeight": "normal"}
            ]},
            {"type": "frame", "id": "ReceiptInfoRow4", "width": "fill_container", "justifyContent": "space_between", "children": [
              {"type": "text", "id": "ReceiptCashierLabel", "fill": "#666666", "content": "Thu ngân:", "fontFamily": "Roboto", "fontSize": 11, "fontWeight": "normal"},
              {"type": "text", "id": "ReceiptCashierValue", "fill": "#111111", "content": "Minh Tuấn", "fontFamily": "Roboto", "fontSize": 11, "fontWeight": "normal"}
            ]}
          ]
        },
        {
          "type": "frame",
          "id": "ReceiptDivider2",
          "width": "fill_container",
          "height": 1,
          "fill": "#E5E5E5",
          "children": []
        },
        {
          "type": "frame",
          "id": "ReceiptItems",
          "width": "fill_container",
          "padding": [12, 20],
          "layout": "vertical",
          "gap": 8,
          "children": [
            {"type": "frame", "id": "ReceiptItem1", "width": "fill_container", "justifyContent": "space_between", "children": [
              {"type": "frame", "id": "ReceiptItem1Left", "gap": 8, "children": [
                {"type": "text", "id": "ReceiptItem1Qty", "fill": "#111111", "content": "1x", "fontFamily": "Roboto", "fontSize": 11, "fontWeight": "normal"},
                {"type": "text", "id": "ReceiptItem1Name", "fill": "#111111", "content": "Bò Lúc Lắc", "fontFamily": "Roboto", "fontSize": 11, "fontWeight": "normal"}
              ]},
              {"type": "text", "id": "ReceiptItem1Price", "fill": "#111111", "content": "185,000", "fontFamily": "Roboto", "fontSize": 11, "fontWeight": "normal"}
            ]},
            {"type": "frame", "id": "ReceiptItem2", "width": "fill_container", "justifyContent": "space_between", "children": [
              {"type": "frame", "id": "ReceiptItem2Left", "gap": 8, "children": [
                {"type": "text", "id": "ReceiptItem2Qty", "fill": "#111111", "content": "1x", "fontFamily": "Roboto", "fontSize": 11, "fontWeight": "normal"},
                {"type": "text", "id": "ReceiptItem2Name", "fill": "#111111", "content": "Gà Nướng Mật Ong", "fontFamily": "Roboto", "fontSize": 11, "fontWeight": "normal"}
              ]},
              {"type": "text", "id": "ReceiptItem2Price", "fill": "#111111", "content": "165,000", "fontFamily": "Roboto", "fontSize": 11, "fontWeight": "normal"}
            ]},
            {"type": "frame", "id": "ReceiptItem3", "width": "fill_container", "justifyContent": "space_between", "children": [
              {"type": "frame", "id": "ReceiptItem3Left", "gap": 8, "children": [
                {"type": "text", "id": "ReceiptItem3Qty", "fill": "#111111", "content": "2x", "fontFamily": "Roboto", "fontSize": 11, "fontWeight": "normal"},
                {"type": "text", "id": "ReceiptItem3Name", "fill": "#111111", "content": "Cơm Trắng", "fontFamily": "Roboto", "fontSize": 11, "fontWeight": "normal"}
              ]},
              {"type": "text", "id": "ReceiptItem3Price", "fill": "#111111", "content": "20,000", "fontFamily": "Roboto", "fontSize": 11, "fontWeight": "normal"}
            ]},
            {"type": "frame", "id": "ReceiptItem4", "width": "fill_container", "justifyContent": "space_between", "children": [
              {"type": "frame", "id": "ReceiptItem4Left", "gap": 8, "children": [
                {"type": "text", "id": "ReceiptItem4Qty", "fill": "#111111", "content": "2x", "fontFamily": "Roboto", "fontSize": 11, "fontWeight": "normal"},
                {"type": "text", "id": "ReceiptItem4Name", "fill": "#111111", "content": "Tiger", "fontFamily": "Roboto", "fontSize": 11, "fontWeight": "normal"}
              ]},
              {"type": "text", "id": "ReceiptItem4Price", "fill": "#111111", "content": "70,000", "fontFamily": "Roboto", "fontSize": 11, "fontWeight": "normal"}
            ]},
            {"type": "frame", "id": "ReceiptItem5", "width": "fill_container", "justifyContent": "space_between", "children": [
              {"type": "frame", "id": "ReceiptItem5Left", "gap": 8, "children": [
                {"type": "text", "id": "ReceiptItem5Qty", "fill": "#111111", "content": "1x", "fontFamily": "Roboto", "fontSize": 11, "fontWeight": "normal"},
                {"type": "text", "id": "ReceiptItem5Name", "fill": "#111111", "content": "Nước Suối", "fontFamily": "Roboto", "fontSize": 11, "fontWeight": "normal"}
              ]},
              {"type": "text", "id": "ReceiptItem5Price", "fill": "#111111", "content": "15,000", "fontFamily": "Roboto", "fontSize": 11, "fontWeight": "normal"}
            ]}
          ]
        },
        {
          "type": "frame",
          "id": "ReceiptDivider3",
          "width": "fill_container",
          "height": 1,
          "fill": "#E5E5E5",
          "children": []
        },
        {
          "type": "frame",
          "id": "ReceiptTotals",
          "width": "fill_container",
          "padding": [12, 20],
          "layout": "vertical",
          "gap": 6,
          "children": [
            {"type": "frame", "id": "ReceiptSubtotal", "width": "fill_container", "justifyContent": "space_between", "children": [
              {"type": "text", "id": "ReceiptSubtotalLabel", "fill": "#666666", "content": "Tạm tính:", "fontFamily": "Roboto", "fontSize": 11, "fontWeight": "normal"},
              {"type": "text", "id": "ReceiptSubtotalValue", "fill": "#111111", "content": "455,000", "fontFamily": "Roboto", "fontSize": 11, "fontWeight": "normal"}
            ]},
            {"type": "frame", "id": "ReceiptVAT", "width": "fill_container", "justifyContent": "space_between", "children": [
              {"type": "text", "id": "ReceiptVATLabel", "fill": "#666666", "content": "VAT 10%:", "fontFamily": "Roboto", "fontSize": 11, "fontWeight": "normal"},
              {"type": "text", "id": "ReceiptVATValue", "fill": "#111111", "content": "45,500", "fontFamily": "Roboto", "fontSize": 11, "fontWeight": "normal"}
            ]},
            {"type": "frame", "id": "ReceiptService", "width": "fill_container", "justifyContent": "space_between", "children": [
              {"type": "text", "id": "ReceiptServiceLabel", "fill": "#666666", "content": "Phí DV 5%:", "fontFamily": "Roboto", "fontSize": 11, "fontWeight": "normal"},
              {"type": "text", "id": "ReceiptServiceValue", "fill": "#111111", "content": "29,750", "fontFamily": "Roboto", "fontSize": 11, "fontWeight": "normal"}
            ]},
            {"type": "frame", "id": "ReceiptTotal", "width": "fill_container", "justifyContent": "space_between", "children": [
              {"type": "text", "id": "ReceiptTotalLabel", "fill": "#111111", "content": "TỔNG CỘNG:", "fontFamily": "Roboto", "fontSize": 14, "fontWeight": "700"},
              {"type": "text", "id": "ReceiptTotalValue", "fill": "#111111", "content": "530,250₫", "fontFamily": "Roboto", "fontSize": 14, "fontWeight": "700"}
            ]}
          ]
        },
        {
          "type": "frame",
          "id": "ReceiptDivider4",
          "width": "fill_container",
          "height": 1,
          "fill": "#E5E5E5",
          "children": []
        },
        {
          "type": "frame",
          "id": "ReceiptPayment",
          "width": "fill_container",
          "padding": [12, 20],
          "layout": "vertical",
          "gap": 6,
          "children": [
            {"type": "frame", "id": "ReceiptPaid", "width": "fill_container", "justifyContent": "space_between", "children": [
              {"type": "text", "id": "ReceiptPaidLabel", "fill": "#666666", "content": "Tiền mặt:", "fontFamily": "Roboto", "fontSize": 11, "fontWeight": "normal"},
              {"type": "text", "id": "ReceiptPaidValue", "fill": "#111111", "content": "600,000", "fontFamily": "Roboto", "fontSize": 11, "fontWeight": "normal"}
            ]},
            {"type": "frame", "id": "ReceiptChange", "width": "fill_container", "justifyContent": "space_between", "children": [
              {"type": "text", "id": "ReceiptChangeLabel", "fill": "#666666", "content": "Tiền thối:", "fontFamily": "Roboto", "fontSize": 11, "fontWeight": "normal"},
              {"type": "text", "id": "ReceiptChangeValue", "fill": "#111111", "content": "69,750", "fontFamily": "Roboto", "fontSize": 11, "fontWeight": "normal"}
            ]}
          ]
        },
        {
          "type": "frame",
          "id": "ReceiptFooter",
          "width": "fill_container",
          "padding": [16, 20],
          "layout": "vertical",
          "gap": 8,
          "alignItems": "center",
          "children": [
            {"type": "text", "id": "ReceiptThanks", "fill": "#111111", "content": "Cảm ơn quý khách!", "fontFamily": "Roboto", "fontSize": 12, "fontWeight": "600"},
            {"type": "text", "id": "ReceiptWeb", "fill": "#666666", "content": "www.goodgo.vn", "fontFamily": "Roboto", "fontSize": 10, "fontWeight": "normal"}
          ]
        }
      ]
    }
  ],
  "variables": {}
}
