File: Account.tjp

package info (click to toggle)
taskjuggler 2.3.0-1
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 8,764 kB
  • ctags: 3,700
  • sloc: cpp: 36,852; sh: 12,761; xml: 5,541; perl: 5,207; makefile: 269; python: 258; lisp: 67
file content (45 lines) | stat: -rw-r--r-- 851 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
project simple "Simple Project" "1.0" 2005-06-06 2005-06-26 {
  currency "USD"
}

account project_cost "Project Costs" cost
account payments "Customer Payments" revenue {
  credit 2005-06-08 "Customer down payment" 500.0
}

resource tux "Tux" {
  rate 300
}

task items "Project breakdown" {
  start 2005-06-06
  # The default account for all tasks
  account project_cost

  task plan "Plan work" {
    # Some upfront material cost
    startcredit 500.0
    length 3d
  }

  task implementation "Implement work" {
    effort 5d
    allocate tux
    depends !plan
  }

  task acceptance "Customer acceptance" {
    duration 5d
    depends !implementation
    account payments
    # Customer pays at end of acceptance  
    endcredit 2000.0  
  }
}

htmlaccountreport "PAndL.html" {
  timeformat "%d-%M-%y"
  accumulate
  columns index, name, weekly
}