Subversion Repositories SmartDukaan

Rev

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

Rev Author Line No. Line
22245 ashik.ali 1
<style>
22860 ashik.ali 2
	.modal-content{
22245 ashik.ali 3
		background : white;
4
	}
5
	.modelHeaderCustom{
6
		font-size:14px;
7
		font-weight:bold;
8
	}
9
	.border-highlight{
10
		border : 3px solid red;
11
	}
12
	hr{
13
		background-color:#dddddd;
14
		border:none;
15
		height:1px;
16
		background:#dddddd;
17
	}
18
	.control-label {
19
		margin-top: 0;
20
    	margin-bottom: 0;
21
    	padding-top: 7px;
22
    	font-weight:bold;
23
    	font-size:14px;
24
	}
25
	.right{
26
		float:right;
27
	}
28
	.form-control{
29
		color:black;
30
		text-transform:uppercase;
31
	}
32
	.bold-details {
33
		text-transform:capitalize;
34
		font-weight:600;
35
		color:#212121;
36
	}
37
	.normal-details{
38
		font-weight:400;
39
		text-transform:capitalize;
40
		color:#797979;
41
	}
22860 ashik.ali 42
 
22245 ashik.ali 43
}
44
</style>
45
#set($options="{ weekday: 'long', year: 'numeric', month: 'long', day: 'numeric', hour: 'numeric', minute:'numeric' }")
46
<section class="wrapper">
47
<div class="row" style="background:white;font-size:14px;">
48
	<div class="col-lg-4" style="border-left:1px solid #f0f0f0;">
49
		<h4>ORDER DETAILS</h4>
50
		<div class="row">
51
			<div class="col-lg-4">
52
				<p class="bold-details">Order ID</p>
53
			</div>
54
			<div class="col-lg-6">
55
				<p class="normal-details">#$fofoOrder.getId() ($fofoLineItems.size() item)</p>
56
			</div>
57
		</div>
58
		<div class="row">
59
			<div class="col-lg-4">
60
				<p class="bold-details">Order Date</p>
61
			</div>
62
			<div class="col-lg-6">
63
				<script>document.getElementById('createTimestamp').appendChild(document.createTextNode(new Date('$fofoOrder.getCreateTimestamp()').toLocaleString("en-US",$options)))</script>
64
				<p class="normal-details" id="createTimestamp"></p>
65
			</div>
66
		</div>
67
		<div class="row">
68
			<div class="col-lg-4">
69
				<p class="bold-details">Amount Paid</p>
70
			</div>
71
			<div class="col-lg-6">
72
				<p class="normal-details"><span class="normal-details">&#8377; </span>$fofoOrder.getTotalAmount()</p>
73
			</div>
74
		</div>
75
	</div>
76
 
77
	<div class="col-lg-4" style="border-left:1px solid #f0f0f0;">
78
		<h4>BILLING DETAILS</h4>
79
		<p class="bold-details">$customerBillingAddressObj.getName()</p>
80
		<p class="normal-details">$customerBillingAddress</p>
81
		<p class="bold-details">Phone <span class="normal-details extra-margin">$customerBillingAddressObj.getPhoneNumber()</span></p>
82
	</div>
83
 
84
	<div class="col-lg-4" style="border-left:1px solid #f0f0f0;">
85
		<h4>INVOICE DETAILS</h4>
86
		<p class="bold-details">Invoice Number <span class="normal-details extra-margin">$fofoOrder.getInvoiceNumber()</span></p>
87
		<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>
88
	</div>
89
 
90
</div>
91
 
92
<div class="row" style="font-size:14px;color:#688a7e;">
93
	<div class="col-lg-12">
94
		<table class="table table-striped table-advance table-hover">
95
			<tbody>
96
				<tr>
97
					<th>Item Code</th>
98
					<th>Description</th>
99
					<th>Unit Price</th>
100
					<th>Quantity</th>
101
					<th>Total Price</th>
102
				</tr>
103
				 #foreach( $fofoLineItem in $fofoLineItems )
104
				 #set ($total = $fofoLineItem.getSellingPrice() * $fofoLineItem.getQuantity())
105
				 	<tr>
106
				 		<td>$fofoLineItem.getItemId()</td>
107
				 		<td>
108
				 			$fofoLineItem.getBrand() $fofoLineItem.getModelName() $fofoLineItem.getModelNumber() $fofoLineItem.getColor()
109
				 		</td>
110
				 		<td>$fofoLineItem.getSellingPrice()</td>
111
				 		<td>$fofoLineItem.getQuantity()</td>
112
				 		<td>$total</td>
113
				 	</tr>
114
				 #end
115
			</tbody>
116
		</table>
117
	</div>
118
</div>
119
 
120
<div class="row">
121
	#if(!$insurancePolicies.isEmpty())
122
		<div class="col-lg-8">
123
			<h4>INSURANCE DETAILS</h4>
124
    		<table class="table table-striped table-advance">
125
    			<tbody>
126
    				<tr>
127
    					<th>Description</th>
128
    					<th>Serial Number</th>
129
    					<th>Provider Name</th>
130
    					<th>Amount</th>
131
    				</tr>
132
    				#if(!$insurancePolicies.isEmpty())
133
		    			#foreach( $insurancePolicy in $insurancePolicies )
134
		    				<tr>
135
		    					<td>$insurancePolicy.getBrand() $insurancePolicy.getModelName()</td>
136
		    					<td>$insurancePolicy.getSerialNumber()</td>
137
		    					<td>$insurancePolicy.getInsuranceProvider().getName()</td>
138
		    					<td>$insurancePolicy.getSaleAmount()</td>
139
		    				</tr>
140
		    			#end
141
	    			#end
142
    			</tbody>
143
    		</table>
144
    	</div>
145
	#end
146
 
147
	<div class="col-lg-4 right" style="border-left:1px solid #f0f0f0;background:white;font-size:14px;">
148
		<h4>PAYMENT DETAILS</h4>
149
		 #foreach( $paymentOption in $paymentOptions )
150
		 	#if($paymentOption.getAmount() > 0)
151
		 	<div class="row">
152
		 		<div class="col-lg-3">
153
		 			<p class="bold-details">$paymentOption.getType()</p>
154
		 		</div>
155
		 		<div class="col-lg-3">
156
		 			<p class="nomal-details">&#8377; $paymentOption.getAmount()</p>
157
		 		</div>
158
		 	</div>
159
		 	#end
160
		 #end
161
		 <hr/>
162
		 <div class="row">
163
		 	<div class="col-lg-3">
164
		 		<p class="bold-details">TOTAL</p>
165
		 	</div>
166
		 	<div class="col-lg-3">
167
		 		<p class="nomal-details">&#8377;$fofoOrder.getTotalAmount() </p>
168
		 	</div>
169
		 </div>
170
	</div>
171
</div>
172
 
173
</section>