NamePros
Welcome, Guest! Ready to make a name for yourself in the domain business? We welcome both the hobbyist and professional domainer to join the discussion as part of the NamePros community.

Click here to create your profile to start earning reputation for posting, and trader ratings for buying & selling in our free e-marketplace. Build your trader rating with each successful sale. Our system has tracked over 100,000 sales and counting!
FAQ & TOS Register Search Today's Posts Mark Forums Read

Go Back   NamePros.com > General Marketplace > Web Development > Web Development Wanted
Reload this Page RMA Calculator Webpage

Web Development Wanted Requests for websites, templates, custom programming, logos or graphics.

Advanced Search


Closed Thread
 
LinkBack Thread Tools
Old 04-29-2005, 09:47 AM THREAD STARTER               #1 (permalink)
First Time Poster!
Join Date: Apr 2005
Posts: 1
TycoonMillion is an unknown quantity at this point
 



RMA Calculator Webpage


Hello everyone. I'm in a mad hunt for someone willing to finish 1 single web page and after 2 days I've got nothing. Anyone willing to give it a go for a price?

I've posted this request on RentACoder also...

http://www.rentacoder.com/RentACoder...questId=276505

I have what we call an RMA Calculator. It is used within a subscription service. It calculates credit within a customers account when taking into consideration the amount paid (Package), the start date of the subscription and the cancellation date, all entered manually from text boxes and drop down menus. It works great but I require more advanced changes to be made.

I have no time to finish this project myself. I will provide source and do my best to explain the changes to be made.

I recently added a new drop down menu called 'Intended Package' and a text box called 'Amount Required For New Package'. I use the RMA to find credit and use that to do a calculation on the MSCalculator to find what the customer needs to pay once credit is taking into consideration. I would now like the RMA calc to complete this. All operations are as normal however, IF the user makes a selection on the 'Intended Subscription' menu then the credit, which is allready calculated and available in another text box, will be deducted from the new package price and what is left displayed in the 'Amount Require...' box. I require these calculations to be set into my code. I also require special calculations to be made depending on a certain date set within the code. If its before the set date a deduction from the cost of service has to be made. Further details in my Deliverables.


Platform:

None applicable



Additional Files: This bid request includes IMPORTANT additional attached files. Please download and read fully before bidding.
1.96 kb
Deliverables:

If anyone can think of a better way of doing the calculations I'm all ears. MY SOURCE CODE IS IN A ZIP FILE.

I have what we call an RMA Calculator. It is used within a subscription service. It calculates credit within a customers account when taking into consideration the amount paid (Package), the start date of the subscription and the cancellation date, all entered manually from text boxes and drop down menus. It works great but I require more advanced changes to be made.

I have no time to finish this project myself. I will provide source and do my best to explain the changes to be made.

I recently added a new drop down menu called 'Intended Package' and a text box called 'Amount Required For New Package'. I use the RMA to find credit and use that to do a calculation on the MSCalculator to find what the customer needs to pay once credit is taking into consideration. I would now like the RMA calc to complete this. All operations are as normal however, IF the user makes a selection on the 'Intended Subscription' menu then the credit, which is allready calculated and available in another text box, will be deducted from the new package price and what is left displayed in the 'Amount Require...' box. I require these calculations to be set into my code.

We also have regular Free Service but continue to subscribe to that service during the Free period. We cannot charge customers for this Free period so we would like the RMA Calc to calculate as normal however if certain choices are made from the package then a new calculation kicks on. The choices are 11, 12, 13 and 14 and if these are selected in the intended package menu then the special calculation kicks on. We will show Free view until 1st June. On and after this date we will not require special deducation but from now until that date we will be required to find the cost of service from now until then and deduct that from the total of 'Amount Required...'. The RMA allready calculates the daily charge of our packages so we just code that finds the current date, counts the days until 1st June not including 1st June, multiple this by cost of daily charge and then we have the amount to be deducted from the total cost.

Now theres a catch! The Free Service at the moment is called Gujarati however this will be used many times so will change. Gujarati on its own is different price from when it is with another service called Zee TV. This is important. Gujarati is only £3 per month when with another channel or £36 for the year and so this is the amount to lessen when doing the calculations for discount as discussed above. The package prices are well states in the code including Gujarati on its own. If this is not taken into account the deductions mentioned above would be for all services including once not being provide for Free.
????: NamePros.com http://www.namepros.com/web-development-wanted/86170-rma-calculator-webpage.html

