Subversion Repositories SmartDukaan

Rev

Rev 29899 | Rev 30084 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 29899 Rev 30080
Line 1... Line 1...
1
<style>
1
<style>
2
.row{
2
    .row {
3
	margin:0 auto;
3
        margin: 0 auto;
-
 
4
    }
4
}
5
 
5
.modal-content{
6
    .modal-content {
6
		background : white;
7
        background: white;
-
 
8
    }
7
	}
9
 
8
	.modelHeaderCustom{
10
    .modelHeaderCustom {
9
		font-size:14px;
11
        font-size: 14px;
10
		font-weight:bold;
12
        font-weight: bold;
-
 
13
    }
11
	}
14
 
12
	.border-highlight{
15
    .border-highlight {
13
		border : 3px solid red;
16
        border: 3px solid red;
-
 
17
    }
14
	}
18
 
15
	hr{
19
    hr {
16
		background-color:#007aff;
20
        background-color: #007aff;
17
		border:none;
21
        border: none;
18
		height:1px;
22
        height: 1px;
19
		background:#007aff;
23
        background: #007aff;
-
 
24
    }
20
	}
25
 
21
	.control-label {
26
    .control-label {
22
		margin-top: 0;
27
        margin-top: 0;
23
    	margin-bottom: 0;
28
        margin-bottom: 0;
24
    	padding-top: 7px;
29
        padding-top: 7px;
25
    	font-weight:bold;
30
        font-weight: bold;
26
    	font-size:14px;
31
        font-size: 14px;
-
 
32
    }
27
	}
33
 
28
	.form-group{
34
    .form-group {
29
		border-bottom: 1px solid #eff2f7;
35
        border-bottom: 1px solid #eff2f7;
30
    	padding-bottom: 15px;
36
        padding-bottom: 15px;
31
    	margin-bottom: 15px;
37
        margin-bottom: 15px;
-
 
38
    }
32
	}
39
 
33
	.right{
40
    .right {
34
		float:right;
41
        float: right;
-
 
42
    }
35
	}
43
 
36
	.form-control{
44
    .form-control {
37
		color:black;
45
        color: black;
-
 
46
    }
38
	}
47
 
39
.table-align-center{
48
    .table-align-center {
40
	text-align:center;
49
        text-align: center;
41
}
50
    }
42
 
51
 
43
</style>
52
</style>
44
 
53
 
45
<script type="text/javascript">
54
<script type="text/javascript">
46
 
55
 
47
	$(document).ready(function() {
56
    $(document).ready(function () {
48
        $('#tag-listing-brands').multiselect({
57
        $('#tag-listing-brands').multiselect({
49
        		includeSelectAllOption: true,
58
            includeSelectAllOption: true,
50
        		multiple:true,
59
            multiple: true,
51
        		maxHeight: 200,
60
            maxHeight: 200,
52
        		buttonWidth: '180px',
61
            buttonWidth: '180px',
53
        		numberDisplayed: 1,
62
            numberDisplayed: 1,
54
	        	nonSelectedText: 'Brands',
63
            nonSelectedText: 'Brands',
55
	        	nSelectedText: ' - Brands Selected',
64
            nSelectedText: ' - Brands Selected',
56
	        	allSelectedText: 'All Brands Selected',
65
            allSelectedText: 'All Brands Selected',
57
	        	enableFiltering: true,
66
            enableFiltering: true,
58
	        	enableCaseInsensitiveFiltering : true
67
            enableCaseInsensitiveFiltering: true
59
        });
68
        });
60
	    configureTagListingItemsDescriptionDropDown();
69
        configureTagListingItemsDescriptionDropDown();
61
    });
70
    });
62
  
71
 
63
	$(function() {
72
    $(function () {
64
    	$('input[name="dateRange"]').daterangepicker(getRangedDatePicker(), dateRangeCallback);
73
        $('input[name="dateRange"]').daterangepicker(getRangedDatePicker(), dateRangeCallback);
65
	});
74
    });
66
    
75
 
67
	
76
 
68
</script>
77
</script>
69
 
78
 
70
<section class="wrapper">
79
<section class="wrapper">
71
	<div class="row">
80
    <div class="row">
72
		<div class="col-lg-12">
81
        <div class="col-lg-12">
73
			<h3 class="page-header"><i class="icon_document_alt"></i>SCHEME</h3>
82
            <h3 class="page-header"><i class="icon_document_alt"></i>SCHEME</h3>
74
			<ol class="breadcrumb">
83
            <ol class="breadcrumb">
75
				<li><i class="fa fa-home"></i><a href="${rc.contextPath}/dashboard">Home</a></li>
84
                <li><i class="fa fa-home"></i><a href="${rc.contextPath}/dashboard">Home</a></li>
76
				<li><i class="icon_document_alt"></i>CREATE</li>						  	
85
                <li><i class="icon_document_alt"></i>CREATE</li>
77
			</ol>
86
            </ol>
78
		</div>
87
        </div>
79
	</div>
88
    </div>
