Subversion Repositories SmartDukaan

Rev

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

Rev Author Line No. Line
22095 kshitij.so 1
<style>
2
	.table-striped > tbody > tr:nth-child(odd) > td{
3
  background: white;
4
  background-color: white;
5
}
6
.table-striped > tbody > tr:nth-child(even) > td{
7
  background: white;
8
  background-color:white;
9
}
10
.table-striped > tbody > tr:hover > td,
11
	.btn:hover{
12
  	color: grey;
13
  	text-decoration: none;
14
	}
15
	.btn-primary:hover{
16
  	color: grey;
17
  	text-decoration: none;
18
	}
19
.modal-content{
20
		background : white;
21
	}
22
	.modelHeaderCustom{
23
		font-size:14px;
24
		font-weight:bold;
25
	}
26
	.border-highlight{
27
		border : 3px solid red;
28
	}
29
	hr{
30
		background-color:#dddddd;
31
		border:none;
32
		height:1px;
33
		background:#dddddd;
34
	}
35
	.control-label {
36
		margin-top: 0;
37
    	margin-bottom: 0;
38
    	padding-top: 7px;
39
    	font-weight:bold;
40
    	font-size:14px;
41
	}
42
	.form-group{
43
		border-bottom: 1px solid #eff2f7;
44
    	padding-bottom: 15px;
45
    	margin-bottom: 15px;
46
	}
47
	.right{
48
		float:right;
49
	}
50
	.form-control{
51
		color:black;
52
		text-transform:uppercase;
53
	}
54
	.bold-details {
55
		text-transform:capitalize;
56
		font-weight:600;
57
		color:#212121;
58
	}
59
	.normal-details{
60
		font-weight:400;
61
		text-transform:capitalize;
62
		color:#797979;
63
	}
64
	.extra-margin{
65
		margin-left:2%;
66
	}
67
	.table{
68
		margin-bottom:20px;
69
		margin-top:20px;
70
	}
71
}
72
</style>
73
#set($options="{ weekday: 'long', year: 'numeric', month: 'long', day: 'numeric', hour: 'numeric', minute:'numeric' }")
74
<section class="wrapper">
75
<div class="row">
76
		<div class="col-lg-12">
23638 amit.gupta 77
			<h3 class="page-header"><i class="icon_table"></i>Order Details</h3>
22095 kshitij.so 78
			<ol class="breadcrumb">
22116 amit.gupta 79
				<li><i class="fa fa-home"></i><a href="${rc.contextPath}/dashboard">Home</a></li>
22095 kshitij.so 80
				<li><i class="icon_table"></i>Order Details</li>						  	
81
			</ol>
82
		</div>
83
</div>
84
<div class="row" style="background:white;font-size:14px;">
85
	<div class="col-lg-4" style="border-left:1px solid #f0f0f0;">
86
		<h4>ORDER DETAILS</h4>
87
		<div class="row">
88
			<div class="col-lg-4">
89
				<p class="bold-details">Order ID</p>
90
			</div>
91
			<div class="col-lg-6">
92
				<p class="normal-details">#$fofoOrder.getId() ($fofoLineItems.size() item)</p>
93
			</div>
94
		</div>
95
		<div class="row">
96
			<div class="col-lg-4">
97
				<p class="bold-details">Order Date</p>
98
			</div>
99
			<div class="col-lg-6">
100
				<script>document.getElementById('createTimestamp').appendChild(document.createTextNode(new Date('$fofoOrder.getCreateTimestamp()').toLocaleString("en-US",$options)))</script>
101
				<p class="normal-details" id="createTimestamp"></p>
102
			</div>
103
		</div>
104
		<div class="row">
105
			<div class="col-lg-4">
106
				<p class="bold-details">Amount Paid</p>
107
			</div>
108
			<div class="col-lg-6">
109
				<p class="normal-details"><span class="normal-details">&#8377; </span>$fofoOrder.getTotalAmount()</p>
110
			</div>
111
		</div>
112
	</div>
113
 
114
	<div class="col-lg-4" style="border-left:1px solid #f0f0f0;">
115
		<h4>BILLING DETAILS</h4>
116
		<p class="bold-details">$customerBillingAddressObj.getName()</p>
117
		<p class="normal-details">$customerBillingAddress</p>
23378 ashik.ali 118
		#if($fofoOrder.getCustomerGstNumber() && $fofoOrder.getCustomerGstNumber() != "")
119
			<p class="bold-details">GST Number <span class="normal-details extra-margin">$fofoOrder.getCustomerGstNumber()</span></p>
120
		#end
22095 kshitij.so 121
		<p class="bold-details">Phone <span class="normal-details extra-margin">$customerBillingAddressObj.getPhoneNumber()</span></p>
122
	</div>
123
 
124
	<div class="col-lg-4" style="border-left:1px solid #f0f0f0;">
125
		<h4>INVOICE DETAILS</h4>
126
		<p class="bold-details">Invoice Number <span class="normal-details extra-margin">$fofoOrder.getInvoiceNumber()</span></p>
23783 ashik.ali 127
		<p class="invoice_download_option"><i class="fa fa-print" aria-hidden="true"></i><a target="_blank" href="generateInvoice?orderId=$fofoOrder.getId()" class="extra-margin" style="font-size:18px">Print Invoice</a	></i></p>
22095 kshitij.so 128
	</div>
129
 
130
</div>
131
 
132
<div class="row" style="font-size:14px;color:#688a7e;">
133
	<div class="col-lg-12">
134
		<table class="table table-striped table-advance table-hover">
135
			<tbody>
136
				<tr>
137
					<th>Item Code</th>
22245 ashik.ali 138
					<th>Description</th>
22095 kshitij.so 139
					<th>Unit Price</th>
140
					<th>Quantity</th>
141
					<th>Total Price</th>
142
				</tr>
143
				 #foreach( $fofoLineItem in $fofoLineItems )
144
				 #set ($total = $fofoLineItem.getSellingPrice() * $fofoLineItem.getQuantity())
145
				 	<tr>
146
				 		<td>$fofoLineItem.getItemId()</td>
22245 ashik.ali 147
				 		<td>
148
				 			$fofoLineItem.getBrand() $fofoLineItem.getModelName() $fofoLineItem.getModelNumber() $fofoLineItem.getColor()
149
				 		</td>
22095 kshitij.so 150
				 		<td>$fofoLineItem.getSellingPrice()</td>
151
				 		<td>$fofoLineItem.getQuantity()</td>
152
				 		<td>$total</td>
153
				 	</tr>
154
				 #end
155
			</tbody>
156
		</table>
157
	</div>
158
</div>
159
 
160
<div class="row">
22245 ashik.ali 161
	#if(!$insurancePolicies.isEmpty())
162
		<div class="col-lg-8">
163
			<h4>INSURANCE DETAILS</h4>
164
    		<table class="table table-striped table-advance">
165
    			<tbody>
166
    				<tr>
167
    					<th>Description</th>
168
    					<th>Serial Number</th>
169
    					<th>Provider Name</th>
170
    					<th>Amount</th>
171
    				</tr>
172
    				#if(!$insurancePolicies.isEmpty())
173
		    			#foreach( $insurancePolicy in $insurancePolicies )
174
		    				<tr>
175
		    					<td>$insurancePolicy.getBrand() $insurancePolicy.getModelName()</td>
176
		    					<td>$insurancePolicy.getSerialNumber()</td>
177
		    					<td>$insurancePolicy.getInsuranceProvider().getName()</td>
178
		    					<td>$insurancePolicy.getSaleAmount()</td>
179
		    				</tr>
180
		    			#end
181
	    			#end
182
    			</tbody>
183
    		</table>
184
    	</div>
185
	#end
22095 kshitij.so 186
	<div class="col-lg-4 right" style="border-left:1px solid #f0f0f0;background:white;font-size:14px;">
187
		<h4>PAYMENT DETAILS</h4>
188
		 #foreach( $paymentOption in $paymentOptions )
189
		 	#if($paymentOption.getAmount() > 0)
190
		 	<div class="row">
191
		 		<div class="col-lg-3">
192
		 			<p class="bold-details">$paymentOption.getType()</p>
193
		 		</div>
194
		 		<div class="col-lg-3">
195
		 			<p class="nomal-details">&#8377; $paymentOption.getAmount()</p>
196
		 		</div>
197
		 	</div>
198
		 	#end
199
		 #end
200
		 <hr/>
201
		 <div class="row">
202
		 	<div class="col-lg-3">
203
		 		<p class="bold-details">TOTAL</p>
204
		 	</div>
205
		 	<div class="col-lg-3">
206
		 		<p class="nomal-details">&#8377;$fofoOrder.getTotalAmount() </p>
207
		 	</div>
208
		 </div>
209
	</div>
210
</div>
211
 
212
</section>