Subversion Repositories SmartDukaan

Rev

Rev 32074 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
32074 tejbeer 1
 
2
<script type="text/javascript">
3
 
4
    $(document).ready(function () {
5
 
6
      var dtable = $('#vendors-pricing-request-table').DataTable({
7
 
8
            "scrollX": true,
9
            "scrollCollapse": true,
10
       });
11
 
12
    });
13
 
14
 
15
</script>
16
 
17
<section class="wrapper">
18
	<div class="row">
19
		<div class="col-lg-12">
20
			<h3 class="page-header"><i class="icon_document_alt"></i>PRICING REQUESTS</h3>
21
			<ol class="breadcrumb">
22
				<li><i class="fa fa-home"></i><a href="${rc.contextPath}/dashboard">Home</a></li>
23
				<li><i class="icon_document_alt"></i>Vendor Catalog Pricing Requests</li>	
24
 
25
			</ol>
26
		</div>
27
	</div>
28
 
29
		<div class="row">
30
	    	<div class="col-lg-12">
31
	    	    <table class="table table-border table-condensed table-bordered" id="vendors-pricing-request-table" style="width:100%">
32
	    			<thead>
33
	    				<tr>
34
 
35
	    					<th>Vendor Id</th>
36
	    					<th>Vendor Name</th>
37
	    					<th>Catalog Id</th>
38
	    					<th>Item</th>
39
	    					<th>TP</th>
40
	    					<th>DP</th>
41
	    				    <th>MOP</th>
42
	    				    <th>Effected On</th>
43
	    				    <th>Created By</th>
44
 
45
	    				    <th>Approve</th>
46
	    				     <th>Reject</th>
47
 
48
	    				</tr>
49
	    			</thead>
50
	    			<tbody>
51
	    				#if(!$vendorCatalogPricingRequests.isEmpty())
52
			    			#foreach( $vendorPricingRequest in $vendorCatalogPricingRequests )
53
			    				<tr  data-id="$vendorPricingRequest.getId()">
54
			    					<td>$vendorPricingRequest.getVendorId()</td>
55
			    					<td>$vendorMap.get($vendorPricingRequest.getVendorId()).getName()</td>
56
			    				    <td>$vendorPricingRequest.getCatalogId()</td>
32437 tejbeer 57
			    				    <td>$itemMap.get($vendorPricingRequest.getCatalogId()).get(0).getItemDescriptionNoColor()</td>
32074 tejbeer 58
			    					<td>$vendorPricingRequest.getTransferPrice()</td>
59
			    					<td>$vendorPricingRequest.getDealerPrice()</td>
60
			    					<td>$vendorPricingRequest.getMop()</td>
61
			    					<td>$vendorPricingRequest.getEffectedOn().format($dateFormatter)</td>
62
			    					<td>$authMap.get($vendorPricingRequest.getCreatedBy()).getFullName() </td>
63
 
64
								<td>
65
								    <button type="button" data-id="$vendorPricingRequest.getId()"
66
								            class="btn btn-primary vendor-pricing-approve-request-send">
67
 
68
								            APPROVE
69
								    </button>
70
								</td>
71
 
72
								<td>
73
								    <button type="button" data-id="$vendorPricingRequest.getId()"
74
								            class="btn btn-primary vendor-pricing-rejected-request-send">
75
 
76
								            REJECT
77
								    </button>
78
								</td>
79
			    				</tr>
80
			    			#end
81
		    			#else
82
		    				<tr>
83
		    					<td colspan="10" style="text-align:center;">NO MATCHING DATA FOUND FOR CRITERIA</td>
84
		    				</tr>
85
		    			#end
86
	    			</tbody>
87
	    		</table>
88
	    	</div>
89
	    </div>
90
    </div>
91
 
92
 
93
</section>
94
 
95