Skip to content
This repository has been archived by the owner on Jun 22, 2022. It is now read-only.

Web-based Chemical Inventory written in flat procedural PHP.

License

Notifications You must be signed in to change notification settings

semseysandor/chem-inventory_original

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 

Repository files navigation

README

NOTE: This repo is archived, read-only access is provided.

ChemInventory

This is a chemical inventory suitable for a medium-sized company. A very similar system is actually used in the industry.

Like any inventory, this system is designed to answer two questions:

  1. WHAT we have
  2. WHERE it is

Chemicals are structured in categories/subcategories. There are compounds, a compound can have batches and a batch can have many packs. Locationwise you can design laboratories (rooms), inside laboratories different storages (like cabinets, cupboards, fridges, etc.) and inside storages some sub- storages (e.g. shelves of a cupboard). Anyway, you can use any logic, nevertheless there is a 3-tier location system.

Compound, batch and pack management is through the web interface. Locations & manufacturers are stored in the database as well as user right levels, so you can manipulate them with a database management software or plain SQL.

Barcodes are assigned to each pack, so you can use labels for identification in the lab. (barcode printing is not implemented yet in this application)

Uploading the CoA and MSDS documents are possible for each batch.

Adding and editing batches and packs is only allowed for admins. Users can add/edit compounds and upload documents, whereas guests only can view and search the database.

FEATURES

  • LDAP authentication
  • Three user access levels (guest/user/admin)
  • Add/edit compounds, batches and packs
  • Inactivate packs when getting empty
  • Changelog for audit trails
  • Search chemicals with autocomplete
  • Generate barcodes
  • Drawing chemical structures

INSTALLATION

  1. Install a web server (like Apache) with support for PHP5
  2. Install a LDAP server
  3. Copy all the source (/src) files to host on your web server
  4. Setup a MySQL server and import DB_structure.sql
  5. Edit config.php with your credentials (database & LDAP)
  6. (optional) Load the database with sample data (DB_sample_data.sql)

LICENSE

GNU General Public License v3.0

This is a free software ;)

CONTACT

If you need more information feel free to contact me: semseysandor@gmail.com