GithubHelp home page GithubHelp logo

manojiitkgp09 / croma Goto Github PK

View Code? Open in Web Editor NEW

This project forked from jai-singhal/croma

0.0 1.0 0.0 2.08 MB

:octocat: A Pharmacy Web application project made in Django created for my Dad

License: MIT License

Python 38.59% CSS 11.94% JavaScript 34.23% HTML 15.24%

croma's Introduction

Croma

A Medical Software using Django


PR Open Source Love Open Source Love

Demo Video

Demo Video

Introduction

This is the project which I have made in Django for my dad's medical shop. This project is beneficial for the ones, who runs a chemist shop or pharmacy shop, where user can create the stock of items, create Sale Invoice and make Purchase Invoice and take the Reports of the same.

Technologies used

  • Django/Python
  • Django Rest Framework
  • Javascript/Jquery
  • Css/Bootstrap3
  • PostgreSql

Perks of this application

  • 4 major sections of this application are Item Master(Inventory), Sales Invoice, Purchase Invoice, Reports.
  • This application is simple as system application to use.
  • Shortcuts are keyboard powered. You can handle whole application without using mouse.
  • Navigation from one field to other by Enter Key.
  • It contains every types of reports which is required.
  • Printing the invoice via printer.

How to run the application

  1. Install the python(>=3.6)

  2. Clone the repository from https://github.com/jai-singhal/croma

  3. Unzip it, and cd to it to the project directory.

  4. create virtualenv by

    Install via pip pip install virtualenv

    For linux/mac

    $ virtualenv -p python3 .

    And then activate it by

    $ source venv/bin/activate

    For Windows

    $ virtualenv .

    And then activate it by

    $ .\Scripts\activate

  5. Install the dependencies by. Use pip for windows

    $ pip3 install -r requirements.txt

  6. Change the settings.py, set the path according to your wish. Also set the database default to dbsqlite from postgres.

  7. Run the server. Use python for windows

    $ python3 manage.py runserver

  8. Create superuser from command line.

  9. Navigate to http://127.0.0.1:8000 and then login with superuser credentials.

How to use

1. Item Master

This is where you create/edit the item. Every item has some attributes, like what it's packing/unit, it's company name, it's salt/generic name, rac number, etc.

Now after adding basic details of the item, you can add the batches of the item by pressing "F9 key". Every batch has, its expiry, the stock(strip+nos), its sale/purchase price etc. Also one item can have more than one batches, so you can add more batches to the item.

2. Sales Invoice

Here you can create the invoice for the sale. The first input starts with the name of the party/patient followed by next input by name of the doctor, you have select the doctor from the list, also you can add(or edit) doctor without affecting the same form via pop up window.

Now that you have added the basic details of the invoice, you can add the item to the Invoice by simply pressing "F9 key".

After pressing the key, you will see a modal dialog box. Here you add the details of the Item. Add a item by entering a item name, and choose your item from autocomplete list. After selecting the item, you have to choose batch from the batch table, you can navigate the batches by up and down arrow keys. After selecting the batch, you have add the qty to the item and all other neccessary field required. You can add more item by repeating the same process

Note: After saving/updating the Invoice, you can print/view the Invoice bill generated.

3. Purchase Invoice

Here you can add your purchase bills. You can increase the stock by adding the purchased items in this section.

First add the basic details of the Invoice, like from which supplier it has been purchased, the amount, discount etc.

After adding basic details, add the items to the invoice, the procedure is same as that of sales invoice

4. Reports

Generate the different kinds of reports of Sales, Purchase, Inventory etc.

App Info

Author

Jai Singhal

Version

1.5.1

License

This project is licensed under the MIT License

croma's People

Contributors

dependabot[bot] avatar jai-singhal 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.