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 contains billable items which can be both service items and expense items. The following fields let you access them.

project.items 1.0, 2.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>

Since version 2.0, this placeholder has a new meaning. The list contains all items, including expenses. Previously, it contained only services.

Instead of accessing the entire list of items, one can access the services and the expenses separately using the project.services and the project.expenses placeholders.

project.services 2.0

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

<#list project.services as service>
...
</#list>
project.expenses 1.0

A list with all the expense items 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.servicesSubtotal 2.0 The total amount of money due for all the service items from this project.
project.expensesSubtotal 1.0 The total amount of money due for all the expense items 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.