{runquery 1}{runsubquery 2.1.ybom_id}

## {translatestatictext 'Booking Master'.{const language}}

{translatestatictext 'Booking Name'.{const language}} | {field 1.ybom_name} (ID {field 1.ybom_id})
| {dif {field 1.ybom_cateringonly}=1}{translatestatictext 'Conference only'.{const language}} {/dif}{dif {field 1.ybom_cateringonly}=2}{translatestatictext 'Rooms'.{const language}} {translatestatictext 'only'.{const language}} {/dif}{dif {field 1.ybom_cateringonly}=0}{translatestatictext 'Rooms'.{const language}} & {translatestatictext 'Conference'.{const language}} {/dif}
{translatestatictext 'Booking Dates'.{const language}} | {field 1.ybom_arrival} - {field 1.ybom_departure}
{translatestatictext 'Company Name'.{const language}} | {field 1.xcms_name1}{field 1.xcms_name2} {field 1.xcms_name3}
{dif '{field 2.XName}'=''}{/dif}{else}
{translatestatictext 'Contact Name'.{const language}} | {field 2.Xname}{/else}
{translatestatictext 'Contact on site'.{const language}} | {field 1.ybom_contactonsite}