| 22860 |
ashik.ali |
1 |
<style>
|
|
|
2 |
.row{
|
|
|
3 |
margin:0 auto;
|
|
|
4 |
}
|
|
|
5 |
.modal-content{
|
|
|
6 |
background : white;
|
|
|
7 |
}
|
|
|
8 |
.modelHeaderCustom{
|
|
|
9 |
font-size:14px;
|
|
|
10 |
font-weight:bold;
|
|
|
11 |
}
|
|
|
12 |
.border-highlight{
|
|
|
13 |
border : 3px solid red;
|
|
|
14 |
}
|
|
|
15 |
hr{
|
|
|
16 |
background-color:#007aff;
|
|
|
17 |
border:none;
|
|
|
18 |
height:1px;
|
|
|
19 |
background:#007aff;
|
|
|
20 |
}
|
|
|
21 |
.control-label {
|
|
|
22 |
margin-top: 0;
|
|
|
23 |
margin-bottom: 0;
|
|
|
24 |
padding-top: 7px;
|
|
|
25 |
font-weight:bold;
|
|
|
26 |
font-size:14px;
|
|
|
27 |
}
|
|
|
28 |
.form-group{
|
|
|
29 |
border-bottom: 1px solid #eff2f7;
|
|
|
30 |
padding-bottom: 15px;
|
|
|
31 |
margin-bottom: 15px;
|
|
|
32 |
}
|
|
|
33 |
.right{
|
|
|
34 |
float:right;
|
|
|
35 |
}
|
|
|
36 |
.form-control{
|
|
|
37 |
color:black;
|
|
|
38 |
text-transform:uppercase;
|
|
|
39 |
}
|
|
|
40 |
.table-align-center{
|
|
|
41 |
text-align:center;
|
|
|
42 |
}
|
|
|
43 |
|
|
|
44 |
</style>
|
|
|
45 |
|
|
|
46 |
<script type="text/javascript">
|
| 23026 |
ashik.ali |
47 |
|
|
|
48 |
$(function() {
|
|
|
49 |
$('input[name="startEndDateTime"]').daterangepicker({
|
|
|
50 |
"timePicker": true,
|
|
|
51 |
"timePicker24Hour": true,
|
|
|
52 |
"timePickerSeconds": true,
|
|
|
53 |
"startDate": "01/01/2017",
|
|
|
54 |
"endDate":"01/01/2018",
|
|
|
55 |
"autoUpdateInput": true,
|
|
|
56 |
locale: {
|
|
|
57 |
format: 'DD/MM/YYYY HH:mm:ss'
|
|
|
58 |
},
|
|
|
59 |
});
|
|
|
60 |
});
|
|
|
61 |
|
|
|
62 |
configureItemsDescriptionDropDown();
|
|
|
63 |
|
| 22860 |
ashik.ali |
64 |
</script>
|
|
|
65 |
|
|
|
66 |
<section class="wrapper">
|
|
|
67 |
<div class="row">
|
|
|
68 |
<div class="col-lg-12">
|
|
|
69 |
<h3 class="page-header"><i class="icon_document_alt"></i>SCHEME</h3>
|
|
|
70 |
<ol class="breadcrumb">
|
|
|
71 |
<li><i class="fa fa-home"></i><a href="${rc.contextPath}/dashboard">Home</a></li>
|
| 23026 |
ashik.ali |
72 |
<li><i class="icon_document_alt"></i>CREATE</li>
|
| 22860 |
ashik.ali |
73 |
</ol>
|
|
|
74 |
</div>
|
|
|
75 |
</div>
|
|
|
76 |
<form id="create-scheme-form">
|
|
|
77 |
<div id="customer-details" style="background:white;background-color:white;padding:10px;">
|
|
|
78 |
<h4 class="modelHeaderCustom" style="font-size:22px;">Scheme Information</h4>
|
|
|
79 |
<div>
|
|
|
80 |
<div class = "row">
|
|
|
81 |
<div class="col-lg-2 form-group">
|
|
|
82 |
<input placeholder="Name" id="schemeName" name="schemeName" type="text" value="" class="form-control input-sm">
|
|
|
83 |
</div>
|
| 23026 |
ashik.ali |
84 |
<div class="col-lg-3 form-group">
|
| 22860 |
ashik.ali |
85 |
<input placeholder="Description" id="description" name="description" type="text" value="" class="form-control input-sm">
|
|
|
86 |
</div>
|
|
|
87 |
<div class="col-lg-2 form-group">
|
|
|
88 |
<select class="form-control input-sm" id = "schemeType" name = "schemeType" placeholder="Type">
|
|
|
89 |
<option value="" disabled selected>Type</option>
|
|
|
90 |
<option value="IN">In</option>
|
|
|
91 |
<option value="OUT">Out</option>
|
|
|
92 |
</select>
|
|
|
93 |
</div>
|
|
|
94 |
<div class="col-lg-2 form-group">
|
|
|
95 |
<select class="form-control input-sm" id = "amountType" name = "amountType" placeholder="Amount Type">
|
|
|
96 |
<option value="" disabled selected>Amount Type</option>
|
|
|
97 |
<option value="PERCENTAGE">Percentage</option>
|
|
|
98 |
<option value="FIXED">Fixed</option>
|
|
|
99 |
</select>
|
|
|
100 |
</div>
|
|
|
101 |
<div class="col-lg-2 form-group">
|
|
|
102 |
<input placeholder = "Amount" id="schemeAmount" name="schemeAmount" type="number" value="0" class="form-control phone input-sm">
|
|
|
103 |
</div>
|
| 23026 |
ashik.ali |
104 |
|
| 22860 |
ashik.ali |
105 |
</div>
|
|
|
106 |
<div class="row">
|
| 23026 |
ashik.ali |
107 |
<div class="col-lg-3 form-group">
|
|
|
108 |
<input placeholder = "Start End Date Time" id="startEndDateTime" name="startEndDateTime" type="text" value="" class="form-control input-sm">
|
|
|
109 |
</div>
|
| 22860 |
ashik.ali |
110 |
<div class="col-lg-2 form-group">
|
| 23026 |
ashik.ali |
111 |
<div class="dropdown">
|
|
|
112 |
<button class="btn btn-default btn-block dropdown-toggle" type="button" data-toggle="dropdown" id="brand-value">Brands<span class="caret"></span></button>
|
|
|
113 |
<ul class="dropdown-menu" id="brands">
|
|
|
114 |
#foreach ($brand in $brands)
|
|
|
115 |
<li><a href="javascript:void(0);">$brand</a></li>
|
|
|
116 |
#end
|
|
|
117 |
</ul>
|
|
|
118 |
</div>
|
| 22860 |
ashik.ali |
119 |
</div>
|
| 23026 |
ashik.ali |
120 |
<div class="col-lg-2 form-group" id="items-description-container">
|
|
|
121 |
<select class="form-control" id = "itemsDescription" placeholder="itemsDescription" multiple="multiple" >
|
|
|
122 |
</select>
|
| 22860 |
ashik.ali |
123 |
</div>
|
|
|
124 |
<div class="col-lg-2 form-group">
|
| 23026 |
ashik.ali |
125 |
<span style="font-size:15px"><input placeholder = "Retailer All" id="retailerAll" name="retailerAll" type="checkbox" value="true" checked>Retailer All</span>
|
| 22860 |
ashik.ali |
126 |
</div>
|
|
|
127 |
<div class="col-lg-2" id="retailer-ids">
|
|
|
128 |
|
|
|
129 |
</div>
|
|
|
130 |
</div>
|
|
|
131 |
</div>
|
|
|
132 |
</div>
|
|
|
133 |
|
|
|
134 |
<div id="create-scheme" style="padding:10px;">
|
|
|
135 |
<div class="row">
|
|
|
136 |
<div class="col-xs-3" style="float:right;">
|
|
|
137 |
<button class="btn btn-primary new-scheme" type="submit" style="width:100%;border-radius:0px;">Create Scheme</button>
|
|
|
138 |
</div>
|
|
|
139 |
</div>
|
|
|
140 |
</div>
|
|
|
141 |
</form>
|
|
|
142 |
</section>
|
|
|
143 |
<script type="text/javascript" src="${rc.contextPath}/resources/js/scheme.js"></script>
|