Subversion Repositories SmartDukaan

Rev

Rev 32437 | 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">
37133 amit 30
			<form class="form-horizontal">
31
				<label class="control-label col-sm-2" for="bulkApproveFile">xlsx File:</label>
32
				<div class="col-lg-3">
33
					<div class="input-group">
34
						<input class="form-control" type="file" id="bulkApproveFile" name="uploadfile">
35
						<span class="input-group-btn">
36
							<button class="btn btn-primary vendor-pricing-bulk-approve" type="button">
37
								Bulk Approve via File
38
							</button>
39
						</span>
40
					</div>
41
				</div>
42
			</form>
43
		</div>
44
 
45
		<div class="row">
32074 tejbeer 46
	    	<div class="col-lg-12">
47
	    	    <table class="table table-border table-condensed table-bordered" id="vendors-pricing-request-table" style="width:100%">
48
	    			<thead>
49
	    				<tr>
50
 
51
	    					<th>Vendor Id</th>
52
	    					<th>Vendor Name</th>
53
	    					<th>Catalog Id</th>
54
	    					<th>Item</th>
55
	    					<th>TP</th>
56
	    					<th>DP</th>
57
	    				    <th>MOP</th>
58
	    				    <th>Effected On</th>
59
	    				    <th>Created By</th>
60
 
61
	    				    <th>Approve</th>
62
	    				     <th>Reject</th>
63
 
64
	    				</tr>
65
	    			</thead>
66
	    			<tbody>
67
	    				#if(!$vendorCatalogPricingRequests.isEmpty())
68
			    			#foreach( $vendorPricingRequest in $vendorCatalogPricingRequests )
69
			    				<tr  data-id="$vendorPricingRequest.getId()">
70
			    					<td>$vendorPricingRequest.getVendorId()</td>
71
			    					<td>$vendorMap.get($vendorPricingRequest.getVendorId()).getName()</td>
72
			    				    <td>$vendorPricingRequest.getCatalogId()</td>
32437 tejbeer 73
			    				    <td>$itemMap.get($vendorPricingRequest.getCatalogId()).get(0).getItemDescriptionNoColor()</td>
32074 tejbeer 74
			    					<td>$vendorPricingRequest.getTransferPrice()</td>
75
			    					<td>$vendorPricingRequest.getDealerPrice()</td>
76
			    					<td>$vendorPricingRequest.getMop()</td>
77
			    					<td>$vendorPricingRequest.getEffectedOn().format($dateFormatter)</td>
78
			    					<td>$authMap.get($vendorPricingRequest.getCreatedBy()).getFullName() </td>
79
 
80
								<td>
81
								    <button type="button" data-id="$vendorPricingRequest.getId()"
82
								            class="btn btn-primary vendor-pricing-approve-request-send">
83
 
84
								            APPROVE
85
								    </button>
86
								</td>
87
 
88
								<td>
89
								    <button type="button" data-id="$vendorPricingRequest.getId()"
90
								            class="btn btn-primary vendor-pricing-rejected-request-send">
91
 
92
								            REJECT
93
								    </button>
94
								</td>
95
			    				</tr>
96
			    			#end
97
		    			#else
98
		    				<tr>
99
		    					<td colspan="10" style="text-align:center;">NO MATCHING DATA FOUND FOR CRITERIA</td>
100
		    				</tr>
101
		    			#end
102
	    			</tbody>
103
	    		</table>
104
	    	</div>
105
	    </div>
106
    </div>
107
 
108
 
109
</section>
110
 
111