Giter VIP home page Giter VIP logo

invoice_generator's Introduction

Invoice Generator


A simple web-based invoice generator.

User interface

web_interface

Functionality

  • Add item: Add items to your invoice by entering the appropriate information in the user interface.

  • View or Download: View or download the generated invoice. When you download, the invoice is saved on the server and the unique invoice number will automatically increment.

  • Tax and Discount: Performs calculations by taking into account additional parameters such as tax and discount.

Project Files

File Description
index.html The main HTML file for the user interface.
script.js JavaScript script to control interaction with the interface.
pdfmake.min.js A pdfmake library for generating PDF documents.
invoice_number.php PHP script to generate a unique invoice number.
save_pdf.php PHP script to save the generated PDF invoice.
read_invoice_number.php PHP script to read invoice number from the database.
styles.css Styles file to give the appearance of the user interface.

How to use

  1. Make sure you have XAMPP or a similar server installed.
  2. Copy all project files to the web server directory (e.g. htdocs for XAMPP).
  3. Start XAMPP and enable the Apache server.
  4. Open a web browser and type http://localhost/index.html.
  5. Enter the required information to generate the invoice and save the PDF.

Requirements

  • Web browser that supports JavaScript.
  • XAMPP or a similar local server.

Example of generated PDF

pdf

invoice_generator's People

Contributors

viaszx avatar

Watchers

 avatar

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.