contributte / invoice Goto Github PK
View Code? Open in Web Editor NEW:memo: PDF invoice generator
Home Page: https://contributte.org/packages/contributte/invoice.html
License: MIT License
:memo: PDF invoice generator
Home Page: https://contributte.org/packages/contributte/invoice.html
License: MIT License
@f3l1x release 3.1.0 or 4.0.0 for current version
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.,
Create bc, float calculators
Hello,
can You add dependency for nette/utils?
DefaultTemplate and ITemplate have dependencies Formatter, not implementation IFormatter, like Translator.
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')
.
Class 'WebChemistry\Invoice\InvoiceFactory' not found
When Im use this class? Whats wrong? Im install from composer
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!
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');
Hi, sorry for this another question but the documentation is incomplete :(
How do I do to save the pdf file in a folder? Thanks
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!
In WebChemistry\Invoice\Renderers\PDFRenderer on line 97
return $this->pdf->Output();
This Echos the file and exits the app
There should Be
return $this->pdf->Output("S");
This just returns string
Some suggestions for free templates?
Hi,
is there a way how to change the invoice template?
Thank you
Hi, I need to change the color and translate the words in italian language. How do I do?
Hi, in your tags you have one its "invoice-pdf". But in your documentation i didnt see you are talking about pdf print...
I will send PR
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.