-- Update WorkCOM OHS Inspections modal to use New Inspection wizard
UPDATE ui_modals
SET config = '{"title":"WorkCOM OHS Inspections","header":[{"type":"button","label":"New Inspection","wizardId":5}],"body":[{"type":"table","options":{"tableName":"workplace_inspections","showGlobalSearch":false,"addButton":false,"rowActions":[{"label":"Assign Inspector","formName":"WorkCOM Inspection Assignment"}]}}],"footer":[{"type":"button","label":"Close","onClick":"closeModal"}]}'
WHERE name = 'WorkCOM OHS Inspections';
