{"title":"Products","header":[
    {"type":"button",
      "label":"Add Product",
      "formName":"Product"},
    {"type":"button",
      "label":"Auto Orders",
      "formName":"Auto Order"},
    {"type":"button",
      "label":"Import Products",
      "onClick":"importProducts",
      "class":"btn-outline btn-info"},
    {"type":"button",
      "label":"Export Products",
      "onClick":"exportProducts",
      "class":"btn-outline btn-success"}
  ],

  "body":[
    {"type":"tabs",
  "tabs":[
    {"label":"Products",
  "elements":[
  {"type":"table",
  "options":{
  "tableName":"products",
  "showGlobalSearch":false,
  "addButton":false,
  "editFormId":111,
  "columns":[
    {"field":"name","label":"Name"},
    {"field":"price","label":"Price"},
    {"field":"brand","label":"Brand"},
    {"field":"tax_rates","label":"Tax Rates","renderer":"json","rendererOptions":{"maxInlineItems":3}}
  ],
  "rowActions":[
    {"label":"Discount","formId":150,"icon":"fa-tags","class":"btn-sm btn-info"}
  ]}
      }
    ]
  },

    {"label":"Auto Orders",
  "elements":[
    {"type":"table",
  "options":{"tableName":"auto_orders",
  "showGlobalSearch":false,"addButton":false,"editFormId":131,
  "columnsToShow":[
  "product_name","minimum_stock_qty","order_qty"]
            }
          }
        ]
      }
    ]
  }
  ],
  
  "footer":[
  {"type":"button","label":"Close","onClick":"closeModal"}
    ]
  }