Admin
Instruction
Difficulty level: Advanced
Configuration - Forms - Order fields
This section only applies if the module CRM is active.

With order fields you add extra data to an order, next to the standard fields. Think of the number of guests, the contact person on the day itself, a reference number of the customer or an IBAN for a SEPA mandate. You can print them on your documents and have them filled automatically from a booking, customer or company.

Setting up order fields

  1. Go to Configuration > Forms > Order fields. You need the right menu_config_order_forms for this.
  2. Activate one of the fields (Custom 1 to 30) and give it a name, for example Number of guests.
  3. Save.

Showing order fields on the order dashboard

On the dashboard of an order there is a block with the custom fields of the order. Choose through the block menu which fields you want to see. As long as no fields are chosen, the block asks you to choose one or more fields via the block menu. To edit the fields you need the right action_order_updatecustomtable_order.

Order fields on your document

In an order template you use {ORD_CUSTOM01} to {ORD_CUSTOM30}. The number is the number of the field. See Order variables and Creating an order template.

Filling automatically from a booking, customer or company

When you create an order from a booking, i-Reserve can copy fields of the booking, the customer and the company into the order fields. You set this up on the source field:

  1. Go to the form of the source, for example Configuration > Forms > Booking form.
  2. Click Advanced at the source field.
  3. Click Add parameter.
  4. Enter the key target_order_custom05, where custom05 is the order field the value should go to (custom01 to custom30).
  5. Enter 1 as the value. An empty value is not saved.

The same principle works from order to invoice and from booking to invoice, see How do I link a booking field to an invoice field?.

Tip: do you need data from the booking on your quotation, such as the number of persons or the room layout? Copy it into an order field this way. Then it stays on the order, even if you change or unlink the booking later.
The following rights may be necessary in order to use this functionality.