Subversion Repositories SmartDukaan

Rev

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

Rev 24699 Rev 24747
Line 1... Line 1...
1
<script>
1
<script type="text/javascript">
2
$('#myModal').on('hidden.bs.modal', function (e) {
2
$('#myModal').on('hidden.bs.modal', function (e) {
3
  $(".activity-container .modal-body").empty();
3
  $(".activity-container .modal-body").empty();
-
 
4
 
-
 
5
});
-
 
6
 
-
 
7
 $(function(){
-
 
8
 	getPartnerAheadOptions($("#typeaheadpartner"),function(selectedPartner){
-
 
9
		$("#retailer-details-search").data('id',selectedPartner.partnerId);
-
 
10
		$("#partner-name-input").val(selectedPartner.partnerId);
-
 
11
	});
4
});
12
});
-
 
13
 
5
</script>
14
</script>
6
<style>
15
<style>
7
.incoming_msg_img {
16
.incoming_msg_img {
8
	display: inline-block;
17
	display: inline-block;
9
	width: 6%;
18
	width: 6%;
Line 129... Line 138...
129
						#end
138
						#end
130
						#end
139
						#end
131
						#end
140
						#end
132
		             	</select>
141
		             	</select>
133
				</div>
142
				</div>
-
 
143
					<div class="col-lg-6 form-group pull-right">
-
 
144
					<div class="col-lg-6">
-
 
145
        		<select class="form-control" id = "managersearchType" name = "managersearchType" placeholder="Search Type">
-
 
146
					<option value="" disabled selected>Search Type</option>
-
 
147
					#foreach($searchType1 in $ticketSearchTypes)
-
 
148
					#if($ticketSearchType.getValue()==$searchType1.getValue())
-
 
149
						<option value="$searchType1" selected>$ticketSearchType.getValue()</option>
-
 
150
						#else
-
 
151
						<option value="$searchType1">$searchType1.getValue()</option>
-
 
152
						#end
-
 
153
					#end
-
 
154
             	</select>
-
 
155
        	</div>
-
 
156
        	
-
 
157
        	<div class="col-lg-6">
-
 
158
        	<input type="hidden" id="partner-name-input" name="partner-name-input" value="">
-
 
159
        	<div class="byPartnerName" style="display: none;">
-
 
160
			  <div class="input-group">
-
 
161
		    	<input placeholder="Partner Name" type="text" class="typeahead form-control" id="typeaheadpartner" value="" name="Item" data-provide="typeahead" autocomplete="off">
-
 
162
	    		<span class="input-group-btn">
-
 
163
	      			<button class="btn btn-primary submit" id="retailer-details-search" type="button" data-id="">Go!</button>
-
 
164
	    		</span>
-
 
165
	          </div>
-
 
166
	          </div>
-
 
167
	          <div class="byTicketId" style="display: none;">
-
 
168
			  <div class="input-group">
-
 
169
		    	<input placeholder="Ticket Id" type="text" class="form-control" id="search-by-ticketId" value="">
-
 
170
	    		<span class="input-group-btn">
-
 
171
	      			<button class="btn btn-primary submit" id="retailer-details-search-button-by-ticketId" type="button">Go!</button>
-
 
172
	    		</span>
-
 
173
	          </div>
-
 
174
	          </div>
-
 
175
			</div>
134
				</div>
176
			</div>
-
 
177
</div>
135
<div id="manager-ticket-table">
178
<div id="manager-ticket-table">
136
		<div class="row">
179
		<div class="row">
137
	    	<div class="col-lg-12">
180
	    	<div class="col-lg-12">
138
	    		<table class="table table-bordered">
181
	    		<table class="table table-bordered">
139
	    			<tbody>
182
	    			<tbody>