Subversion Repositories SmartDukaan

Rev

Rev 25650 | Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
25640 tejbeer 1
 
2
 
3
<script>
4
 
5
 $(".add-customer-feedback").click(function(){
6
        $("#fetchCustomerData").modal({backdrop: false});
7
 
8
    });
9
    </script>
10
<section class="wrapper">
11
	<div class="row">
12
		<div class="col-lg-12">
13
			<h3 class="page-header"><i class="icon_document_alt"></i>HYGIENE</h3>
14
			<ol class="breadcrumb">
15
				<li><i class="fa fa-home"></i><a href="${rc.contextPath}/dashboard">Home</a></li>
16
				<li><i class="icon_document_alt"></i>Hygiene</li>	
17
					<li><button class="btn btn-primary fetchDetail"  data-toggle="modal" data-target="#fetchCustomerData"  type="button" >Fetch</button>
18
								     </li>						  	
19
			</ol>
20
		</div>
21
	</div>
22
 
23
	<div id="hygiene-table">
24
		<div class="row">
25
	    	<div class="col-lg-12">
26
	    		<table class="table table-striped table-advance table-hover">
27
	    			<tbody>
28
	    				<tr>
29
	    					<th>Partner Name</th>
30
	    					<th>Partner Mobile</th>
31
	    					<th>Partner City</th>
32
	    					<th>Date of Purchase</th>
33
	    					<th>Customer Name</th>
34
	    					<th>Customer Mobile</th>
35
	    					<th>Customer City</th>
36
	    					<th>Invoice Number</th>
37
 
38
	    				</tr>
39
	    					#if(!$fofoOrders.isEmpty())
40
			    			#foreach( $request in $fofoOrders )
41
			    				<tr class="hygiene-data" data="$request.getId()">
42
			    					<td>$partnerAddress.get($request.getFofoId()).getBusinessName()</td>
43
			    					<td>$partnerAddress.get($request.getFofoId()).getMobileNumber()</td>
44
			    					<td>$partnerAddress.get($request.getFofoId()).getAddress().getCity()</td>
45
			    					<td>$request.getCreateTimestamp().format($dateTimeFormatter)</td>
46
			    					<td>$customerAddress.get($request.getCustomerAddressId()).getName()</td>
47
			    					<td>$customerAddress.get($request.getCustomerAddressId()).getPhoneNumber()</td>
48
			    					<td>$customerAddress.get($request.getCustomerAddressId()).getCity()</td>
49
			    					<td>$request.getInvoiceNumber()</td>
50
 
51
			    				</tr>	
52
			    	   #end
53
		    			#else
54
		    				<tr>
55
		    					<td colspan="12" style="text-align:center;">NO MATCHING DATA FOUND FOR CRITERIA</td>
56
		    				</tr>
57
		    			#end
58
	    			</tbody>
59
	    		</table>
60
	    	</div>
61
	    </div>
62
    </div>
63
 
64
 
65
 
66
 
67
    <div id="fetchCustomerData" class="modal fade" role="dialog">
68
	  <div class="modal-dialog">
69
 
70
	    <!-- Modal content-->
71
	    <div class="modal-content">
72
 
73
    </div>
74
   </div>
75
 </div>
76
 
77
	</section>