Jay Scherrer [EMAIL PROTECTED] writes:
gnc_numeric workday;
gnc_numeric rate;
gnc_numeric type; /* employeeType */
gnc_numeric overTimeRate; /* employeeOverTimeRate */
technically, gnc_numeric is the wrong type for all but the 'rate'.
the workday and
This is in response to several above and my own thoughts on it last
night.
Derek Atkins wrote:
Example: scheduleY1()
This example is used for calculating the income tax for someone who is
married, filing jointly, and earns more then $100,000 according to the
IRS 1040 2001 rates.
On Wed, 2005-11-02 at 09:33 -0800, Andrew Sackville-West wrote:
This is in response to several above and my own thoughts on it last
night.
Derek Atkins wrote:
Example: scheduleY1()
This example is used for calculating the income tax for someone who is
married, filing jointly, and
Quoting Jay Scherrer [EMAIL PROTECTED]:
variables:
[$line41 = wages, $line42 = Tax, scheduleY1 = member function]
## Status = married filing joint ##
sub scheduleY1(){
my $line41 = shift;
if ($line41 = 0 $line41 = 12000){
$line42 = $line41 * .10;
}elsif ($line41 = 12000
Derek Atkins wrote:
...
Yes, exactly. We need some user-updatable definitions (in particular the
tax tables!) that we can execute on employee data. I think for your
testing you could just create a bunch of arrays or something, but just make
sure you don't make assumptions about how many tax
P. Christeas wrote:
IMHO the user wouldn't feel comfortable just by looking at a result.
Especially after he has entered himself the tables, he will want to verify
that they work as planned.
I think its reasonable to assume that if a user is actually running
their own payroll, they have a
Snip
On Wed, 2005-11-02 at 17:36 -0500, Derek Atkins wrote:
Yes, exactly. We need some user-updatable definitions (in particular
the
tax tables!) that we can execute on employee data. I think for your
testing
you could just create a bunch of arrays or something, but just make
sure you
Jay Scherrer wrote:
snippetty doo dah
Right on target. I my self don't know yet how GnuCash stores the
information into each account. But it would be nice if there was a form
to fill out while performing payroll that resembled a time clock or
pay-stub format (Once hours were entered all the
Quoting Jay Scherrer [EMAIL PROTECTED]:
[snip]
Derek Atkins's employee plus a couple more members:
struct _gncEmployee
{
QofInstance inst;
char * id;
char * username;
GncAddress *addr;
gnc_commodity * currency;
gbooleanactive;
char * language;
On Tue, 2005-11-01 at 23:30 -0500, Derek Atkins wrote:
Quoting Jay Scherrer [EMAIL PROTECTED]:
[snip]
Derek Atkins's employee plus a couple more members:
struct _gncEmployee
{
QofInstance inst;
char * id;
char * username;
GncAddress *addr;
On Sun, 2005-10-30 at 20:03 -0500, [EMAIL PROTECTED]
wrote:
Conrad Canterford wrote:
snipping
Jay,
On my very quick look at what you had there, it makes various
assumptions about the structure and nature of the payroll
deductions.
Not adaptable to different structures as they exist
Jay Scherrer wrote:
snip
For discussion, this was why I had at first suggested a payroll
calculator under GnuCash-tools. Using a framework much like the
Financial calculator by letting the user edit any taxable percentages.
Or, as I found your gnc_Employee and gnc_business classes. You could
On Mon, 2005-10-31 at 10:16 -0800, Andrew Sackville-West wrote:
IMHO, based on the broad requirements of many jurisdictions in the
gnucash user base, the more generic the solution the better. I
suppose
that at some point it becomes no easier than using a spreadsheet, but
bypasses the
On Sat, 2005-10-29 at 22:48 -0700, Jay Scherrer wrote:
bits snipped
Jay,
On my very quick look at what you had there, it makes various
assumptions about the structure and nature of the payroll deductions.
Not adaptable to different structures as they exist in different
countries. For example,
Conrad Canterford wrote:
snipping
Jay,
On my very quick look at what you had there, it makes various
assumptions about the structure and nature of the payroll deductions.
Not adaptable to different structures as they exist in different
countries. For example, most of our tax deductions work a
Quoting Jay Scherrer [EMAIL PROTECTED]:
Do you think a good place to start would be to add an gnc_employeeType
and a to your class _gncEmployee? Then we could create an editable
member of the tax class to match the companies Labor and Industry's
employee classification. Then would it be wise to
On Sat, 2005-10-29 at 21:44 -0400, Derek Atkins wrote:
Quoting Jay Scherrer [EMAIL PROTECTED]:
Do you think a good place to start would be to add an gnc_employeeType
and a to your class _gncEmployee? Then we could create an editable
member of the tax class to match the companies Labor and
17 matches
Mail list logo