| Line 51... |
Line 51... |
| 51 |
<li><i class="fa fa-home"></i><a href="${rc.contextPath}/dashboard">Home</a></li>
|
51 |
<li><i class="fa fa-home"></i><a href="${rc.contextPath}/dashboard">Home</a></li>
|
| 52 |
<li><i class="icon_document_alt"></i>CREATE</li>
|
52 |
<li><i class="icon_document_alt"></i>CREATE</li>
|
| 53 |
</ol>
|
53 |
</ol>
|
| 54 |
</div>
|
54 |
</div>
|
| 55 |
</div>
|
55 |
</div>
|
| 56 |
<form id="create-recharge-form">
|
- |
|
| - |
|
56 |
|
| 57 |
<div id="customer-details" style="background:white;background-color:white;padding:10px;">
|
57 |
<div class = "row" style="background:white;background-color:white;padding:10px;">
|
| 58 |
<h4 class="modelHeaderCustom" style="font-size:22px;">Recharge Information</h4>
|
58 |
<h4 class="modelHeaderCustom" style="font-size:22px;padding-bottom:2%">Recharge Information</h4>
|
| - |
|
59 |
<form id="create-recharge-form">
|
| 59 |
<div>
|
60 |
<div class="col-lg-4">
|
| 60 |
<div class = "row">
|
61 |
<div class="row">
|
| 61 |
#if($operatorTypes)
|
62 |
#if($operatorTypes)
|
| 62 |
<div class="col-lg-2 form-group">
|
63 |
<div class="col-lg-5 form-group">
|
| - |
|
64 |
<p>Operator Type</p>
|
| - |
|
65 |
</div>
|
| - |
|
66 |
<div class="col-lg-6 form-group">
|
| 63 |
<select class="form-control input-sm" id = "rechargeOperatorType" name = "rechargeOperatorType" placeholder="Operator Type">
|
67 |
<select class="form-control input-sm" id = "rechargeOperatorType" name = "rechargeOperatorType" placeholder="Operator Type">
|
| 64 |
#foreach($operatorType in $operatorTypes)
|
68 |
#foreach($operatorType in $operatorTypes)
|
| 65 |
#if($operatorType == "PREPAID")
|
69 |
#if($operatorType == "PREPAID")
|
| 66 |
<option value="$operatorType" selected>$operatorType</option>
|
70 |
<option value="$operatorType" selected>$operatorType</option>
|
| 67 |
#else
|
71 |
#else
|
| 68 |
<option value="$operatorType">$operatorType</option>
|
72 |
<option value="$operatorType">$operatorType</option>
|
| 69 |
#end
|
73 |
#end
|
| 70 |
#end
|
74 |
#end
|
| 71 |
</select>
|
75 |
</select>
|
| 72 |
</div>
|
76 |
</div>
|
| 73 |
#end
|
77 |
#end
|
| - |
|
78 |
</div>
|
| - |
|
79 |
<div class="row">
|
| 74 |
<div class="col-lg-2 form-group">
|
80 |
<div class="col-lg-5 form-group">
|
| - |
|
81 |
<p class="bold-details">Operator</p>
|
| - |
|
82 |
</div>
|
| - |
|
83 |
<div class="col-lg-6 form-group">
|
| 75 |
<select class="form-control input-sm" id = "rechargeOperator" name = "rechargeOperator" placeholder="Recharge Operators">
|
84 |
<select class="form-control input-sm" id = "rechargeOperator" name = "rechargeOperator" placeholder="Recharge Operators">
|
| 76 |
<option value="" disabled selected>Recharge Operators</option>
|
85 |
<option value="" disabled selected>Recharge Operators</option>
|
| 77 |
#foreach($rechargeOperator in $rechargeOperators)
|
86 |
#foreach($rechargeOperator in $rechargeOperators)
|
| 78 |
<option value="$rechargeOperator.getId()">$rechargeOperator.getName()</option>
|
87 |
<option value="$rechargeOperator.getId()">$rechargeOperator.getName()</option>
|
| 79 |
#end
|
88 |
#end
|
| 80 |
</select>
|
89 |
</select>
|
| 81 |
</div>
|
90 |
</div>
|
| - |
|
91 |
</div>
|
| - |
|
92 |
<div class="row">
|
| - |
|
93 |
<div class="col-lg-5 form-group">
|
| - |
|
94 |
<p class="bold-details">Number</p>
|
| 82 |
|
95 |
</div>
|
| 83 |
<div class="col-lg-3 form-group">
|
96 |
<div class="col-lg-6 form-group">
|
| 84 |
<input placeholder="Number" id="referenceNumber" name="referenceNumber" type="text" value="" class="form-control input-sm">
|
97 |
<input placeholder="Number" id="referenceNumber" name="referenceNumber" type="text" value="" class="form-control input-sm">
|
| 85 |
</div>
|
98 |
</div>
|
| - |
|
99 |
</div>
|
| - |
|
100 |
</div>
|
| - |
|
101 |
<div class="col-lg-4">
|
| - |
|
102 |
<div class="row">
|
| - |
|
103 |
#foreach($paymentOption in $paymentOptions)
|
| - |
|
104 |
<div class="col-lg-5 form-group">
|
| - |
|
105 |
<p>$paymentOption.getName()</p>
|
| - |
|
106 |
</div>
|
| 86 |
<div class="col-lg-2 form-group">
|
107 |
<div class="col-lg-6 form-group">
|
| 87 |
<input placeholder="Amount" id="amount" name="amount" type="number" value="0" class="form-control input-sm">
|
108 |
<input placeholder="$paymentOption.getName()" type="number" value="0" class="form-control paymentOptionAmount input-sm" paymentOptionId="$paymentOption.getId()">
|
| - |
|
109 |
</div>
|
| - |
|
110 |
#end
|
| - |
|
111 |
</div>
|
| - |
|
112 |
</div>
|
| - |
|
113 |
<div class="col-lg-4">
|
| - |
|
114 |
<div class="row">
|
| - |
|
115 |
<div class="col-lg-5 form-group">
|
| - |
|
116 |
<p>Total Amount</p>
|
| 88 |
</div>
|
117 |
</div>
|
| 89 |
<div class="col-lg-2" style="float:right;">
|
118 |
<div class="col-lg-6 form-group">
|
| 90 |
<input class="btn btn-primary create-recharge-button" type="submit" style="width:100%;border-radius:0px;" value="Recharge">
|
119 |
<input placeholder="Amount" id="totalAmount" name="totalAmount" type="number" value="0" class="form-control input-sm">
|
| 91 |
</div>
|
120 |
</div>
|
| 92 |
</div>
|
121 |
</div>
|
| - |
|
122 |
<div class="row">
|
| - |
|
123 |
<input class="btn btn-primary create-recharge-button" type="submit" style="width:100%;border-radius:0px;" value="Recharge">
|
| - |
|
124 |
</div>
|
| 93 |
</div>
|
125 |
</div>
|
| 94 |
</div>
|
126 |
</form>
|
| 95 |
|
- |
|
| 96 |
</form>
|
127 |
</div>
|
| 97 |
</section>
|
128 |
</section>
|
| 98 |
<script type="text/javascript" src="resources/js/create-recharge.js"></script>
|
129 |
<script type="text/javascript" src="resources/js/create-recharge.js"></script>
|
| 99 |
|
130 |
|