{"body": [{"tabs": [{"label": "My RFQs", "elements": [{"html": "<div class='alert alert-info mb-2'>Select an invite then click Respond to start your quote.</div>", "type": "html"}, {"id": "vendorInvites", "type": "table", "options": {"scope": "user", "addButton": false, "tableName": "rfq_invites", "userField": "vendor_user_id", "rowActions": [{"label": "Respond", "onClick": "openVendorResponse"}], "columnsToShow": ["rfq_id", "status", "sent_at", "opened_at", "responded_at"]}}]}, {"label": "Response", "elements": [{"type": "detail-view", "tableName": "rfq_headers", "filterField": "rfq_id"}, {"id": "vendorQuotes", "type": "table", "options": {"addButton": false, "tableName": "vendor_quotes", "inlineEdit": true, "rowActions": [{"label": "Select", "onClick": "selectRecord"}, {"label": "Submit", "onClick": "submitVendorQuote"}], "filterField": ["rfq_id", "vendor_id"], "columnsToShow": ["status", "currency", "total_amount", "delivery_days", "valid_thru", "notes"]}}, {"type": "table", "options": {"addButton": true, "tableName": "vendor_quote_items", "inlineEdit": true, "filterField": "quote_id", "columnsToShow": ["rfq_item_id", "is_alternate", "alt_label", "unit_price", "tax", "lead_time_days", "notes"]}}]}], "type": "tabs"}], "title": "Vendor RFQs", "footer": [{"type": "button", "label": "Close", "onClick": "closeModal"}]}