80
	<form id="create-scheme-form">
89
    <form id="create-scheme-form">
81
		<div id="customer-details" style="background:white;background-color:white;padding:10px;">
90
        <div id="customer-details" style="background:white;background-color:white;padding:10px;">
82
			<h4 class="modelHeaderCustom" style="font-size:22px;">Scheme Information</h4>
91
            <h4 class="modelHeaderCustom" style="font-size:22px;">Scheme Information</h4>
83
			<div>
92
            <div>
84
				<div class = "row">
93
                <div class="row">
85
					<div class="col-lg-2 form-group">
94
                    <div class="col-lg-2 form-group">
86
					   	<input placeholder="Name" id="schemeName" name="schemeName" type="text" value="" class="form-control input-sm">
95
                        <input placeholder="Name" id="schemeName" name="schemeName" type="text" value=""
-
 
96
                               class="form-control input-sm">
87
					</div>
97
                    </div>
88
					<div class="col-lg-3 form-group">
98
                    <div class="col-lg-3 form-group">
89
					   	<input placeholder="Description" id="description" name="description" type="text" value="" class="form-control input-sm">
99
                        <input placeholder="Description" id="description" name="description" type="text" value=""
-
 
100
                               class="form-control input-sm">
90
					</div>
101
                    </div>
91
					<div class="col-lg-2 form-group">
102
                    <div class="col-lg-2 form-group">
92
						<select class="form-control input-sm" id = "schemeType" name = "schemeType" placeholder="Type">
103
                        <select class="form-control input-sm" id="schemeType" name="schemeType" placeholder="Type">
93
							<option value="" disabled selected>Type</option>
104
                            <option value="" disabled selected>Type</option>
94
							
105
 
95
							#if($fullAccesss)
106
                            #if($fullAccesss)
96
		             		<option value="IN">In</option>
107
                                <option value="IN">In</option>
97
		             		<option value="HYGEINE">Hygeine</option>
108
                                <option value="HYGEINE">Hygeine</option>
98
		             		<option value="ACTIVATION">Activation</option>
109
                                <option value="ACTIVATION">Activation</option>
99
		             		<option value="CATEGORY">Category</option>
110
                                <option value="CATEGORY">Category</option>
100
		             		<option value="TERTIARY">Tertiary</option>
111
                                <option value="TERTIARY">Tertiary</option>
101
		             		#else
112
                            #else
102
		             		 
-
 
-
 
113
 
103
		             		 <option value="ACTIVATION">Activation</option>
114
                                <option value="ACTIVATION">Activation</option>
104
		             		
-
 
-
 
115
 
-
 
116
 
105
		             		
117
                            #end
106
		             		#end
118
                        </select>
107
		             	</select>
119
                    </div>
108
					</div>
-
 
109
					<div class="col-lg-2 form-group">
120
                    <div class="col-lg-2 form-group">
110
						<select class="form-control input-sm" id = "amountType" name = "amountType" placeholder="Amount Type">
121
                        <select class="form-control input-sm" id="amountType" name="amountType"
-
 
122
                                placeholder="Amount Type">
111
							<option value="" disabled selected>Amount Type</option>
123
                            <option value="" disabled selected>Amount Type</option>
112
		             		<option value="PERCENTAGE">Percentage</option>
124
                            <option value="PERCENTAGE">Percentage</option>
113
		             		<option value="FIXED">Fixed</option>
125
                            <option value="FIXED">Fixed</option>
114
		             	</select>
126
                        </select>
115
					</div>
127
                    </div>
116
					<div class="col-lg-2 form-group">
128
                    <div class="col-lg-2 form-group">
117
						<input placeholder = "Amount" id="schemeAmount" name="schemeAmount" type="number" class="form-control input-sm">
129
                        <input placeholder="Amount" id="schemeAmount" name="schemeAmount" type="number"
-
 
130
                               class="form-control input-sm">
118
					</div>
131
                    </div>
119
					<div class="col-lg-2 form-group checkbox">
132
                    <div class="col-lg-2 form-group checkbox">
120
					  <label><input id="cashbackScheme" type="checkbox" value="">Cashback Scheme</label>
133
                        <label><input id="cashbackScheme" type="checkbox" value="">Cashback Scheme</label>
121
					</div>
134
                    </div>
122
					
135
 
123
				</div>
136
                </div>
124
				<div class="row">
137
                <div class="row">
125
					<div class="col-lg-3 form-inline">
138
                    <div class="col-lg-3 form-inline">
126
						<div class="form-group">
139
                        <div class="form-group">
127
							<label for="schemeDuration">Scheme Duration :</label> 
140
                            <label for="schemeDuration">Scheme Duration :</label>
128
							<input id="schemeDuration" name="dateRange" type="text" value="" class="form-control input-sm">
141
                            <input id="schemeDuration" name="dateRange" type="text" value=""
-
 
142
                                   class="form-control input-sm">
129
						</div>
143
                        </div>
130
					</div>
144
                    </div>
131
					<div class = "row">
145
                    <div class="row">
