It's an application which helps prepare a document with Delegation Summary, which is quite useful if you are having many abroad business trips over year and you are a employee registered in Poland.
Calculations made by this application are based on polish law, but please always double check amounts and proper law regulations, as law may change in future.
Live version can be found here: Delegations
- Automatically choosing proper daily diem amount basing on destination country
- Calculating amount of whole diem basing on time spent abroad, meals provided by employer, etc
- Determining exchange rate from NBP (Narodowy Bank Polski)
What you need to run this app succesfully
- node.js - as it's an Express application
- python-2.* - is needed by one of dependent libraries
- bower - for managing front-end packages
- pm2 - not necessary for development, but essential if you want to use this site on Live server
- PostgreSQL or MySQL - relational database used for storing Exchange Rates
I am assuming Linux as a standard environment, but with proper modifications, application is working also on Windows without bigger problems
git clone https://github.com/yhnavein/delegation-wizard.git delegations
cd delegations
npm install -d # -msvs_version=2013 if you have only VS2013 installed
bower install -d
cp config/config-sample.js config/config.js
node app
After that open http://localhost:3001/ using your favourite browser (not IE).
Released under the MIT License