| 25496 |
tejbeer |
1 |
|
|
|
2 |
<section class="wrapper">
|
|
|
3 |
<div class="row">
|
|
|
4 |
<div class="col-lg-12">
|
|
|
5 |
<h3 class="page-header"><i class="icon_document_alt"></i>Approve REFFERALs</h3>
|
|
|
6 |
<ol class="breadcrumb">
|
|
|
7 |
<li><i class="fa fa-home"></i><a href="${rc.contextPath}/dashboard">Home</a></li>
|
|
|
8 |
<li><i class="icon_document_alt"></i>Approve Refferals</li>
|
|
|
9 |
</ol>
|
|
|
10 |
</div>
|
|
|
11 |
</div>
|
|
|
12 |
|
| 25587 |
tejbeer |
13 |
#if(!$oldApproved.isEmpty())
|
|
|
14 |
<h4 class="modelHeaderCustom" style="font-size:22px;padding:10px;">$oldMonth Refferals</h4>
|
|
|
15 |
#foreach($oApproved in $oldApproved.keySet())
|
|
|
16 |
<div class="row">
|
|
|
17 |
|
|
|
18 |
<div class="col-lg-2 form-group">
|
|
|
19 |
<input placeholder="month" id="oldMonth" name="oldMonth" type="text" value="$oldMonth" class="form-control input-sm" readonly>
|
|
|
20 |
</div>
|
|
|
21 |
|
|
|
22 |
<div class="col-lg-2 form-group">
|
|
|
23 |
<input placeholder="refereeEmail" id="refereeEmail" name="refereeEmail" type="text" value="$oApproved" class="form-control input-sm" readonly>
|
|
|
24 |
</div>
|
|
|
25 |
<div class="col-lg-2 form-group">
|
|
|
26 |
<input placeholder="Count" id="oldMonthCount" name="oldMonthCount" type="text" value="$oldApproved.get($oApproved)" class="form-control input-sm" readonly>
|
|
|
27 |
</div>
|
|
|
28 |
#if($oldApproved.get($oApproved) <= 4)
|
|
|
29 |
#set($mul =$oldApproved.get($oApproved) * 5000)
|
|
|
30 |
<div class="col-lg-2 form-group">
|
|
|
31 |
<input placeholder="Amount" id="oldMonthrefferalAmount" name="oldMonthrefferalAmount" type="text" value="$mul" class="form-control input-sm" readonly>
|
|
|
32 |
</div>
|
|
|
33 |
#elseif($oldApproved.get($oApproved) <= 9)'
|
|
|
34 |
#set($mul = $oldApproved.get($oApproved)* 10000)
|
|
|
35 |
<div class="col-lg-2 form-group">
|
|
|
36 |
<input placeholder="Amount" id="oldMonthrefferalAmount" name="oldMonthrefferalAmount" type="text" value="$mul" class="form-control input-sm" readonly>
|
|
|
37 |
</div>
|
|
|
38 |
#elseif($oldApproved.get($oApproved) >=10)
|
|
|
39 |
<div class="col-lg-2 form-group">
|
|
|
40 |
<input placeholder="Amount" id="oldMonthrefferalAmount" name="oldMonthrefferalAmount" type="text" value="200000" class="form-control input-sm" readonly>
|
|
|
41 |
</div>
|
|
|
42 |
#end
|
|
|
43 |
<div class="col-lg-2 form-group">
|
| 26418 |
tejbeer |
44 |
<button class="btn btn-primary" onclick="oldRefferalAmountSubmit(`$oApproved`,$oldApproved.get($oApproved),`$oldMonth`)" type="button">Add Money to Wallet</button>
|
| 25587 |
tejbeer |
45 |
</div>
|
|
|
46 |
|
|
|
47 |
</div>
|
|
|
48 |
#end
|
|
|
49 |
#end
|
| 25496 |
tejbeer |
50 |
|
| 25587 |
tejbeer |
51 |
#if(!$preApproved.isEmpty())
|
|
|
52 |
<h4 class="modelHeaderCustom" style="font-size:22px;padding:10px;">$previousMonth Refferals</h4>
|
|
|
53 |
#foreach($pApproved in $preApproved.keySet())
|
|
|
54 |
<div class="row">
|
|
|
55 |
|
|
|
56 |
<div class="col-lg-2 form-group">
|
|
|
57 |
<input placeholder="month" id="previousMonth" name="previousMonth" type="text" value="$previousMonth" class="form-control input-sm" readonly>
|
|
|
58 |
</div>
|
| 25496 |
tejbeer |
59 |
|
| 25587 |
tejbeer |
60 |
<div class="col-lg-2 form-group">
|
|
|
61 |
<input placeholder="refereeEmail" id="refereeEmail" name="refereeEmail" type="text" value="$pApproved" class="form-control input-sm" readonly>
|
| 25496 |
tejbeer |
62 |
</div>
|
| 25587 |
tejbeer |
63 |
|
|
|
64 |
<div class="col-lg-2 form-group">
|
|
|
65 |
<input placeholder="Count" id="count" name="count" type="text" value="$preApproved.get($pApproved)" class="form-control input-sm" readonly>
|
|
|
66 |
</div>
|
|
|
67 |
#if($preApproved.get($pApproved) <= 4)
|
|
|
68 |
#set($mul =$preApproved.get($pApproved) * 5000)
|
|
|
69 |
<div class="col-lg-2 form-group">
|
|
|
70 |
<input placeholder="Amount" id="refferalAmount" name="refferalAmount" type="text" value="$mul" class="form-control input-sm" readonly>
|
|
|
71 |
</div>
|
|
|
72 |
#elseif($preApproved.get($pApproved) <= 9)'
|
|
|
73 |
#set($mul =$preApproved.get($pApproved)* 10000)
|
|
|
74 |
<div class="col-lg-2 form-group">
|
|
|
75 |
<input placeholder="Amount" id="refferalAmount" name="refferalAmount" type="text" value="$mul" class="form-control input-sm" readonly>
|
|
|
76 |
</div>
|
|
|
77 |
#elseif($preApproved.get($pApproved) >=10)
|
|
|
78 |
<div class="col-lg-2 form-group">
|
|
|
79 |
<input placeholder="Amount" id="refferalAmount" name="refferalAmount" type="text" value="200000" class="form-control input-sm" readonly>
|
|
|
80 |
</div>
|
|
|
81 |
#end
|
|
|
82 |
|
|
|
83 |
<div class="col-lg-2 form-group">
|
| 26418 |
tejbeer |
84 |
<button class="btn btn-primary" type="button" onclick="refferalAmountSubmit(`$pApproved`,$preApproved.get($pApproved),`$previousMonth`)"> Add Money to wallet</button>
|
| 25587 |
tejbeer |
85 |
</div>
|
|
|
86 |
|
|
|
87 |
</div>
|
|
|
88 |
#end
|
|
|
89 |
#end
|
|
|
90 |
|
|
|
91 |
|
|
|
92 |
|
| 25496 |
tejbeer |
93 |
</section>
|