{runquery 1} {runquery 2} {runquery 5}
{dif ({field 1.xcms_id.0}=0) and ({field 5.xcno_id}<> 0) }
- {field 5.RRES_DESCRIPTION}
- {translatestatictext 'Notes'.{const language}}
{forall 5}
- {field 5.xcno_notes}
{/forall}
{/dif}{else} {forall 1}
- {field 1.name2}
{dif (('{field 1.TABLERES_FEATURES_LONG}'='') and ('{field 1.PREF_REST_LONG}'='') and ('{field 1.PREF_TABLE_SHORT}'=''))}{/dif}{else} {dif '{field 1.PREF_REST_LONG}'=''}{/dif}{else}
- {translatestatictext 'Preferred Restaurant'.{const language}}
  {field 1.PREF_REST_LONG}
{/else} {dif '{field 1.PREF_TABLE_SHORT}'=''}{/dif}{else}
- {translatestatictext 'Preferred Table'.{const language}}
  {field 1.PREF_TABLE_LONG}
{/else} {dif '{field 1.TABLERES_FEATURES_LONG}'=''}
{/dif}{else}
- {translatestatictext 'Features Tablereservation'.{const language}}
  {field 1.TABLERES_FEATURES_LONG}
{/else} {/else} {dif {field 5.xcno_id.0}=0}{/dif}{else}
- {translatestatictext 'Notes'.{const language}}
{forall 5}
- {field 5.xcno_notes}
{/forall}
{/else} {dif '{field 1.picture}'=''}{/dif}{else}
{/else}
- {translatestatictext 'Statistics'.{const language}}
{/forall} {dif ('{field 2.YBOM_ID}'<>'0') and ('{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') and ('{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} {/else} {dif '{globalsetting MFPOSV8Interface}'='0'}{/dif}{else} {runquery 3} {dif ('{field 3.MFORDER_ARTNAME}'='')}{/dif}{else}
- {translatestatictext 'Check Details'.{const language}}
  {translatestatictext 'Started:'.{const language}} {field 3.CHECK_OPEN_TIME} - {field 3.CHECKENDV8}
  {translatestatictext 'Total:'.{const language}} {field 3.Total_num}
{forall 3}
- {field 3.ORDER_TIME}
  {field 3.MFORDER_ARTNAME}
  {field 3.MFORDER_TOTAL_NUM}
{/forall} {/else} {/else} {runquery 4} {dif ('{field 4.ResNo}'='')}{/dif}{else}
- {translatestatictext 'Linked Res.'.{const language}}
  {translatestatictext 'Guest Name'.{const language}}
  {translatestatictext 'Arrival'.{const language}}
  {translatestatictext 'Departure'.{const language}}
  {translatestatictext 'Room #Statistics'.{const language}}
{forall 4}
- {field 4.ResNo}
  {field 4.Guest_name}
  {field 4.ExpArr}
  {field 4.ExpDep}
  {field 4.RoomNo}
{/forall} {/else}