{runquery 1} {runquery 2}

## {translatestatictext 'Table Reservation Guest Details'.{const language}}

{forall 1}
{translatestatictext 'Name'.{const language}} | {field 1.name2}
{dif (('{field 1.TABLERES_FEATURES_LONG}'='') {translatestatictext 'and'.{const language}} ('{field 1.PREF_REST_LONG}'='') {translatestatictext 'and'.{const language}} ('{field 1.PREF_TABLE_SHORT}'=''))}{/dif}{else} {dif '{field 1.PREF_REST_LONG}'=''}{/dif}{else}
{translatestatictext 'Pref. Rest.'.{const language}} | {field 1.PREF_REST_LONG}{/else}
{dif '{field 1.PREF_TABLE_SHORT}'=''}{/dif}{else}
{translatestatictext 'Pref. Table'.{const language}} | {field 1.PREF_TABLE_LONG}{/else}
{dif '{field 1.TABLERES_FEATURES_LONG}'=''}{/dif}{else}
{translatestatictext 'Features Tableres.'.{const language}} | {field 1.TABLERES_FEATURES_LONG}{/else}
{/else}
| Statistics
{/forall} {dif ('{field 2.YBOM_ID}'<>'0') {translatestatictext 'and'.{const language}} ('{field 2.YBOM_ID}'<>'')}
{translatestatictext 'Booking Name'.{const language}} | {field 2.YBOM_Name} (ID {field 2.YBOM_ID})
{translatestatictext 'Arrival/Departure'.{const language}} | {field 2.YBOM_ARRIVAL} / {field 2.YBOM_DEPARTURE}
{/dif}
{dif ('{field 2.YEVM_ID}'<>'0') {translatestatictext 'and'.{const language}} ('{field 2.YEVM_ID}'<>'')}
{translatestatictext 'Event Name'.{const language}} | {field 2.YEVM_NAME} (ID {field 2.YEVM_ID})
{translatestatictext 'Start/End Time'.{const language}} | {fshortdatetime}{field 2.YEVM_STARTTIME}{/fshortdatetime} - {fshorttime} {field 2.YEVM_ENDTIME} {/fshorttime}
{/dif}