Skip to content

Commit 707a2f1

Browse files
author
Andreas Müller
committed
documentation examples, more realistic --to date
1 parent 9b5cbbc commit 707a2f1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

documentation.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ docker run \
9090
--rm -it \
9191
-v ~/.local/share/.gtt/:/home/gtt/.local/share/.gtt \
9292
gitlab-time-tracker:latest \
93-
report "ourorganization/aproject" --user=xxxx --from="2020-04-01" --to="2020-06-30"
93+
report "ourorganization/aproject" --user=xxxx --from="2020-04-01" --to="2020-07-01"
9494
```
9595

9696

@@ -290,7 +290,7 @@ chromium --headless --run-all-compositor-stages-before-draw --print-to-pdf-no-he
290290
There are additional options for the invoice output as given in the following example:
291291

292292
```shell
293-
gtt report --output=invoice --file=invoice.md --from 2021-02-01 --to 2021-02-28 --closed --invoiceCurrencyMaxUnit 1 --invoiceTitle "Rechnung" --invoiceReference "Reference" --invoiceAddress "Firma" "Mr. X" "Strasse" "10000 Ort" "Land" --invoiceCurrency "EUR" --invoiceCurrencyPerHour "50" --invoiceVAT "0.15" --invoiceDate "1.03.2021" --invoicePositionText "Position Text"
293+
gtt report --output=invoice --file=invoice.md --from 2021-02-01 --to 2021-03-01 --closed --invoiceCurrencyMaxUnit 1 --invoiceTitle "Rechnung" --invoiceReference "Reference" --invoiceAddress "Firma" "Mr. X" "Strasse" "10000 Ort" "Land" --invoiceCurrency "EUR" --invoiceCurrencyPerHour "50" --invoiceVAT "0.15" --invoiceDate "1.03.2021" --invoicePositionText "Position Text"
294294
```
295295

296296
For paper invoice, further process the output with a css, see the folder preview (styles.css, invoice.pdf)

0 commit comments

Comments
 (0)