Subversion Repositories SmartDukaan

Rev

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

Rev 26763 Rev 26912
Line 29... Line 29...
29
	$('input[name="extendDatetime"]').daterangepicker(getSingleDatePicker(), dateRangeCallback);
29
	$('input[name="extendDatetime"]').daterangepicker(getSingleDatePicker(), dateRangeCallback);
30
	
30
	
31
	getItemAheadOptions($("#scheme-item-search-text"),function(selectedItem){
31
	getItemAheadOptions($("#scheme-item-search-text"),function(selectedItem){
32
		currentItem = selectedItem;
32
		currentItem = selectedItem;
33
	});
33
	});
-
 
34
	
-
 
35
	$(document).ready(function() {
-
 
36
	console.log('$partnerType')
-
 
37
	 $('#partner-category').val('$partnerType');
-
 
38
	 });
34
</script>
39
</script>
35
 
40
 
36
<section class="wrapper">
41
<section class="wrapper">
37
	<div class="row">
42
	<div class="row">
38
		<div class="col-lg-12">
43
		<div class="col-lg-12">
Line 60... Line 65...
60
        	<div class="row" style ="margin-top:12px">
65
        	<div class="row" style ="margin-top:12px">
61
    		<div class="col-lg-6  form-group ">
66
    		<div class="col-lg-6  form-group ">
62
        
67
        
63
					<select  class="form-control input-sm" id = "partner-category" name = "partner-category" placeholder="Category">
68
					<select  class="form-control input-sm" id = "partner-category" name = "partner-category" placeholder="Category">
64
					<option value="" disabled selected>Category</option>
69
					<option value="" disabled selected>Category</option>
-
 
70
					<option value="NEW">NEW</option>
65
					<option value="BRONZE">BRONZE</option>
71
					<option value="BRONZE">BRONZE</option>
66
					<option value="SILVER">SILVER</option>
72
					<option value="SILVER">SILVER</option>
67
					<option value="GOLD">GOLD</option>
73
					<option value="GOLD">GOLD</option>
68
					<option value="DIAMOND">DIAMOND</option>
74
					<option value="DIAMOND">DIAMOND</option>
69
				    <option value="PLATINUM">PLATINUM</option>
75
				    <option value="PLATINUM">PLATINUM</option>
70
				     <option value="ALL">ALL</option>
76
				    
71
         		
77
         		
72
	                </select>
78
	                </select>
73
	     </div>
79
	     </div>
74
	     <div class="col-lg-6">
80
	     <div class="col-lg-6">
75
	      		      <button class="btn btn-primary categoryWiseSchemeHistory" type="button" style="width:100%; border-radius:0px;">Submit</button>
81
	      		      <button class="btn btn-primary categoryWiseSchemeHistory" type="button" style="width:100%; border-radius:0px;">Submit</button>
Line 117... Line 123...
117
	    			<tbody>
123
	    			<tbody>
118
	    				<tr>
124
	    				<tr>
119
	    					<th>ID</th>
125
	    					<th>ID</th>
120
	    					<th>Name</th>
126
	    					<th>Name</th>
121
	    					<th>Description</th>
127
	    					<th>Description</th>
122
	    					<th>Partner Type</th>
-
 
123
	    					<th>Type</th>
128
	    					<th>Type</th>
124
	    					<th>Amount Type</th>
129
	    					<th>Amount Type</th>
125
	    					<th>Amount</th>
130
	    					<th>Amount</th>
126
	    					<th>Start Date</th>
131
	    					<th>Start Date</th>
127
	    					<th>End Date</th>
132
	    					<th>End Date</th>
Line 133... Line 138...
133
			    			#foreach( $scheme in $schemes )
138
			    			#foreach( $scheme in $schemes )
134
			    				<tr class="scheme-details" data="$scheme.getId()">
139
			    				<tr class="scheme-details" data="$scheme.getId()">
135
			    					<td>$scheme.getId()</td>
140
			    					<td>$scheme.getId()</td>
136
			    					<td>$scheme.getName()</td>
141
			    					<td>$scheme.getName()</td>
137
			    					<td>$scheme.getDescription()</td>
142
			    					<td>$scheme.getDescription()</td>
138
			    					<td>$scheme.getPartnerType()</td>
-
 
139
			    					<td>$scheme.getType()</td>
143
			    					<td>$scheme.getType()</td>
140
			    					<td>$scheme.getAmountType()</td>
144
			    					<td>$scheme.getAmountType()</td>
141
			    					<td class="currency">$scheme.getAmount()</td>
145
			    					<td class="currency">$scheme.getAmount()</td>
142
			    					<td>$scheme.getFormattedStartDateTime()</td>
146
			    					<td>$scheme.getFormattedStartDateTime()</td>
143
			    					<td>$dateTimeFormatter.format($scheme.getEndDateTime())</td>
147
			    					<td>$dateTimeFormatter.format($scheme.getEndDateTime())</td>