| 24876 |
tejbeer |
1 |
<script type="text/javascript">
|
| 33045 |
amit.gupta |
2 |
var customRetailers = ${customRetailers};
|
| 34964 |
amit |
3 |
|
|
|
4 |
getPartnerAheadOptions($("#FofoId"), function (selectedPartner) {
|
|
|
5 |
currentFofoId = selectedPartner.partnerId;
|
|
|
6 |
doGetAjaxRequestHandler(context + "/showPartnerPincode?partnerId=" + partnerId,
|
|
|
7 |
function (response) {
|
|
|
8 |
$('.partner-pincode-container').html(response);
|
|
|
9 |
|
|
|
10 |
});
|
|
|
11 |
|
| 33045 |
amit.gupta |
12 |
});
|
| 30601 |
amit.gupta |
13 |
|
| 33045 |
amit.gupta |
14 |
$('#businessDate').daterangepicker(getSingleDatePicker());
|
| 30601 |
amit.gupta |
15 |
|
| 33045 |
amit.gupta |
16 |
$('button.btnuploadcns').on('click', function () {
|
|
|
17 |
var fileSelector = $('#uploadcns')[0];
|
|
|
18 |
if (fileSelector != undefined && fileSelector.files[0] != undefined) {
|
|
|
19 |
if (confirm("Confirm Upload?")) {
|
|
|
20 |
doAjaxUploadRequestHandler("${rc.contextPath}/wallet/upload", "POST", fileSelector.files[0], function (response) {
|
|
|
21 |
if (response) {
|
|
|
22 |
alert("Content updated successfully");
|
|
|
23 |
}
|
|
|
24 |
});
|
|
|
25 |
}
|
|
|
26 |
} else {
|
|
|
27 |
alert("Please upload file!");
|
|
|
28 |
}
|
|
|
29 |
return false;
|
|
|
30 |
});
|
|
|
31 |
|
| 24876 |
tejbeer |
32 |
</script>
|
|
|
33 |
|
| 33045 |
amit.gupta |
34 |
<section class="wrapper">
|
|
|
35 |
<div class="row">
|
|
|
36 |
<div class="col-lg-12">
|
|
|
37 |
<h3 class="page-header"><i class="icon_document_alt"></i>Wallet-Edit</h3>
|
|
|
38 |
<ol class="breadcrumb">
|
|
|
39 |
<li><i class="fa fa-home"></i><a href="${rc.contextPath}/dashboard">Home</a></li>
|
|
|
40 |
<li><i class="icon_document_alt"></i>CREDIT/DEBIT</li>
|
|
|
41 |
</ol>
|
|
|
42 |
</div>
|
|
|
43 |
</div>
|
|
|
44 |
|
|
|
45 |
<div style="background:white;background-color:white;padding:10px;">
|
|
|
46 |
<form class="form-horizontal" style="display:inline-block">
|
|
|
47 |
<label class="control-label col-sm-2" for="excelfile">Bulk Credit/Debit:</label>
|
|
|
48 |
<div class="col-lg-3">
|
|
|
49 |
<div class="input-group">
|
|
|
50 |
<input class="form-control" type="file" id="uploadcns" name="uploadcns" value="Upload File">
|
|
|
51 |
<span class="input-group-btn">
|
| 27067 |
amit.gupta |
52 |
<button class="btn btn-default btnuploadcns">
|
|
|
53 |
Uplaod
|
|
|
54 |
</button>
|
|
|
55 |
</span>
|
| 33045 |
amit.gupta |
56 |
</div>
|
|
|
57 |
</div>
|
|
|
58 |
<!--<div class="col-lg-2">
|
|
|
59 |
<a class="btn btn-default" href="/content/template.csv">
|
|
|
60 |
Download Tempate
|
|
|
61 |
</a>-->
|
|
|
62 |
</form>
|
|
|
63 |
</div>
|
|
|
64 |
<div style="background:white;background-color:white;padding:10px;">
|
|
|
65 |
<h4 class="modelHeaderCustom" style="font-size:22px;">Credit/Debit</h4>
|
|
|
66 |
<form id="wallet-form">
|
|
|
67 |
<div class="row">
|
|
|
68 |
<div class="col-lg-2 form-group">
|
|
|
69 |
<input id="FofoId" type="text" class="typeahead form-control form-control-sm"
|
|
|
70 |
placeholder="Partner Name" data-provide="typeahead"
|
|
|
71 |
#if(${retailerName}) value="${retailerName}" #end
|
|
|
72 |
autocomplete="off"/>
|
| 24897 |
amit.gupta |
73 |
|
| 33045 |
amit.gupta |
74 |
</div>
|
|
|
75 |
<div class="col-lg-2 form-group">
|
|
|
76 |
<button class="btn btn-primary fetchTransactions" type="button">Search Transactions</button>
|
|
|
77 |
</div>
|
|
|
78 |
</div>
|
|
|
79 |
|
|
|
80 |
<div class="row">
|
|
|
81 |
<div class="col-lg-2 form-group">
|
|
|
82 |
<select class="form-control input-sm" id="reference-type" name="reference-type"
|
|
|
83 |
placeholder="Reference Type">
|
|
|
84 |
<option value="" disabled selected>Reference Type</option>
|
|
|
85 |
#foreach($referenceType in $referenceTypes)
|
|
|
86 |
<option value="${referenceType.getValue()}">$referenceType</option>
|
|
|
87 |
#end
|
|
|
88 |
</select>
|
|
|
89 |
</div>
|
|
|
90 |
|
|
|
91 |
<div class="col-lg-2 form-group">
|
|
|
92 |
<input placeholder="Reference Id" id="reference_id" name="reference_id" type="text" value=""
|
|
|
93 |
class="form-control input-sm">
|
|
|
94 |
</div>
|
|
|
95 |
|
|
|
96 |
<div class="col-lg-2 form-group">
|
|
|
97 |
<button class="btn btn-primary referenceSearch" type="button">Search</button>
|
|
|
98 |
</div>
|
|
|
99 |
</div>
|
|
|
100 |
|
|
|
101 |
<div class="row">
|
|
|
102 |
<div class="col-lg-1 form-group">
|
|
|
103 |
<select class="form-control input-sm" id="transaction-type" name="transaction-type"
|
|
|
104 |
placeholder="Transaction Type">
|
|
|
105 |
<option value="" disabled selected>Transaction Type</option>
|
|
|
106 |
#foreach($transactionType in $transactionTypes)
|
|
|
107 |
<option value="$transactionType">$transactionType</option>
|
|
|
108 |
#end
|
|
|
109 |
</select>
|
|
|
110 |
</div>
|
|
|
111 |
|
|
|
112 |
<div class="col-lg-1 form-group">
|
|
|
113 |
<input placeholder="Amount" id="amount" name="amount" type="text" value=""
|
|
|
114 |
class="form-control input-sm">
|
|
|
115 |
</div>
|
|
|
116 |
|
|
|
117 |
|
|
|
118 |
<div class="col-lg-1 form-group">
|
|
|
119 |
<input placeholder="Business date" id="businessDate" name="businessDate" type="text" value=""
|
|
|
120 |
class="form-control input-sm">
|
|
|
121 |
</div>
|
|
|
122 |
|
|
|
123 |
<div class="col-lg-2 form-group">
|
|
|
124 |
<input placeholder="Description" id="description" name="description" type="text" value=""
|
|
|
125 |
class="form-control input-sm">
|
|
|
126 |
</div>
|
|
|
127 |
|
|
|
128 |
|
|
|
129 |
<div class="col-lg-1 form-group">
|
|
|
130 |
<button class="btn btn-primary transactionSubmit" type="button">Submit</button>
|
|
|
131 |
</div>
|
|
|
132 |
</div>
|
|
|
133 |
|
|
|
134 |
</form>
|
|
|
135 |
|
|
|
136 |
<div class="wallet-history-container">
|
|
|
137 |
</div>
|
| 24876 |
tejbeer |
138 |
</section>
|
|
|
139 |
|