Giter Site home page Giter Site logo

contributte / invoice Goto Github PK

View Code? Open in Web Editor NEW
96.0 13.0 25.0 1.17 MB

:memo: PDF invoice generator

Home Page: https://contributte.org/packages/contributte/invoice.html

License: MIT License

PHP 70.58% Makefile 1.03% HTML 28.39%
invoice invoicing invoice-generator pdf-invoice pdf-invoice-generation invoice-pdf invoices invoice-template contributte nette

invoice's People

Contributors

adaamz avatar f3l1x avatar mabar avatar martkcz avatar petrparolek avatar roman3349 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

invoice's Issues

Version 4 or 5?

  • Create invoice pdf from svg (new repository for svg to pdf)
  • Greyscale
  • Remove calculators and formatters (fixed string values)
  • Simplify data classes
  • PHP 8.0
  • Replace template

@f3l1x release 3.1.0 or 4.0.0 for current version

Apache | Request exceeded the limit of 10

Hi all, @mabar and @MartkCz ,
I am getting following error on apache server.

Once I implement the code and while the implementation process, I was able to run the invoice generator on my local environment.

Can anyone assist me on this issue who faced that before or have any idea?

[core:error] [pid 26134] [client 212.2.212.122:51600] AH00124: Request exceeded the limit of 10 internal redirects due to probable configuration error. Use 'LimitInternalRecursion' to increase the limit if necessary. Use 'LogLevel debug' to get a backtrace.,

v1.1.x - Nette extension broken in composer

Versions 1.1.1 and 1.1.2 in composer change a translation prefix in InvoiceExtension.php from $builder->addDefinition($this->prefix('translator')) to $builder->addDefinition($this->prefix('translation')).

This seems to break Nette with the following exception:

Service 'invoice.invoice': Reference to missing service 'invoice.translator'. in /srv/www/test/vendor/nette/di/src/DI/ContainerBuilder.php:582 caused by Nette\DI\ServiceCreationException: Reference to missing service 'invoice.translator'. in /srv/www/test/vendor/nette/di/src/DI/ContainerBuilder.php:874.

It can be fixed either by changing the prefix name back or changing the other uses from
$this->prefix('@translator') to $this->prefix('@translation').

Setting language in neon config doesn't work

Setting invoice language in neon config as specified in the docs doesn't work. It always uses the default english language.

invoice:
	lang: cs

I had to manually supply a cs argument to the Translator class like this for it to work:

new Invoice($company, new DefaultTemplate(new Translator("cs"), new Formatter("cs")));

Thanks for looking into that and of course thanks for the package!

Uncaught Error: Class 'Contributte\Invoice\Data\Company' not found

Hi, as you can see, I receive the error

Fatal error: Uncaught Error: Class 'Contributte\Invoice\Data\Company' not found in /Applications/MAMP/htdocs/Varie/ddt.php:3 Stack trace: #0 {main} thrown in /Applications/MAMP/htdocs/Varie/ddt.php on line 3

My file php is:

<?php

$company = new Contributte\Invoice\Data\Company('John Doe', 'Los Angeles', 'Cavetown', '720 55', 'USA', '0123456789', 'CZ0123456789');

Schermata 2020-06-15 alle 16 37 35

How to save the pdf file?

Hi, sorry for this another question but the documentation is incomplete :(

How do I do to save the pdf file in a folder? Thanks

License

Hi,
is lack of the LICENSE file intentional? :) I saw you're open-source enthusiasts group, would you like to add e.g. MIT license to this project (maybe this would be helpful: https://choosealicense.com/licenses/mit/)?

I'd like to use this package in commercial project, but without it I can't.
Thanks!

How about .pdf support ?

Hi, in your tags you have one its "invoice-pdf". But in your documentation i didnt see you are talking about pdf print...

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.