These special calculations will only kick in when we select 11 12 13 or 14 within the menu. I have marked them with (Pre 1st June) and you will see duplicate packages of these 4 but with (Post 1st June). This is for the users reference.

Well I think thats it and I hope I've explained it well. Thanks for any attention and support.

I'm thinking it might be possible to not have 11 12 13 and 14 in the menu and simply have it so that when a package with Gujarati is selected it first checks the date and if its before 1st June it does the calculations.The service goes OFF on the 1st June so its important that theres no hicups and the total prices are charges.

HERES THE CODE...

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<!-- saved from url=(0070)file://G:\Operations\Agents\Intranet\RMA%20Calculator\rma frameleft.htm -->
<HTML><HEAD><TITLE>MGT RMA Calculator</TITLE>
<META http-equiv=Content-Type content="text/html; charset=windows-1252">
<STYLE>BODY {
MARGIN: 0px 0px 0px 5px; COLOR: #ffffff; BACKGROUND-COLOR: #234594
}
.1 {
FONT-WEIGHT: bold; FONT-SIZE: 14px; COLOR: #ffffff; FONT-FAMILY: helvetica
}
</STYLE>

<META content="MSHTML 5.50.4916.2300" name=GENERATOR></HEAD>
<BODY onload=init()>
<P><IMG height=77 src="rmaframeleft_files/globe_logo.gif" width=77
name=globe_logo></P><!-- #BeginEditable "doctitle" --><!-- #EndEditable -->
<STYLE>TH {
TEXT-ALIGN: right
}
INPUT {
WIDTH: 100px; TEXT-ALIGN: right
}
</STYLE>

<SCRIPT>

function reCalc(theField){

var theForm = theField.form;

if(theField.name.indexOf("Charge")==0){

var fldVal = theField.value.replace(/[^\d\.]/g,"");

if(fldVal!=theField.value) theField.value = fldVal;

if(theField.name=="ChargeYear"){

chgDay = fldVal/365;

theForm.ChargeMonth.value = (fldVal/12).toFixed(2);

theForm.ChargeDay.value = (fldVal/365).toFixed(2);

}

if(theField.name=="ChargeMonth"){

chgDay = fldVal/30;

theForm.ChargeYear.value = (fldVal*12).toFixed(2);

theForm.ChargeDay.value = (fldVal/30).toFixed(2);

}

if(theField.name=="ChargeDay"){

chgDay = fldVal*1;

}

} else {

theForm.ChargeYear.value = (theForm.ChargeYear.value*1).toFixed(2);

theForm.ChargeMonth.value = (theForm.ChargeMonth.value*1).toFixed(2);

theForm.ChargeDay.value = (theForm.ChargeDay.value*1).toFixed(2);

}

var accDays = 0;

theForm.AccDays.value = "0";

theForm.AccCharge.value = "0.00";

theForm.AccRefund.value = theForm.ChargeYear.value;

if(theField.name.indexOf("AccDate")==0){

var fldVal = theField.value.replace(/[^\d\/]/g,"");

if(fldVal!=theField.value) theField.value = fldVal;

var sDate = getDate(theForm.AccDateStart.value);

var eDate = getDate(theForm.AccDateEnd.value);

if(sDate && eDate){

accDays = parseInt((eDate-sDate)/86400000) + 1;

if(accDays>0){

theForm.AccDays.value = accDays;

}

}

}

var chgDay = theForm.ChargeYear.value/365;

var accDays = theForm.AccDays.value*1;

if(chgDay>0 && accDays>0){

var accCharge = chgDay*accDays;

theForm.AccCharge.value = accCharge.toFixed(2);

theForm.AccRefund.value = (theForm.ChargeYear.value-accCharge).toFixed(2);

}

}



function getDate(dateValue){

var dPart = dateValue.split("/");

if(dPart.length==3 && dPart[2].length==2){

return new Date("20"+dPart[2], dPart[1]-1, dPart[0])

}

return false;

}

function init(){

elem = document.forms[0].elements;

for(var i=0;i<elem.length;i++){

if(elem[i].type=="text"){

elem[i].onkeyup = function(){reCalc(this)};

}

}

????: NamePros.com http://www.namepros.com/showthread.php?t=86170
}

</SCRIPT>

<SCRIPT language=JavaScript>
<!--

function reset() {
parent.frames[A].location = "main.html";
}
//-->
</SCRIPT>

