vendredi 24 juin 2016

Invoice Template Builder

I have a simple invoice e.g.

 __________________________________________
|                                          |
| LOGO                        INVOICE      |
|__________________________________________|
|                                          |
| Name                        INV ID:0012  |
| Address                     DATE: 12/02  |
|__________________________________________|
|                                          |
|  ______________________________________  |
| | #  |  ITEM          |Qty|Price|Amount| |
| | 1  |  Item 1        | 2 |10.00| 20.00| |
| | 2  |  Item 2        | 1 | 2.00|  2.00| |
| |____|________________|___|_____|______| |
|                       | Total   | 22.00| |
|                       |_________|______| |
|                                          |
|__________________________________________|

This is very plane. I want my website user to be able to customize there Invoice as per there need.

  1. They can easily move the logo, Name, Address where they want.
  2. They can Add extra Form Fields anywhere in page (From a limited set of fields available to them)
  3. They can add Extra Text any where on the page.
  4. They can change the colors.
  5. They can also select from predefined designs. etc etc...

Now the question is, Is there any php, jquery/js laravel library that I can use to achieve this.

I install few wysiwyg editors (TinyMCE and CKEditor) but i was not able to restrict to to add elements from my limited list, also, I wasn't able to figure out how to save the design such that I can use that when user created a new Invoice from the template. Also adding form element was not a choice in those editors.

Please let me know if any part of my question does not make sense, I will try my best to elaborate.

Thanks



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire