File: Reports.tji

package info (click to toggle)
taskjuggler 2.4.3-2
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 13,156 kB
  • ctags: 3,713
  • sloc: cpp: 37,683; sh: 13,617; xml: 6,021; perl: 5,207; lisp: 538; makefile: 283; python: 258
file content (23 lines) | stat: -rw-r--r-- 757 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Some reports may be usefull for many different projects
# Instead of specifying the report in each project file separately,
# you can do this once in a common file

# By putting the report specification into a macro, you can call it
# with variables. This will also make sure the html report is created
# in the same directory as the project file

macro Accounting [

htmlaccountreport "AccountingReport.html" {
  columns no, name, total, monthly 

	# ${1} is the first argument given when you call the macro in the
	# project file
	# Here the variable contains the name of the project

	headline "P&L for the ${1} project" 
  caption "The table shows the profit and loss analysis as well as the cashflow situation of the ${1} Project."
  accumulate
}

]