<FORM>
<TABLE>
<TBODY>
<TR>
<TH colSpan=2>RMA Calculator</TH>
<TR>
<TR>
<TH width="280">Annual Charge:</TH>
<TD width="268">
<SELECT name=ChargeYear onchange="reCalc(this);">
<option value="0">Please Select Existing Package
<option value="0">-------------------------------------------------------------------------------
<option value="155.88">1. Annual Zee TV
<option value="119.88">2. Annual Alpha etc Punjabi
<option value="119.88">3. Annual Zee Gujarati (Post 1st June)
<option value="191.88">4. Annual Zee TV + Alpha etc Punjabi
<option value="191.88">5. Annual Zee TV + Zee Gujarati (Post 1st June)
<option value="0">-------------------------------------------------------------------------------
<option value="12.99">6. Monthly Zee TV
<option value="9.99">7. Monthly Alpha etc Punjabi
<option value="9.99">8. Monthly Zee Gujarati (Post 1st June)
<option value="15.99">9. Monthly Zee TV + Alpha etc Punjabi
<option value="15.99">10. Monthly Zee TV + Zee Gujarati (Post 1st June)
<option value="0">-------------------------------------------------------------------------------
<option value="191.88">11. Annual Zee TV + Zee Gujarati (Pre 1st June)
<option value="119.88">12. Annual Gujarati (Pre 1st June)
<option value="15.99">13. Monthly Zee TV + Zee Gujarati (Pre 1st June)
<option value="9.99">14. Monthly Gujarati (Pre 1st June)
</SELECT> </TD></TR>
<TR>
<TH width="280">Monthly Charge:</TH>
<TD width="268">
<INPUT name=ChargeMonth> </TD></TR>
<TR>
<TH width="280">Daily Charge:</TH>
<TD width="268">
<INPUT name=ChargeDay> </TD></TR>
<TR>
<TH width="280">Start Date:</TH>
<TD width="268">
<INPUT name=AccDateStart> </TD></TR>
<TR>
<TH width="280">End Date:</TH>
<TD width="268">
<INPUT name=AccDateEnd> </TD></TR>
<TR>
<TH width="280">Days Viewed:</TH>
<TD width="268">
<INPUT name=AccDays> </TD></TR>
<TR>
<TH width="280">Charge For Days Viewed:</TH>
<TD width="268">
<INPUT name=AccCharge> </TD></TR>
<TR>
<TH width="280">Refund/Credit Amount:</TH>
<TD width="268">
<input name=AccRefund>
</TD>
</TR><TR>
<TH width="280">New Package:</TH>
<TD width="268">
<SELECT name=ChargeNewPackage onchange="reCalc(this);">
<option value="0">Please Select Intended Package
<option value="0">-------------------------------------------------------------------------------
<option value="155.88">1. Annual Zee TV
<option value="119.88">2. Annual Alpha etc Punjabi
<option value="119.88">3. Annual Zee Gujarati (Post 1st June)
<option value="191.88">4. Annual Zee TV + Alpha etc Punjabi
<option value="191.88">5. Annual Zee TV + Zee Gujarati (Post 1st June)
<option value="0">-------------------------------------------------------------------------------
<option value="12.99">6. Monthly Zee TV
<option value="9.99">7. Monthly Alpha etc Punjabi
<option value="9.99">8. Monthly Zee Gujarati (Post 1st June)
<option value="15.99">9. Monthly Zee TV + Alpha etc Punjabi
<option value="15.99">10. Monthly Zee TV + Zee Gujarati (Post 1st June)
<option value="0">-------------------------------------------------------------------------------
<option value="191.88">11. Annual Zee TV + Zee Gujarati (Pre 1st June)
<option value="119.88">12. Annual Gujarati (Pre 1st June)
<option value="15.99">13. Monthly Zee TV + Zee Gujarati (Pre 1st June)
<option value="9.99">14. Monthly Gujarati (Pre 1st June)
</SELECT> </TD></TR>
<TR>
<TH width="280">Amount Required For New Package:</TH>
<TD width="268">
<INPUT name=AccIntendedCharge>
</TD>
</TR>
<TR></TBODY></TABLE>
<SCRIPT language=JavaScript>
document.write('<form><input type=button value="Refresh" onClick="reset();"></form>')
</SCRIPT>
</FORM></BODY></HTML>
TycoonMillion is offline  
Closed Thread


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools


Liquid Web Smart Servers  
All times are GMT -7. The time now is 07:05 AM.

Managed Web Hosting by Liquid Web
Domain name forum recommended by Domaining.com Powered by: vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.6.0 Ad Management plugin by RedTyger