Skip to content
forked from jai-singhal/croma

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

License

MIT, Unknown licenses found

Licenses found

MIT
LICENSE
Unknown
LICENSE.txt
Notifications You must be signed in to change notification settings

Harshit147/croma

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

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

Resources

License

MIT, Unknown licenses found

Licenses found

MIT
LICENSE
Unknown
LICENSE.txt

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 38.7%
  • JavaScript 34.2%
  • HTML 15.2%
  • CSS 11.9%