# Root
# project [<id: ID>] <name: String> [<version: String>] <interval2: interval2>
# [{ <attributes> }]
# interval2: <date> (- <date> | + <duration> (min | h | d | w | m | y))
project bi "BI Business Intelligence Mantelprojekt"  2022-01-01-0:00--0500 +4m {
  # Default (timezone not set) is UTC
  timezone "Europe/Berlin"
  # Hide the clock time. Only show the date.
  timeformat "%Y-%m-%d"

  # numberformat <negativeprefix: String> <negativesuffix: String>
  # <thousandsep: String> <fractionsep: String> <fractiondigits: Integer>
  numberformat "-" "" "." "," 2

  # currencyformat <negativeprefix: String> <negativesuffix: String>
  # <thousandsep: String> <fractionsep: String> <fractiondigits: Integer>
  currencyformat "-" "" "." "," 2

  # Pick a day during the project that will be reported as 'today' in
  # the project reports. If not specified, the current day will be
  # used, but this will likely be outside of the project range, so it
  # can't be seen in the reports.
  now 2022-03-01
  # The currency for all money values is the Euro.
  currency "EUR"

  # You can define multiple scenarios here if you need them.
  #scenario plan "Plan" {
  #  scenario actual "Actual"
  #}

  # You can define your own attributes for tasks and resources. This
  # is handy to capture additional information about the project that
  # is not directly impacting the project schedule, but which you like to
  # keep in one place.
  #extend task {
  #  reference spec "Link to Wiki page"
  #}
  #extend resource {
  #  text Phone "Phone"
  #}

}
# macros
macro TaskTip [
  tooltip istask() -8<-
    '''Start: ''' <-query attribute='start'->
    '''End: ''' <-query attribute='end'->
    ----
    '''Resources:'''

    <-query attribute='resources'->
    ----
    '''Precursors: '''

    <-query attribute='precursors'->
    ----
    '''Followers: '''

    <-query attribute='followers'->
    ->8-
]

# flags
flags important, hidden

# accounts
account cost "Project Cost" {
  account dev "Development"
  account doc "Project Management"
}
account rev "Customer Payments"
balance cost rev

# shifts

# vacations
vacation "Weihnachten" 2022-12-24

# resources
# The daily default rate of all resources. This can be overridden for each
# resource. We specify this so we can do a good calculation of
# the costs of the project.
rate 400.0
include "mitarbeiter.tji"

# tasks
include "projects/strategiekommunikation.tji"
include "projects/synergy.tji"
include "projects/support-abrechnungs-prozess.tji"
include "projects/log4j.tji"
include "projects/pwm.tji"

# Reports
include "reports.tji"
## accountreports
## resourcereports
## taskreports
## textreports
# exports

copyright "Felix Förtsch"