You are here

[UNI02] Style 2: Quantity column, 3 colors

 

Download app: ch.banana.uni.invoice.uni02.js

Development: invoice

 

Quantity column, 3 colors

Invoice for all countires with quantity and unit price columns.

There is also a version of the invoice for Switzerland with Swiss ISR payment slip.

Attributes

Header

  • The header contains information specified in the File and accounting properties (menu File -> File and accounting properties -> Address).
  • It is displayed on the top-left of the page.

Invoice and customer information

  • Invoice number, invoice date, customer number, expiration date of the invoice and page number are displayed here.
  • The expiration date of the invoice is automatically calculated, but it is possible to overwrite that information using the DocType column options.
  • All the data are displayed on the right of the page.

Customer address

  • The customer addres is taken from the Accounts table (address view).
  • It is possible to manually define an address on the transactions table using the DocType column options.
  • The address is displayed on the left of the page.

Items table

  • A table where are listed all the items of the invoice.
  • It is composed of four columns: description, quantity, unit price and total.
  • At the end of the items table are displayed Total net, VAT amount and final Total of the invoice.

More information

At the bottom of the invoice, after the items table, with the DocType column options it is possible to add more information like personal notes and greetings.

Invoice settings

User can change some settings of the invoice.
From the "Print invoices" dialog window, click the Settings button under the layout section:

  • enable/disable the header
    • Set 1 to include the header on the top of the page (default value)
    • Set 0 to not include it.
  • Header text color
    • Defines the main color of the header used for the company name.
    • Default value (#0066CC).
  • Header background color
    • Defines the color of the rectangle shape on the header.
    • Default value (#FFD100).
  • Rows background color
    • Defines the color of the odd rows of the items table.
    • Default value (#F0F8FF).

Colors can be standard colors (for example: “red”, "yellow", “blue”, “green”, “black”, "grey", etc) or in the Hexadecimal format (for example: #ff0000 ).

 

 

Share this article: Twitter | Facebook | Email