Skip to content

janson-git/invoice-generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple Invoice Generator

TLDR;

git clone git@github.com:janson-git/invoice-generator.git
cd invoice-generator
# build docker image
make build
# run invoice-generator in docker container
make up
# Done! Open http://localhost:44321 in your browser!

# when you created and saved your invoice, down the docker container
make down

Sample result of invoice generator

How Invoice Generator works

NOTE: Invoice Generator use NumberFormatter from INTL php extension to format invoice's Total sum as text:

123 will converted to One hundred twenty-three US dollars.

If you don't need it - remove NumberFormatter usage from invoice template.

To create new invoice:

  1. Open config.php and set up your project title/titles
  2. Run Invoice Generator in project folder with make up command
  3. Open in browser: http://localhost:4321/
  4. Setup invoice data: date, billed month, number of hours and hourly rate
  5. Send form and invoice will be displayed
  6. You can print it to PDF-file from browser (Ctrl+P)
  7. Stop Invoice Generator with make down command

Example of invoice PDF-file

About

Simple tool to generate monthly invoices

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages