Subversion Repositories SmartDukaan

Rev

Rev 13525 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 13525 Rev 20278
Line 163... Line 163...
163
	tbodyEle = [];
163
	tbodyEle = [];
164
	var first = true;
164
	var first = true;
165
	jQuery.each(bank.emis, function(id, bankTenure) {
165
	jQuery.each(bank.emis, function(id, bankTenure) {
166
		tbodyEle.push('<tr>');
166
		tbodyEle.push('<tr>');
167
		if(first) {
167
		if(first) {
168
			tbodyEle.push('<td><input id="tenure_' + id + '" type="radio" name="payment_option" value="' + id + '" checked="checked"/></td>');
168
			tbodyEle.push('<td><input id="tenure_' + id + '" type="radio" name="payment_option" value="EMI~' + id + '" checked="checked"/></td>');
169
			first = false;
169
			first = false;
170
		} else {
170
		} else {
171
			tbodyEle.push('<td><input id="tenure_' + id + '" type="radio" name="payment_option" value="' + id + '"/></td>');
171
			tbodyEle.push('<td><input id="tenure_' + id + '" type="radio" name="payment_option" value="EMI~' + id + '"/></td>');
172
		}
172
		}
173
		tbodyEle.push('<td>' + bankTenure.tenureDescription + '</td>');
173
		tbodyEle.push('<td>' + bankTenure.tenureDescription + '</td>');
174
		/*if (id in EMI.discounts){
174
		/*if (id in EMI.discounts){
175
			emiProcessingCharge = bankTenure.emiProcessingCharge - EMI.discounts[id];
175
			emiProcessingCharge = bankTenure.emiProcessingCharge - EMI.discounts[id];
176
			tbodyEle.push('<td class="emi-amount"><span class="rupee-icon" style="text-decoration:line-through">' + bankTenure.emiProcessingCharge + '</span>&nbsp;<span class="red">' +bankTenure.discountedEmiProcessingCharge+'</span></td>');
176
			tbodyEle.push('<td class="emi-amount"><span class="rupee-icon" style="text-decoration:line-through">' + bankTenure.emiProcessingCharge + '</span>&nbsp;<span class="red">' +bankTenure.discountedEmiProcessingCharge+'</span></td>');