GithubHelp home page GithubHelp logo

mfdpaycalculator's People

Contributors

rescue9 avatar

Watchers

 avatar  avatar

mfdpaycalculator's Issues

Additional pay deduction

Employees who have additional pay for city & state taxes need to have ability to enter this additional amount.

Fix total values

Values are not displaying correctly. Possibly a decimal format issue.

Deduction EditText areas

The edit text boxes on the deduction layout need to be set to single line only & not accept [enter].
The deduction amount needs to be set to number only.
The textarea for description need to be made editable..... maybe need to use an edittext.

Hide Soft Keyboard on Deduction Entry

Having the soft keyboard popup each time the deduction entry box is opened is a pain. Hide that and see if that works better. Will likely have to clearfocus of all items so that onfocus will automatically pull keyboard up.

Finalize Deductions

Finish deduction engine & calculate 'Deposit' amount minus all deductions.

REFACTOR!

Code is getting a bit sloppy again... gime for some refactoring.

Add entry for pay date

Current formula calculates to the current date. Implementing a date picker for the pay date is good... but a specific date picker needs to be implemented as well.

Implement hire date

Remembering to reset years of service annually is a pita. Implement a hire date value instead and calculate our years of service from that.

Overtime value increasing

On every gui refresh the overtime value increases by 1 zero. The value should not increase at all.

One Preference instance!

Figure out a way to only have one "SharedPreferences preferences = PreferenceManager.getDefaultSharedPreferences(this);"!

REMOVE SYSLOG!

Change all System.out lines to Log.d lines

if(DEBUG) Log.d(TAG, "info");

Save button values on return from dialog

Current setup is to refresh button values after refreshGui() is called (implemented this way for testing). These values need to save after dialog is returned so that they persist through device changes.

Premium toast once!

Premium version toasting every time orientation changes looks nasty. Toast only once.

Reset values red text

Values that need to be reset due to being null should be displayed red so user know which value was reset.

Correct longevity calculation

Longevity is calculated by number of days since hire date. Calculation formula needs to be changed from monthly calculation method to daily calculation method

-=(Daily Calculation)=-
For Ex. 01/06/2000 hire date (From and including: Thursday, January 6, 2000)
07/05/2013 paycheck date (To, but not including Friday, July 5, 2013)
4929 days on the job.

longevity = (7 * longevity_total_days since hire)
long_hourly_rate = (longevity / 2912 / 30.4375) // 30.4375 = 365.25 (days in year) / 12 (months in year)

sched_ot_pay = (base + long_hourly_rate) * 1.5 * sched_ot_hrs
unsched_ot_pay = (base + long_hourly_rate + (3100/2080)) * 1.5 * unsched_ot_hrs

REFACTOR!

Code after taxengine is nasty! Needs to be cleaned up.

Landscape phone unusable!

Total values completely cover entry fields in landscape view. Consider splitting view if possible.

Years of service

Ability to set years of service is not available in simple layout. Add to settings for layout

Payday Toasts

Need toasts telling what is calculated each payday.

Instant Calculation

Remove Calculate button and think about having the values calculate automatically on any value change. Might be nice to implement this as a setting... Show Button?

Select all in EditText

Base value edittext boxes do not select all when changing. Boxes should select all on focus so user does not have to press delete button repeatedly.

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.