Skip to content

Document templates

With document templates you design the layout of the invoice, the price indication, the receipt and the prescription label. You put blocks on a canvas, set the margins and choose the font. A document template can have more than one version, and you always edit the draft of a version. The active version decides what new documents print, and only the published part of that version prints.

  1. Open Settings > Document templates.
  2. Click the document type, for example Invoice.
  3. Under Add block, select a block, such as Text or Image.
  4. Drag the block to the correct position.
  5. Drag a corner to make the block larger or smaller.
  6. If necessary, change the values in millimetres under Position & size.
  7. Under Layout, select the Page.
  8. To put the block above or below other blocks, click Bring forward or Send back.

The portal saves each change automatically. At the top you see “Saving…” and then “Saved”. The list shows the 4 document types. A type that you changed shows Customised.

Blocks:

  • While you drag, a block snaps to a 5 mm grid. It also snaps to the edges of the printable area and to other blocks.
  • To ignore the grid, hold Alt. The block still snaps to the edges.
  • Add block also offers the extra fixed blocks that belong to the document type, such as Invoice details.
  • Delete block removes a block. You cannot remove a required block, such as the line items and the totals.
  • The content of a locked block is fixed. You can only move and resize a locked block.

Page margins:

  • If no block is selected, you set the margins under Page margins (mm): Top (mm), Right (mm), Bottom (mm) and Left (mm).
  • Blocks are always inside the margins, exactly where they print. A dashed frame shows the printable area.
  • The positions in the block settings are measured from the top-left corner of the printable area.
  • If there is a top or bottom margin, a block must end at least 1 mm above the bottom of the frame.
  • If you make a margin larger, the portal moves or shrinks the blocks that no longer fit. A message says how many.
  1. Click a text block on the canvas.
  2. Under Content, type the text.
  3. Where necessary, make words Bold or Italic.
  4. Select the Font.
  5. Fill in the Size (pt).
  6. Under Fit, select Wrap, Shrink or Clip.
  7. Click an image block.
  8. Click Choose image.
  9. Select an image from the library.
  10. Under Fit, select Contain, Cover or Fill.

The document now contains your own text and your image, for example the logo of the clinic.

  • To upload new images, click Manage library. This opens the image library.
  • An image keeps its proportions when you drag a corner. To resize it freely, hold Shift.
  • On a locked financial block, you can set only the text size under Typography. If you leave the size empty, the block uses the default of the template.
  • For fixed blocks such as the payment info, select Flow after table or Fixed footer band under Placement.
  1. Open the document template from Settings > Document templates.
  2. Click Preview.
  3. Under Preview language, select the language that you want to check.

The Document preview dialog shows the current draft as a PDF, with your last change. To see the PDF larger, click Open the PDF in a new tab. If the portal cannot create the preview, you see “Could not render the preview.”

  1. Open Settings > Document templates.
  2. In the Document fonts card, select a font for Dutch, English and Polish.
  3. Click Save.

You see “Document fonts saved”. From then on, invoices, receipts, prescription labels and price indications in that language use that font.

You can select DejaVu Sans, DejaVu Serif or DejaVu Sans Mono. All 3 fonts contain the characters of Western and Central European languages, Cyrillic and Greek. If you need another script, contact Zoravet.

With versions, you work on a new design and you do not change the version in use.

  1. Open the document template from Settings > Document templates.
  2. In the version bar, click New to create an empty version.
  3. To give the version its own name, click Rename version.

A new version has the name “New version”. The version bar shows all versions. The version in use shows the Active badge.

To copy a version, select it in the version bar and click Duplicate version. The copy has the name “Copy”.

When you switch to another version, the portal first saves the changes that are not saved yet.

  1. In the version bar, select the version.
  2. To make the draft of that version final, click Publish.

After Publish you see “Draft published”. If this is the active version, new documents print the new design immediately.

To use the selected version for new documents, click Activate. Activate first publishes the changes that are not published yet. Then it makes the version active. You see “Version activated”. You cannot activate the active version again.

  1. In the version bar, select the version that you no longer need.
  2. Click the bin.

The portal deletes the version permanently and immediately. For the active version, the bin is greyed out and you see “The active version can’t be deleted”.