Giter Site home page Giter Site logo

invoice-templates's Issues

Unable to find template after creation/preview

I have tried the template din5008-invoice.pdf.twig and copied it to the "invoices" directory.
It is now shown in the invoice templates and I can select it.

Now if I try to show the invoice I get the following error:
image

Running it via Docker compose on a Synology NAS.
Version 1.30.1 stable (prod)

Here is the template saved:
image

I have not changed the template yet.

Can you help what I did wrong?

bug at invoice_grouped_by_project

hi there is a bug (also on the screenshot of the repo) with the due_date in the text.

its the same variable like the one in the header, but the value is always today and not the due_date.

image

grouped-by-projects: Failed to parse time string

When attempting to Preview an Invoice using the grouped-by-projects invoice template, the following error is produced:

Changes could not be saved: An exception has been thrown during the rendering of a template ("Failed to parse time string (16/1/24) at position 0 (1): Unexpected character").

Presumably, this is an English locale issue but I can't identify where in the template this time string parsing occurs.

uploading templates

uploading invoice templates doesn't allow for pdf or html templates, even though the documentation says those are supported.

image

A few missing variables like project.comment

I am in the process of creating a docx template and would like to output the project description.

Unfortunately, this is not output in the final docx. With the help of the debug template I could see that it exists. However, the placeholder remains in the final document.

Both variables are actually filled, project.comment and query.project.comment.
Debug HTML
screenshot_ 2023-12-29 um 17 21 33

Final Docx:
screenshot_ 2023-12-29 um 17 22 30

[din5008.pdf.twig] Custom invoice date not been set

Describe the issue

When I'm creating a new invoice and set a custom invoice date, the date on the invoice is always the current date.

I already tried

Kimai version

2.5.0

How do you run Kimai?

Docker

Which PHP version are you using?

8.1

Logfile

No response

Screenshots

No response

Due Date

Hi!

in Kimai its possible to change invoice date. in my opinion the due date should be invoice date + payment term.

at the moment its today + payment term.

pls correct me if i am wrong :)

best regards
Harald

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.