6.8. Project

The following table shows the fields of an invoice project. A project cannot be accessed directly. You have to access it from the list of projects of an invoice (invoice.projects).

Usually, you don't need to work with invoice projects. They are useful only if the invoice is for multiple projects.

Table 6.8. Project Properties

Property Version Meaning

1. General

project.name 1.0 self-explained
project.notes 1.8 self-explained

2. Contents

An invoice project may contain both items and expenses. The following fields let you access them.

project.items 1.0

A list with all the items of an invoice project. To access an item from the list use the following Freemarker code:

<#list project.items as item>
...
</#list>
project.expenses 1.0

A list with all the expenses of an invoice project. To access an expense from the list use the following Freemarker code:

<#list project.expenses as expense>
...
</#list>

3. Totals

project.itemsSubtotal 1.0 The total amount of money due for all the items from this project.
project.expensesSubtotal 1.0 The total amount of money due for all the expenses from this project.
project.profit 1.11 self-explained
project.total 1.0 The total project amount of money (no taxes included).

4. Time

project.billableTimeAsHour 1.5 The total time invoiced for a project in hour format. For instance 1 hour and 30 minutes is represented as 1:30.
project.billableTimeAsDecimal 1.5 The total time invoiced for a project in decimal format. For instance 1 hour and 30 minutes is represented as 1.50.