Subversion Repositories SmartDukaan

Rev

Rev 26491 | Rev 27067 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
24876 tejbeer 1
<script type="text/javascript">
26491 amit.gupta 2
	var customRetailers = ${customRetailers};
24876 tejbeer 3
	$("#FofoId").typeahead({
4
	  source: customRetailers,
5
	  autoSelect: true,
6
	  displayText:function(item){return item.businessName + "-" + item.address.city;},
7
	  afterSelect:	function(currentItem){
8
	  					currentFofoId = currentItem.partnerId;
9
	  				}
10
	});
11
 
26491 amit.gupta 12
	$('#businessDate').daterangepicker(getSingleDatePicker(true), dateRangeCallback);
13
 
24876 tejbeer 14
</script>
15
 
16
<section class="wrapper">            
17
	<div class="row">
18
		<div class="col-lg-12">
19
			<h3 class="page-header"><i class="icon_document_alt"></i>Wallet-Edit</h3>
20
			<ol class="breadcrumb">
21
				<li><i class="fa fa-home"></i><a href="${rc.contextPath}/dashboard">Home</a></li>
22
				<li><i class="icon_document_alt"></i>CREDIT/DEBIT</li>
23
			</ol>
24
		</div>
25
	</div>
26
 
27
	<div style="background:white;background-color:white;padding:10px;">
28
		<h4 class="modelHeaderCustom" style="font-size:22px;">Credit/Debit</h4>
29
		<div>
24992 tejbeer 30
		<form id = "wallet-form" >
24876 tejbeer 31
			<div class = "row">
32
				<div class="col-lg-2 form-group">
24897 amit.gupta 33
			    	<input id="FofoId" type="text" class="typeahead form-control form-control-sm" placeholder="Partner Name" data-provide="typeahead" 
34
			    	 #if(${retailerName}) value="${retailerName}" #end
35
			    	 autocomplete="off"/>
36
 
37
			    </div>
38
			    <div class="col-lg-2 form-group">
39
					<button class="btn btn-primary fetchTransactions" type="button">Search Transactions</button>
40
				</div>
41
			</div>
42
 
43
			<div class = "row">
44
				<div class="col-lg-2 form-group">
24876 tejbeer 45
					<select class="form-control input-sm" id = "reference-type" name = "reference-type" placeholder="Reference Type">
46
						<option value="" disabled selected>Reference Type</option>
47
						#foreach($referenceType in $referenceTypes)
26517 amit.gupta 48
	             			<option value="${referenceType.getValue()}">$referenceType</option>
24876 tejbeer 49
	             		#end
50
	             	</select>
51
				</div>
52
 
53
				<div class="col-lg-2 form-group">
54
				   	<input placeholder="Reference Id" id="reference_id" name="reference_id" type="text" value="" class="form-control input-sm">
55
				</div>
56
 
57
				<div class="col-lg-2 form-group">
58
					<button class="btn btn-primary referenceSearch" type="button">Search</button>
59
				</div>
60
			</div>
24897 amit.gupta 61
 
62
			<div class = "row">
26491 amit.gupta 63
				<div class="col-lg-1 form-group">
24876 tejbeer 64
					<select class="form-control input-sm" id = "transaction-type" name = "transaction-type" placeholder="Transaction Type">
65
						<option value="" disabled selected>Transaction Type</option>
66
						#foreach($transactionType in $transactionTypes)
67
	             			<option value="$transactionType">$transactionType</option>
68
	             		#end
69
	             	</select>
70
				</div>
71
 
26491 amit.gupta 72
				<div class="col-lg-1 form-group">
24876 tejbeer 73
				   	<input placeholder="Amount" id="amount" name="amount" type="text" value="" class="form-control input-sm">
74
				</div>
75
 
26491 amit.gupta 76
 
77
				<div class="col-lg-1 form-group">
78
				   	<input placeholder="Business date" id="businessDate" name="businessDate" type="text" value="" class="form-control input-sm">
79
				</div>
80
 
24876 tejbeer 81
				<div class="col-lg-2 form-group">
82
				   	<input placeholder="Description" id="description" name="description" type="text" value="" class="form-control input-sm">
83
				</div>
84
 
85
 
26491 amit.gupta 86
				<div class="col-lg-1 form-group">
24876 tejbeer 87
					<button class="btn btn-primary transactionSubmit" type="button">Submit</button>
88
				</div>
89
				</div>
90
		</div>
91
	</div>
92
	</div>
24992 tejbeer 93
	</form>
24876 tejbeer 94
 
95
	     <div class="wallet-history-container">
96
		</div>	 
97
</section>
98