Subversion Repositories SmartDukaan

Rev

Rev 22116 | Rev 23378 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 22116 Rev 22245
Line 130... Line 130...
130
	<div class="col-lg-12">
130
	<div class="col-lg-12">
131
		<table class="table table-striped table-advance table-hover">
131
		<table class="table table-striped table-advance table-hover">
132
			<tbody>
132
			<tbody>
133
				<tr>
133
				<tr>
134
					<th>Item Code</th>
134
					<th>Item Code</th>
135
					<th>Brand</th>
-
 
136
					<th>Model Name</th>
135
					<th>Description</th>
137
					<th>Model Number</th>
-
 
138
					<th>Color</th>
-
 
139
					<th>Unit Price</th>
136
					<th>Unit Price</th>
140
					<th>Quantity</th>
137
					<th>Quantity</th>
141
					<th>Total Price</th>
138
					<th>Total Price</th>
142
				</tr>
139
				</tr>
143
				 #foreach( $fofoLineItem in $fofoLineItems )
140
				 #foreach( $fofoLineItem in $fofoLineItems )
144
				 #set ($total = $fofoLineItem.getSellingPrice() * $fofoLineItem.getQuantity())
141
				 #set ($total = $fofoLineItem.getSellingPrice() * $fofoLineItem.getQuantity())
145
				 	<tr>
142
				 	<tr>
146
				 		<td>$fofoLineItem.getItemId()</td>
143
				 		<td>$fofoLineItem.getItemId()</td>
147
				 		<td>$fofoLineItem.getBrand()</td>
144
				 		<td>
148
				 		<td>$fofoLineItem.getModelName()</td>
-
 
149
				 		<td>$fofoLineItem.getModelNumber()</td>
145
				 			$fofoLineItem.getBrand() $fofoLineItem.getModelName() $fofoLineItem.getModelNumber() $fofoLineItem.getColor()
150
				 		<td>$fofoLineItem.getColor()</td>
146
				 		</td>
151
				 		<td>$fofoLineItem.getSellingPrice()</td>
147
				 		<td>$fofoLineItem.getSellingPrice()</td>
152
				 		<td>$fofoLineItem.getQuantity()</td>
148
				 		<td>$fofoLineItem.getQuantity()</td>
153
				 		<td>$total</td>
149
				 		<td>$total</td>
154
				 	</tr>
150
				 	</tr>
155
				 #end
151
				 #end
Line 157... Line 153...
157
		</table>
153
		</table>
158
	</div>
154
	</div>
159
</div>
155
</div>
160
 
156
 
161
<div class="row">
157
<div class="row">
-
 
158
	#if(!$insurancePolicies.isEmpty())
-
 
159
		<div class="col-lg-8">
-
 
160
			<h4>INSURANCE DETAILS</h4>
-
 
161
    		<table class="table table-striped table-advance">
-
 
162
    			<tbody>
-
 
163
    				<tr>
-
 
164
    					<th>Description</th>
-
 
165
    					<th>Serial Number</th>
-
 
166
    					<th>Provider Name</th>
-
 
167
    					<th>Amount</th>
-
 
168
    				</tr>
-
 
169
    				#if(!$insurancePolicies.isEmpty())
-
 
170
		    			#foreach( $insurancePolicy in $insurancePolicies )
-
 
171
		    				<tr>
-
 
172
		    					<td>$insurancePolicy.getBrand() $insurancePolicy.getModelName()</td>
-
 
173
		    					<td>$insurancePolicy.getSerialNumber()</td>
-
 
174
		    					<td>$insurancePolicy.getInsuranceProvider().getName()</td>
-
 
175
		    					<td>$insurancePolicy.getSaleAmount()</td>
-
 
176
		    				</tr>
-
 
177
		    			#end
-
 
178
	    			#end
-
 
179
    			</tbody>
-
 
180
    		</table>
-
 
181
    	</div>
-
 
182
	#end
162
	<div class="col-lg-4 right" style="border-left:1px solid #f0f0f0;background:white;font-size:14px;">
183
	<div class="col-lg-4 right" style="border-left:1px solid #f0f0f0;background:white;font-size:14px;">
163
		<h4>PAYMENT DETAILS</h4>
184
		<h4>PAYMENT DETAILS</h4>
164
		 #foreach( $paymentOption in $paymentOptions )
185
		 #foreach( $paymentOption in $paymentOptions )
165
		 	#if($paymentOption.getAmount() > 0)
186
		 	#if($paymentOption.getAmount() > 0)
166
		 	<div class="row">
187
		 	<div class="row">