Giter VIP home page Giter VIP logo

sale_report's Introduction

sale report

A sale data report generator application with Django 3.1.


Screenshots of the app

All of the web pages are login required

Home Page

in the home page you can use the search form to find the datas between a certain date and then visulize it with the type of chart you want(Bar chart-Line chart-Pie Chart) , and the set the "Results By" field to get the results by transaction or their sale's date.

Home Page View source code

Then You can see the data frames according to your search and the selected chart, Then you can Add a report with the given Data.

You can add a report based on your given chart.

Create Report View source code


Sales Page

In the sales page you can see all the sale objects list.

Sales List View source code

Sale objects Detail

Sales Detail view source code


Add from file

You can drag and drop your csv files to read the data from them and then add them to the database.

Drag and drop implemented by dropzone.js

CSV Upload View source code


Reports

In reports page you can see all of the created reports and you can see every report's detail and you can generate a pdf for the desired report.

Reports List View source code

reports detail page

Reports Detail View source code

generating pdf for reports

Render PDF View source code


Profile

You can edit and update your profile in this page.

Profile View source code


Libraries i used for this Django project:

Name Description
pandas Dataframe creation
Matplotlib Chart Implementation
PyPDF2 pdf toolkit(creating pdf,...)
xhtml2pdf HTML to PDF converter

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.