{
    "key": "group_pctech_price_sheet",
    "title": "PCTech — Bảng Giá (Price Sheet)",
    "fields": [
        {
            "key": "field_pps_tab_general",
            "label": "Thông Tin Chung",
            "name": "",
            "aria-label": "",
            "type": "tab",
            "instructions": "",
            "required": 0,
            "conditional_logic": false,
            "wrapper": {
                "width": "",
                "class": "",
                "id": ""
            },
            "placement": "top",
            "endpoint": 0,
            "selected": 0
        },
        {
            "key": "field_pps_price_code",
            "label": "Mã bảng giá",
            "name": "price_code",
            "aria-label": "",
            "type": "text",
            "instructions": "Ví dụ: PC-SV002-PRICE. Dùng để sinh Serial\/Barcode.",
            "required": 1,
            "conditional_logic": false,
            "wrapper": {
                "width": "",
                "class": "",
                "id": ""
            },
            "default_value": "",
            "maxlength": "",
            "placeholder": "",
            "prepend": "",
            "append": ""
        },
        {
            "key": "field_pps_version",
            "label": "Phiên bản",
            "name": "price_version",
            "aria-label": "",
            "type": "text",
            "instructions": "Ví dụ: V2.1",
            "required": 1,
            "conditional_logic": false,
            "wrapper": {
                "width": "",
                "class": "",
                "id": ""
            },
            "default_value": "V1.0",
            "maxlength": "",
            "placeholder": "",
            "prepend": "",
            "append": ""
        },
        {
            "key": "field_pps_status",
            "label": "Trạng thái",
            "name": "price_status",
            "aria-label": "",
            "type": "select",
            "instructions": "",
            "required": 1,
            "conditional_logic": false,
            "wrapper": {
                "width": "",
                "class": "",
                "id": ""
            },
            "choices": {
                "draft": "Nháp",
                "active": "Đang áp dụng",
                "expired": "Hết hiệu lực"
            },
            "default_value": "draft",
            "ui": 1,
            "multiple": 0,
            "allow_null": 0,
            "ajax": 0,
            "placeholder": "",
            "return_format": "value",
            "create_options": 0,
            "save_options": 0
        },
        {
            "key": "field_pps_publish_date",
            "label": "Ngày cập nhật",
            "name": "price_publish_date",
            "aria-label": "",
            "type": "date_picker",
            "instructions": "",
            "required": 1,
            "conditional_logic": false,
            "wrapper": {
                "width": "",
                "class": "",
                "id": ""
            },
            "display_format": "d\/m\/Y",
            "return_format": "d\/m\/Y",
            "first_day": 1,
            "default_to_current_date": 0
        },
        {
            "key": "field_pps_effective_date",
            "label": "Hiệu lực từ",
            "name": "price_effective_date",
            "aria-label": "",
            "type": "date_picker",
            "instructions": "",
            "required": false,
            "conditional_logic": false,
            "wrapper": {
                "width": "",
                "class": "",
                "id": ""
            },
            "display_format": "d\/m\/Y",
            "return_format": "d\/m\/Y",
            "first_day": 1,
            "default_to_current_date": 0
        },
        {
            "key": "field_pps_expire_date",
            "label": "Hiệu lực đến",
            "name": "price_expire_date",
            "aria-label": "",
            "type": "date_picker",
            "instructions": "Dùng để hiển thị banner \"Giá áp dụng đến hết ngày...\" và tự động đổi trạng thái Hết hiệu lực (Sprint 5).",
            "required": false,
            "conditional_logic": false,
            "wrapper": {
                "width": "",
                "class": "",
                "id": ""
            },
            "display_format": "d\/m\/Y",
            "return_format": "d\/m\/Y",
            "first_day": 1,
            "default_to_current_date": 0
        },
        {
            "key": "field_pps_approved_by",
            "label": "Người\/Bộ phận duyệt",
            "name": "price_approved_by",
            "aria-label": "",
            "type": "text",
            "instructions": "",
            "required": false,
            "conditional_logic": false,
            "wrapper": {
                "width": "",
                "class": "",
                "id": ""
            },
            "default_value": "PCTECH CO., LTD",
            "maxlength": "",
            "placeholder": "",
            "prepend": "",
            "append": ""
        },
        {
            "key": "field_pps_vat_included",
            "label": "Có xuất hóa đơn VAT",
            "name": "price_vat_included",
            "aria-label": "",
            "type": "true_false",
            "instructions": "",
            "required": false,
            "conditional_logic": false,
            "wrapper": {
                "width": "",
                "class": "",
                "id": ""
            },
            "default_value": 1,
            "ui": 1,
            "message": "",
            "ui_on_text": "",
            "ui_off_text": ""
        },
        {
            "key": "field_pps_no_surprise_note",
            "label": "Ghi chú \"không phát sinh\"",
            "name": "price_no_surprise_note",
            "aria-label": "",
            "type": "textarea",
            "instructions": "Hiển thị ở banner cảnh báo ngay trên bảng giá.",
            "required": false,
            "conditional_logic": false,
            "wrapper": {
                "width": "",
                "class": "",
                "id": ""
            },
            "rows": 2,
            "default_value": "Giá có thể thay đổi tùy tình trạng máy và linh kiện thực tế. Mọi phát sinh ngoài bảng giá đều được báo và chỉ tính phí khi khách hàng xác nhận trước.",
            "new_lines": "",
            "maxlength": "",
            "placeholder": ""
        },
        {
            "key": "field_pps_tab_theme",
            "label": "Giao Diện (Theme)",
            "name": "",
            "aria-label": "",
            "type": "tab",
            "instructions": "",
            "required": 0,
            "conditional_logic": false,
            "wrapper": {
                "width": "",
                "class": "",
                "id": ""
            },
            "placement": "top",
            "endpoint": 0,
            "selected": 0
        },
        {
            "key": "field_pps_theme_source",
            "label": "Nguồn màu giao diện",
            "name": "price_theme_source",
            "aria-label": "",
            "type": "true_false",
            "instructions": "TẠM THỜI: đang chờ xác nhận slug taxonomy \"Loại Dịch Vụ\" có áp dụng được cho Page hay không. Nếu KHÔNG áp dụng được, tắt tùy chọn này và chọn màu thủ công bên dưới.",
            "required": false,
            "conditional_logic": false,
            "wrapper": {
                "width": "",
                "class": "",
                "id": ""
            },
            "message": "Tự động lấy theo taxonomy \"Loại Dịch Vụ\" của trang (khuyến nghị)",
            "default_value": 1,
            "ui": 1,
            "ui_on_text": "",
            "ui_off_text": ""
        },
        {
            "key": "field_pps_theme_manual",
            "label": "Chọn giao diện thủ công",
            "name": "price_theme_manual",
            "aria-label": "",
            "type": "select",
            "instructions": "",
            "required": false,
            "conditional_logic": [
                [
                    {
                        "field": "field_pps_theme_source",
                        "operator": "==",
                        "value": "0"
                    }
                ]
            ],
            "wrapper": {
                "width": "",
                "class": "",
                "id": ""
            },
            "choices": {
                "navy": "Navy — Managed IT \/ Mặc định",
                "blue": "Xanh dương — Computer Services",
                "orange": "Cam — Printer Services",
                "purple": "Tím — AI Solutions",
                "red": "Đỏ — Data Recovery",
                "green": "Xanh lá — Network\/Camera"
            },
            "default_value": "navy",
            "ui": 1,
            "multiple": 0,
            "allow_null": 0,
            "ajax": 0,
            "placeholder": "",
            "return_format": "value",
            "create_options": 0,
            "save_options": 0
        },
        {
            "key": "field_pps_tab_table",
            "label": "Bảng Giá",
            "name": "",
            "aria-label": "",
            "type": "tab",
            "instructions": "",
            "required": 0,
            "conditional_logic": false,
            "wrapper": {
                "width": "",
                "class": "",
                "id": ""
            },
            "placement": "top",
            "endpoint": 0,
            "selected": 0
        },
        {
            "key": "field_pps_price_table",
            "label": "Danh sách dịch vụ",
            "name": "price_table",
            "aria-label": "",
            "type": "repeater",
            "instructions": "",
            "required": 1,
            "conditional_logic": false,
            "wrapper": {
                "width": "",
                "class": "",
                "id": ""
            },
            "layout": "table",
            "button_label": "Thêm dòng dịch vụ",
            "min": 0,
            "max": 0,
            "rows_per_page": 20,
            "collapsed": "",
            "sub_fields": [
                {
                    "key": "field_pps_row_name",
                    "label": "Tên dịch vụ",
                    "name": "service_name",
                    "aria-label": "",
                    "type": "text",
                    "instructions": "",
                    "required": 1,
                    "conditional_logic": false,
                    "wrapper": {
                        "width": "28",
                        "class": "",
                        "id": ""
                    },
                    "default_value": "",
                    "maxlength": "",
                    "placeholder": "",
                    "prepend": "",
                    "append": "",
                    "parent_repeater": "field_pps_price_table"
                },
                {
                    "key": "field_pps_row_desc",
                    "label": "Mô tả ngắn",
                    "name": "service_desc",
                    "aria-label": "",
                    "type": "text",
                    "instructions": "",
                    "required": false,
                    "conditional_logic": false,
                    "wrapper": {
                        "width": "28",
                        "class": "",
                        "id": ""
                    },
                    "default_value": "",
                    "maxlength": "",
                    "placeholder": "",
                    "prepend": "",
                    "append": "",
                    "parent_repeater": "field_pps_price_table"
                },
                {
                    "key": "field_pps_row_unit",
                    "label": "ĐVT",
                    "name": "unit",
                    "aria-label": "",
                    "type": "text",
                    "instructions": "",
                    "required": false,
                    "conditional_logic": false,
                    "wrapper": {
                        "width": "10",
                        "class": "",
                        "id": ""
                    },
                    "default_value": "Máy",
                    "maxlength": "",
                    "placeholder": "",
                    "prepend": "",
                    "append": "",
                    "parent_repeater": "field_pps_price_table"
                },
                {
                    "key": "field_pps_row_qty",
                    "label": "SL",
                    "name": "qty",
                    "aria-label": "",
                    "type": "number",
                    "instructions": "",
                    "required": false,
                    "conditional_logic": false,
                    "wrapper": {
                        "width": "8",
                        "class": "",
                        "id": ""
                    },
                    "default_value": 1,
                    "min": "",
                    "max": "",
                    "step": "",
                    "placeholder": "",
                    "prepend": "",
                    "append": "",
                    "parent_repeater": "field_pps_price_table"
                },
                {
                    "key": "field_pps_row_price",
                    "label": "Đơn giá (VNĐ)",
                    "name": "unit_price",
                    "aria-label": "",
                    "type": "number",
                    "instructions": "",
                    "required": 1,
                    "conditional_logic": false,
                    "wrapper": {
                        "width": "13",
                        "class": "",
                        "id": ""
                    },
                    "default_value": "",
                    "min": "",
                    "max": "",
                    "step": "",
                    "placeholder": "",
                    "prepend": "",
                    "append": "",
                    "parent_repeater": "field_pps_price_table"
                },
                {
                    "key": "field_pps_row_warranty",
                    "label": "Bảo hành",
                    "name": "warranty",
                    "aria-label": "",
                    "type": "text",
                    "instructions": "",
                    "required": false,
                    "conditional_logic": false,
                    "wrapper": {
                        "width": "13",
                        "class": "",
                        "id": ""
                    },
                    "default_value": "Không áp dụng",
                    "maxlength": "",
                    "placeholder": "",
                    "prepend": "",
                    "append": "",
                    "parent_repeater": "field_pps_price_table"
                }
            ]
        },
        {
            "key": "field_pps_tab_cta",
            "label": "CTA & Liên Hệ",
            "name": "",
            "aria-label": "",
            "type": "tab",
            "instructions": "",
            "required": 0,
            "conditional_logic": false,
            "wrapper": {
                "width": "",
                "class": "",
                "id": ""
            },
            "placement": "top",
            "endpoint": 0,
            "selected": 0
        },
        {
            "key": "field_pps_hotline",
            "label": "Hotline",
            "name": "price_hotline",
            "aria-label": "",
            "type": "text",
            "instructions": "",
            "required": false,
            "conditional_logic": false,
            "wrapper": {
                "width": "",
                "class": "",
                "id": ""
            },
            "default_value": "0936 102 287",
            "maxlength": "",
            "placeholder": "",
            "prepend": "",
            "append": ""
        },
        {
            "key": "field_pps_cta_text",
            "label": "Nội dung nút CTA",
            "name": "price_cta_text",
            "aria-label": "",
            "type": "text",
            "instructions": "",
            "required": false,
            "conditional_logic": false,
            "wrapper": {
                "width": "",
                "class": "",
                "id": ""
            },
            "default_value": "Đặt lịch ngay",
            "maxlength": "",
            "placeholder": "",
            "prepend": "",
            "append": ""
        },
        {
            "key": "field_pps_cta_link",
            "label": "Link nút CTA",
            "name": "price_cta_link",
            "aria-label": "",
            "type": "text",
            "instructions": "",
            "required": false,
            "conditional_logic": false,
            "wrapper": {
                "width": "",
                "class": "",
                "id": ""
            },
            "default_value": "#dat-lich",
            "maxlength": "",
            "placeholder": "",
            "prepend": "",
            "append": ""
        }
    ],
    "location": [
        [
            {
                "param": "post_type",
                "operator": "==",
                "value": "page"
            },
            {
                "param": "post",
                "operator": "!=",
                "value": "6229"
            }
        ]
    ],
    "menu_order": 0,
    "position": "normal",
    "style": "default",
    "label_placement": "top",
    "instruction_placement": "label",
    "hide_on_screen": "",
    "active": true,
    "description": "Field group cho các trang Bảng giá (bang-gia-sua-may-tinh, bang-gia-sua-tu-xa...). LƯU Ý: location rule hiện đang áp dụng cho MỌI Page — cần thu hẹp lại (chọn đích danh 8 trang bang-gia-*) sau khi Kiệt tạo xong các trang này, để tránh field group này hiện trên các Page khác không liên quan.",
    "show_in_rest": 0,
    "display_title": "",
    "allow_ai_access": false,
    "ai_description": "",
    "modified": 1784782416
}
