Pietro Passarelli

Simple Invoice

GitHub, Url
Stack: Ruby on Rails, Bootstrap, HTML, CSS, Heroku, Git, GitHub, Heroku,
A simple invoicing application for freelancers

As the name sudgests It’s a simple invoicing application to keep track of due payments, and create pdfs to e-mail to clients with ease.

I used ruby on rails, bootstrap, and the theme cosmo from bootswatch.


You can view all of the invoices, and see at a glance, outstanding payments, and overdue once.

The overdue field is calculated adding 30 days on the invoice date, and when Time.now is 30 days over the invoice date it is marked as overdue automatically.

You can also view the invoices by clients.

a new invoice, pulls the default details for the client, user, and bank account so that you only have to add the services and your good to go.

When creating the invoice to associate it with a client, it uses Active record, find or create method, this either associate it with existing client or creates a new instance.

I tryed to make the layout of the invocie looks as closely as possible to an actual “word template invoice”, which is what most people use.

and this is what the pdf export done using CSS print friendly settings looked like, again tryed to keep as much consistency as possible with the screen version.


Some stills form my Presentation at Markers Academy:


Having no coding expirience prior to the bootcam, overall it took about 2 weeks to put the app togethere, out of which I think is fair to say a round one and half to come to terms with rails and the remaining time to put togethere the app.