Subversion Repositories SmartDukaan

Rev

Rev 24523 | Rev 28596 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 24523 Rev 28516
Line 51... Line 51...
51
						<div class="input-group">
51
						<div class="input-group">
52
							<input placeholder = "Choose Range" id="walletRanges" name="walletRanges" type="text" value="" class="form-control">
52
							<input placeholder = "Choose Range" id="walletRanges" name="walletRanges" type="text" value="" class="form-control">
53
				    	</div>
53
				    	</div>
54
					</div>
54
					</div>
55
					<button type="submit" class="btn btn-primary mk_fetch_statement" >Download Statement</button>
55
					<button type="submit" class="btn btn-primary mk_fetch_statement" >Download Statement</button>
-
 
56
					<button type="submit" class="btn btn-primary mk_fetch_account" >Download Account Statement</button>
56
				</div>
57
				</div>
57
			</div>
58
			</div>
58
       	</div>
59
       	</div>
59
   	</div>
60
   	</div>
60
  	<div id="wallet-history-table">
61
  	<div id="wallet-history-table">
Line 131... Line 132...
131
				window.location.href=context+"/wallet/statement?startDate="+startDate+"&endDate="+endDate+"&fofoId=" + fofoId+"&q="+new Date().getTime();
132
				window.location.href=context+"/wallet/statement?startDate="+startDate+"&endDate="+endDate+"&fofoId=" + fofoId+"&q="+new Date().getTime();
132
			} else {
133
			} else {
133
				window.location.href=context+"/wallet/statement?startDate="+startDate+"&endDate="+endDate+"&q="+new Date().getTime();
134
				window.location.href=context+"/wallet/statement?startDate="+startDate+"&endDate="+endDate+"&q="+new Date().getTime();
134
			}			
135
			}			
135
		});
136
		});
-
 
137
		$('.mk_fetch_account').click(function(){
-
 
138
			if(typeof fofoId!="undefined") {
-
 
139
				window.location.href=context+"/account/statement?startDate="+startDate+"&endDate="+endDate+"&fofoId=" + fofoId+"&q="+new Date().getTime();
-
 
140
			} else {
-
 
141
				window.location.href=context+"/account/statement?startDate="+startDate+"&endDate="+endDate+"&q="+new Date().getTime();
-
 
142
			}			
-
 
143
		});
136
		getPartnerAheadOptions($("#partnerId"),function(selectedPartner){
144
		getPartnerAheadOptions($("#partnerId"),function(selectedPartner){
137
			fofoId = selectedPartner.partnerId;
145
			fofoId = selectedPartner.partnerId;
138
			$("#walletRanges").focus();
146
			$("#walletRanges").focus();
139
		});
147
		});
140
	});
148
	});