Conditional logic within in tables Box Doc Gen