132
					
146
 
133
					<div class="col-lg-2">
147
                        <div class="col-lg-2">
134
						<select class="form-control input-sm" id ="tag-listing-brands" onchange="selectedbrand()" placeholder="Brands" multiple="multiple">
148
                            <select class="form-control input-sm" id="tag-listing-brands" onchange="selectedbrand()"
-
 
149
                                    placeholder="Brands" multiple="multiple">
135
							#foreach($brand in $brands)
150
                                #foreach($brand in $brands)
136
								<option value="$brand">$brand</option>
151
                                    <option value="$brand">$brand</option>
137
							#end
152
                                #end
138
						</select>
153
                            </select>
139
					</div>
154
                        </div>
140
					<div class="col-lg-2" id="tag-listing-items-description-container">
155
                        <div class="col-lg-2" id="tag-listing-items-description-container">
-
 
156
                            <select class="form-control input-sm" class="tagListingItemsDescription"
141
						<select class="form-control input-sm" class="tagListingItemsDescription" placeholder="itemsDescription" multiple="multiple" >
157
                                    placeholder="itemsDescription" multiple="multiple">
142
						</select>
158
                            </select>
143
					</div>
159
                        </div>
144
					<div class="col-lg-2">
160
                        <div class="col-lg-2">
145
						<select class="form-control input-sm" id = "retailerType" name = "retailerType">
161
                            <select class="form-control input-sm" id="retailerType" name="retailerType">
146
							<option value="" disabled selected>Retailer Type</option>
162
                                <option value="" disabled selected>Retailer Type</option>
147
							#foreach($retailerType in $retailerTypes)
163
                                #foreach($retailerType in $retailerTypes)
148
								<option value="$retailerType">$retailerType</option>
164
                                    <option value="$retailerType">$retailerType</option>
149
							#end
165
                                #end
150
		             	</select>
166
                            </select>
151
					</div>
167
                        </div>
152
					<div class="col-lg-2">
168
                        <div class="col-lg-2">
153
						<input class="btn btn-primary new-scheme" type="submit" value="Create Scheme">	
169
                            <input class="btn btn-primary new-scheme" type="submit" value="Create Scheme">
-
 
170
                        </div>
154
					</div>
171
                    </div>
155
				</div>
172
                </div>
156
			</div>
173
            </div>
157
		</div>
174
        </div>
158
	</form>
175
    </form>
159
	
176
 
160
</section>
177
</section>
161
<section>
178
<section>
162
 
179
 
163
#if($fullAccesss)
180
    #if($fullAccesss)
164
<form style="padding: 14px;">
181
        <form style="padding: 14px;">
165
	 <div  style="background:white;background-color:white;padding:12px;">
182
            <div style="background:white;background-color:white;padding:12px;">
166
	   <h4 class="modelHeaderCustom" style="font-size:16px;">PROCESS INVESTMENT PAYOUT $month</h4>
183
                <h4 class="modelHeaderCustom" style="font-size:16px;">PROCESS INVESTMENT PAYOUT $month</h4>
167
	         <div class = "row" style="padding: 24px;">
184
                <div class="row" style="padding: 24px;">
168
	         
185
 
169
	           <div class="col-lg-4">
186
                    <div class="col-lg-4">
170
	                 <label for="processInvestmentDryRun">Process Investment Dry Run Sheet:</label> 
187
                        <label for="processInvestmentDryRun">Process Investment Dry Run Sheet:</label>
171
						<input class="btn btn-primary processInvestmentDryRun" type="button" value="Download Sheet">	
188
                        <input class="btn btn-primary processInvestmentDryRun" type="button" value="Download Sheet">
172
					</div>
-
 
173
	             
189
                    </div>
-
 
190
 
174
	              <div class="col-lg-4">
191
                    <div class="col-lg-4">
175
	                 <label for="monthyInvestment">Partner Wise Monthy Investment Summary:</label> 
192
                        <label for="monthyInvestment">Partner Wise Monthy Investment Summary:</label>
176
						<input class="btn btn-primary monthy-investment" type="button" value="Download Sheet">	
193
                        <input class="btn btn-primary monthy-investment" type="button" value="Download Sheet">
177
					</div>
194
                    </div>
178
					
195
 
179
					<div class="col-lg-4">
196
                    <div class="col-lg-4">
180
					<label for="processInvestment">Process Investment Payout :</label> 
197
                        <label for="processInvestment">Process Investment Payout :</label>
181
						<input class="btn btn-primary process-investment" type="button" value="Process">	
198
                        <input class="btn btn-primary process-investment" type="button" value="Process">
182
					</div>
-
 
183
	           </div>
199
                    </div>
184
	           
200
                </div>
-
 
201
 
185
	       </div>
202
            </div>
186
	</form>
203
        </form>
187
#end
204
    #end
188
</section>
205
</section>
189
 
206
 
190
 
207
 
191
 
-
 
192
 
-
 
193
<script type="text/javascript" src="resources/js/create-scheme.js?v=${version}"></script>
-
 
194
208