Warp Print demo — Design, print and change anything you like — the data and templates are reset every hour. warpui.com About Warp Print Docs Ask a question Support
Skip to content

Edit Payment reminder (Word)

Used in code: PrintAction::make()->template('invoice').
Which records this template prints, and which fields it can use.
Month and weekday names in dates use this language.

Excel or Word file

Write {{field}} in the cells where values go, for example {{customer.name}}. Write the item fields ({{items.name}}) in one row: that row is repeated for every item. Empty rows below it with the same borders are used first. In a Word document (.docx), write {{field}} anywhere in the text, the header or the footer. A table row with item fields ({{items.name}}) is repeated for every item.

File path

Email

The subject and message filled in when this template is sent by email. {{field}} is replaced with the record's value.

Fields in this file

Every {{…}} found in the file, and whether the data has that field.

Where Field
Text {{issued_on}} OK
Text {{customer.name}} OK
Text {{customer.address}} OK
Text {{customer.address2}} OK
Text {{customer.contact}} OK
Text {{number}} OK
Text {{due_on}} OK
Text {{customer.contact}} OK
Text {{number}} OK
Text {{subject}} OK
Text {{issued_on}} OK
Text {{total}} OK
Text {{items.#}} OK
Text {{items.name}} OK
Text {{items.quantity}} OK
Text {{items.unit_price}} OK
Text {{items.amount}} OK
Text {{total}} OK
Text {{company.bank_en}} OK
Text {{company.name_en}} OK
Text {{company.email}} OK
Header {{company.name_en}} OK
Header {{company.address_en}} OK
Footer {{number}} OK
Footer {{print.date}} OK
Fields you can write
  • {{number}} Invoice no.
  • {{subject}} Subject
  • {{issued_on}} Issued on
  • {{due_on}} Due on
  • {{status}} Status
  • {{note}} Note
  • {{customer.code}} Customer code
  • {{customer.name}} Customer
  • {{customer.contact}} Contact person
  • {{customer.postal_code}} Postal code
  • {{customer.address}} Address
  • {{customer.address2}} Address line 2
  • {{customer.email}} Email
  • {{company.name}} Our name
  • {{company.postal_code}} Our postal code
  • {{company.address}} Our address
  • {{company.name_en}} Our name (English)
  • {{company.address_en}} Our address (English)
  • {{company.phone}} Our phone
  • {{company.email}} Our email
  • {{company.registration_number}} Registration no.
  • {{company.bank}} Bank account
  • {{company.bank_en}} Bank account (English)
  • {{company.logo}} Logo
  • {{company.stamp}} Company seal
  • {{delivery_place}} Deliver to
  • {{subtotal}} Subtotal (before tax)
  • {{base_10}} Taxable at 10%
  • {{tax_10}} Tax 10%
  • {{base_8}} Taxable at 8% (reduced)
  • {{tax_8}} Tax 8%
  • {{tax}} Tax
  • {{total}} Total
  • {{item_count}} Number of items
  • Items
    • {{items.product.code}} Code
    • {{items.name}} Item
    • {{items.quantity}} Qty
    • {{items.unit}} Unit
    • {{items.unit_price}} Unit price
    • {{items.tax_rate}} Tax
    • {{items.reduced}} Reduced-rate mark
    • {{items.amount}} Amount
  • Items in the order of their tax rate
    • {{items_by_tax.product.code}} Code
    • {{items_by_tax.name}} Item
    • {{items_by_tax.quantity}} Qty
    • {{items_by_tax.unit}} Unit
    • {{items_by_tax.unit_price}} Unit price
    • {{items_by_tax.tax_rate}} Tax
    • {{items_by_tax.reduced}} Reduced-rate mark
    • {{items_by_tax.amount}} Amount
  • Printing
    • {{print.date}} Printed on
    • {{print.datetime}} Printed at
    • {{print.user}} Printed by
    • {{print.reprint}} Reprint (printed before)
    • {{print.count}} Times printed
  • Copy
    • {{copy.label}} Copy name
    • {{copy.number}} Copy number