This page has been moved from General Documentation to here (Maxxton Knowledge Base)
...
To make use of page breaks put the following code in the header of your HTML:
<style>
@media print {.pagebreak { page-break-after: always; }
</style>
}
Then, at places inside your text where you would want to start a new page use the following DIV-tag:
<div class="pagebreak"> </div>
Velocity Tools
From Newyse 2011R1 we added Velocity Tools to the templates. This is a set of utilities which help you with certain things. Like parsing a date, mathmetical things etc.
...
Tag | Description |
---|---|
$reservation_id | Reservation id |
$reservation_arrivaldate | Reservation arrival date |
$reservation_departuredate | Reservation depature date |
$reservation_canceldate | Reservation cancel date |
$reservation_reservationdate | Reservation date |
$reservation_reservationinitials | Reservation initials |
$reservation_language | Reservation language |
$reservation_reservationnumber | Reservation number |
$reservation_reservationstatus | Reservation status |
$reservation_reservationvalidationstatus | Reservation validation status |
$reservation_resortcode | Reservation resort code |
$reservation_resortname | Reservation resort name |
$reservation_resortshortdescription | Reservation resort short description |
$reservation_resortaddress1 | Reservation resort address |
$reservation_resorthousenumber | Reservation resort house number |
$reservation_resorthousenumbersuffix | Reservation resort house number suffix |
$reservation_resortzipcode | Reservation resort zipcode |
$reservation_resort_country | Reservation resort country |
$reservation_resortcity | Reservation resort city |
$reservation_resort_emailaddress | Reservation resort email ids |
$reservation_resort_faxnumber | Reservation resort fax number |
$reservation_resort_phonenumber | Reservation resort phone number |
$reservation_resort_accountnr | Reservation resort account number |
$reservation_resort_latitude | Reservation resort latitude |
$reservation_resort_longitude | Reservation resort longitude |
$reservation_resort_images | Reservation resort images |
$reservation_resort_statecode | Reservation resort state code |
$reservation_resort_parentname | Reservation resort parent name |
$reservation_identifier | Reservation identifier |
$reservation_identifiermod11 | Reservation identifier mod 11 |
$reservation_rccode | Reservation category code |
$reservation_dcname | Reservation distribution channel name |
$reservation_dccode | Reservation distribution channel code |
$reservation_dcshortdescription | Reservation distribution channel short description |
$reservation_dcaddress1 | Reservation distribution channel address |
$reservation_dchousenumber | Reservation distribution channel house number |
$reservation_dchousenumbersuffix | Reservation distribution channel house number suffix |
$reservation_dczipcode | Reservation distribution channel zip code |
$reservation_dccity | Reservation distribution channel city |
$reservation_dcshortname | Reservation distribution channel short name |
$reservation_dclongname | Reservation distribution channel long name |
$reservation_dcmobile_phone | Reservation distribution channel mobile number |
$reservation_dcprivate_phone | Reservation distribution channel private phone number |
$reservation_dcwork_phone | Reservation distribution channel work phone number |
$reservation_dcemail | Reservation distribution channel email id |
$reservation_dcfiscal_type | Reservation distribution channel fiscal type |
$reservation_dcfiscal_vat | Reservation distribution channel fiscal vat |
$reservation_numberofpersons | Number of person added in reservation |
$reservation_numberofpets | Number of pets added in reservation |
$reservation_acconame | Reservation accommodation name |
$reservation_accocheckintime | Reservation accommodation checkin time ( 15:00 is used to empty(default) value) |
$reservation_accocheckouttime | Reservation accommodation checkout time ( 10:00 is used to empty(default) value ) |
$reservation_nr_of_nights | Number of nights for reservation is done |
$reservation_voucher | Voucher of the reservation |
$reservation_resort_dynamicfield | Reservation resort dynamic field |
$reservation_daysleftforarrival | Days left for arrival |
$reservation_expectedarrivaltime | Expected arrival time for reservation |
$reservation_expecteddeparturetime | Expected departure time for reservation |
$reservation_tnc_signed | Is reservations terms and conditions signed.(return 1 or 0) |
$reservation_tnc_signed_date | Reservations terms and conditions signed date |
$reservation_tnc_signee_customer_name | Reservations terms and conditions signed by |
$reservation_dc_invoice_address1 | Reservation distribution channel invoice address |
$reservation_dc_invoice_housenumber | Reservation distribution channel invoice house number |
$reservation_dc_invoice_housenumbersuffix | Reservation distribution channel invoice house number suffix |
$reservation_dc_invoice_zipcode | Reservation distribution channel invoice zipcode |
$reservation_dc_invoice_city | Reservation distribution channel invoice city |
$reservation_dc_invoice_shortname | Reservation distribution channel invoice short name |
$reservation_dc_invoice_longname | Reservation distribution channel invoice long name |
$reservation_dc_invoice_work_phone | Reservation distribution channel invoice work phone number |
$reservation_dc_invoice_email | Reservation distribution channel invoice email id |
$reservation_dc_invoice_statecode | Reservation distribution channel invoice state code |
$reservation_dc_statecode | Reservation distribution channel state code |
$reservation_dc_has_invoiceaddress | Reservation distribution channel has invoice address (return true or false) |
$reservation_dc_has_mailaddress | Reservation distribution channel has email id (return true or false) |
$reservation_dc_brand_name | Reservation distribution channel brand name |
$reservation_dc_currency_id | Reservation distribution channel currency id |
$reservation_dc_currency_symbol | Reservation distribution channel currency symbol |
$reservation_dc_currency_code | Reservation distribution channel currency code |
$reservation_dc_locale | The locale of distribution channel |
$reservation_reservationtime | The time of reservation |
$reservation_expiredate | Expire date of the reservation |
$payment_currency_symbol | Payment currency symbol |
$reservation_identifiermod97 | Reservation identifier mod 97 |
$reservation_resortaddress2 | Address of the resort (second) |
$reservation_brochures | Return list of reservation brochures with name and code. |
$reservation_dc_po_box | Reservation dc po_box |
$reservation_optional_confirmation_date | Optional reservation can be confirm till this date. |
$reservation_supplier_voucher | supplier voucher number |
$reservation_is_allinprice_enabled | allinprice enabled |
$reservation_dc_countryname | DC country name |
$reservation_category_name | reservation category name |
$reservation_invoice_date | reservation invoice date |
$reservation_invoice_sign_failed | reservation invoice sign failed |
$reservation_payment_slip_fik | reservation payment slip fik |
$reservation_resort_is_fixed_vat_description | reservation resort is fixed vat description |
$reservation_resort_fixed_vat_description | reservation resort fixed vat description |
...
Loyalty Transaction:
Tag | Description |
---|---|
$loyalty_transaction_active_points | Loyalty transaction active points |
$loyalty_transaction_pending_points | Loyalty transaction pending points |
$loyalty_transaction_spent_points | Loyalty transaction spent points |
$loyalty_transaction_expired_points | Loyalty transaction expired points |
...
$dateFormatter.increment(date, days, month, year) e.g. increase date by 1 day using $dateFormatter.increment($reservation_reservationdate , 1,0,0)
Below is a list of date variables to use with dateFormatter:
EEE - Short day name (Fri)
...
z - time zone (Pacific Standard Time)
' - escape for text
'' - single quote (')
...