Skip to content

Latest commit

 

History

History
15 lines (12 loc) · 631 Bytes

File metadata and controls

15 lines (12 loc) · 631 Bytes

HR

Generates visiting cards and their qr codes for a set of employees from database

How to run

Go to the hr directory and run

  1. hr.py initdb to initialize database
  2. hr.py designation <designation><max_leaves> to import designation to database
  3. hr.py import <employees_file> to import csv file to database
  4. hr.py generate to generate vcards
  5. hr.py leave <employee_id> <date> <reason> to add leave to leave record
  6. hr.py leave_detail <employee_id> to get leave detail of an employee
  7. hr.py export to export leave details to csv file
  8. hr.py web to serve flask app