Page 1 of 1

ProcFee source/update

Posted: Thu Jul 09, 2009 1:33 am
by fdscadmin
I was doing some looking through the code and I was wondering if I could make a change regarding the calculation of the ProcFee? Currently it appears to get the fee from the priinsplan, patient, then provider. I would like to add a check for the type of code (IsMedical) and return the fee from the "Medical" priinsplan if applicable. It looks like I would only have to edit the ContrTreat.cs OnUpdate_Click() and add a new function in Fees.cs called something like "GetPriMedIns". Does anyone have any thoughts on this???

BTW: Reading through the forum it looks like external commits are disabled. What is the process now for adding a patch?

thanks,
david

Re: ProcFee source/update

Posted: Thu Jul 09, 2009 4:41 am
by jordansparks
The developers page explains this.
http://www.open-dent.com/manual/developers.html
Hopefully your change can be very small and can be submitted in the form of a patch text file. Tortoise can generate a very nice patch text file.

Re: ProcFee source/update

Posted: Thu Jul 09, 2009 5:27 am
by fdscadmin
No problem...looks like tortoise creates a nice patch. However before I submit it I would like to test it. I just updated my source directory from head and I can't compile without a raft of errors. Are there major changes in the works?

Re: ProcFee source/update

Posted: Thu Jul 09, 2009 5:54 am
by jordansparks
What are the errors? It should works just fine.