Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- "label": "Xem chi tiết thông khách hàng sản phẩm",
- "preview": [
- {
- "label": "Khách hàng liên quan",
- "table": "data_product",
- "list_group": [
- {
- label: 'Thông tin cơ bản',
- list_field: {
- "emails": {
- "type_view": "emails",
- "type": "array-object",
- "label": "Emails",
- "target": "emails",
- "collection_key": "customer",
- "level": "field"
- },
- "name": {
- "type_view": "mot-dong",
- "type": "string-object",
- "label": "Tên",
- "target": "name",
- "collection_key": "customer",
- "level": "field"
- }
- }
- }],
- "target_linking_field": "customer_id"
- }
- ],
- "list_group": [
- {
- "label": "Chi tiết đối tượng",
- "list_field": {
- "updated_at": {
- "type_view": "ngay-gio",
- "type": "date",
- "label": "Ngày cập nhật",
- "target": "updated_at",
- "collection_key": "customer_product",
- "level": "field"
- },
- "created_at": {
- "type_view": "ngay-gio",
- "type": "date",
- "label": "Ngày tạo",
- "target": "created_at",
- "collection_key": "customer_product",
- "level": "field"
- },
- "name": {
- "type_view": "text",
- "type": "string-object",
- "label": "Tên sản phẩm",
- "target": "name",
- "collection_key": "customer_product",
- "level": "field"
- },
- "customer_id": {
- "type_view": "linking_raw",
- "type": "array-object",
- "table": "customer",
- "label": "Khách hàng liên quan",
- "target": "customer_id",
- "collection_key": "customer_product",
- "level": "field"
- }
- }
- }
- ],
- "table": "customer_product",
- "type_view": "input-preview"
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement