Subversion Repositories SmartDukaan

Rev

Rev 22095 | Rev 22245 | 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">
77
			<h3 class="page-header"><i class="icon_table"></i>Order DETAILS</h3>
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>
118
		<p class="bold-details">Phone <span class="normal-details extra-margin">$customerBillingAddressObj.getPhoneNumber()</span></p>
119
	</div>
120
 
121
	<div class="col-lg-4" style="border-left:1px solid #f0f0f0;">
122
		<h4>INVOICE DETAILS</h4>
123
		<p class="bold-details">Invoice Number <span class="normal-details extra-margin">$fofoOrder.getInvoiceNumber()</span></p>
124
		<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>
125
	</div>
126
 
127
</div>
128
 
129
<div class="row" style="font-size:14px;color:#688a7e;">
130
	<div class="col-lg-12">
131
		<table class="table table-striped table-advance table-hover">
132
			<tbody>
133
				<tr>
134
					<th>Item Code</th>
135
					<th>Brand</th>
136
					<th>Model Name</th>
137
					<th>Model Number</th>
138
					<th>Color</th>
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>
147
				 		<td>$fofoLineItem.getBrand()</td>
148
				 		<td>$fofoLineItem.getModelName()</td>
149
				 		<td>$fofoLineItem.getModelNumber()</td>
150
				 		<td>$fofoLineItem.getColor()</td>
151
				 		<td>$fofoLineItem.getSellingPrice()</td>
152
				 		<td>$fofoLineItem.getQuantity()</td>
153
				 		<td>$total</td>
154
				 	</tr>
155
				 #end
156
			</tbody>
157
		</table>
158
	</div>
159
</div>
160
 
161
<div class="row">
162
	<div class="col-lg-4 right" style="border-left:1px solid #f0f0f0;background:white;font-size:14px;">
163
		<h4>PAYMENT DETAILS</h4>
164
		 #foreach( $paymentOption in $paymentOptions )
165
		 	#if($paymentOption.getAmount() > 0)
166
		 	<div class="row">
167
		 		<div class="col-lg-3">
168
		 			<p class="bold-details">$paymentOption.getType()</p>
169
		 		</div>
170
		 		<div class="col-lg-3">
171
		 			<p class="nomal-details">&#8377; $paymentOption.getAmount()</p>
172
		 		</div>
173
		 	</div>
174
		 	#end
175
		 #end
176
		 <hr/>
177
		 <div class="row">
178
		 	<div class="col-lg-3">
179
		 		<p class="bold-details">TOTAL</p>
180
		 	</div>
181
		 	<div class="col-lg-3">
182
		 		<p class="nomal-details">&#8377;$fofoOrder.getTotalAmount() </p>
183
		 	</div>
184
		 </div>
185
	</div>
186
</div>
187
 
188
</section>