GithubHelp home page GithubHelp logo

erpnext_ytd's Introduction

Salary YTD

Employee Salary Year to Date

The use case is that in many jurisdictions, knowing the YTD value for various salary components is useful to an employee from an awareness perspective (on printed salary slip) and is also very useful in varying tax calculations that need to know this value due to ways that tax are applied based on the value. By having this app installed, employees will be able to see how much they've currently earned and deductions paid during the company fiscal year.

Setup Guide

Prerequisite

Creating Salary Year to Date DocType

At the moment, we need to manually create a Salary Year to Date table, which is based on the Salary Detail table. Afterwards, we are going to add a table field to the Salary Slip and Salary Structure DocType.

  • Create a duplicated version of the Salary Detail and name it Salary Year to Date.
  • Remove all fields except the ones listed below or in the screenshot:
    • salary_component
    • abbr
    • amount

Customize the Salary Slip and Salary Structure to include the Salary Year to Date DocType

  • Go to http://yoursite/desk#Form/Customize%20Form
  • Enter Salary Slip in the DocType field
  • Customize the Salary Slip Form and add a table field called Salary Year to Date, which uses the Salary Year to Date Table-DocType as seen in the screenshot below. Repeat this process for the Salary Structure Form

Installing erpnext_ytd

  • Clone the repository into your apps folder:
cd /path/to/frappe-bench/apps/
git clone https://github.com/alteroo/erpnext_ytd.git
  • Install the app using the following command:
cd /path/to/frappe-bench/
bench --site <site-id> install-app erpnext_ytd
  • Restart your server and you should be good to go.

Example of Year to Date

Sal_Slip_EMP_0001_00025

License

MIT

erpnext_ytd's People

Contributors

b4oshany avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  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.