Subversion Repositories SmartDukaan

Rev

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

Rev 28339 Rev 28344
Line 26... Line 26...
26
 
26
 
27
<section class="wrapper">
27
<section class="wrapper">
28
	<div class="row">
28
	<div class="row">
29
		<div class="col-lg-12">
29
		<div class="col-lg-12">
30
			<h3 class="page-header">
30
			<h3 class="page-header">
31
				<i class="icon_document_alt"></i>FOfo Pending Order
31
				<i class="icon_document_alt"></i>Fofo Billed Order
32
			</h3>
32
			</h3>
33
			<ol class="breadcrumb">
33
			<ol class="breadcrumb">
34
				<li><i class="fa fa-home"></i><a
34
				<li><i class="fa fa-home"></i><a
35
					href="${rc.contextPath}/dashboard">Home</a></li>
35
					href="${rc.contextPath}/dashboard">Home</a></li>
36
				<li><i class="icon_document_alt"></i>Billed Order</li>
36
				<li><i class="icon_document_alt"></i>Billed Order</li>
Line 49... Line 49...
49
					<th>Last Name</th>
49
					<th>Last Name</th>
50
					<th>Mobile</th>
50
					<th>Mobile</th>
51
					<th>Order Status</th>
51
					<th>Order Status</th>
52
					<th>Pay Method</th>
52
					<th>Pay Method</th>
53
					<th>Pay Mode</th>
53
					<th>Pay Mode</th>
54
					<th>Order ItemId</th>
54
					<th>Order Item Id</th>
55
					<th>Item Id</th>
55
					<th>Item Id</th>
56
					<th>item details</th>
56
					<th>Item Details</th>
57
					<th>Selling Price</th>
57
					<th>Selling Price</th>
58
					<th>Order Item Status</th>
58
					<th>Order Item Status</th>
59
					<th>Created on</th>
59
					<th>Created on</th>
-
 
60
					<th>Billed on</th>
60
					<th>Actions</th>
61
					<th>Actions</th>
61
				</tr>
62
				</tr>
62
			</thead>
63
			</thead>
63
			<tbody>
64
			<tbody>
64
				#if(!$pendingOrderItem.isEmpty()) #foreach( $request in
65
				#if(!$pendingOrderItem.isEmpty()) #foreach( $request in
Line 67... Line 68...
67
					<td>$request.getOrderId()</td>
68
					<td>$request.getOrderId()</td>
68
					<td>$request.getPendingOrder().getCustomer().getFirstName()</td>
69
					<td>$request.getPendingOrder().getCustomer().getFirstName()</td>
69
					<td>$request.getPendingOrder().getCustomer().getLastName()</td>
70
					<td>$request.getPendingOrder().getCustomer().getLastName()</td>
70
					<td>$request.getPendingOrder().getCustomer().getMobileNumber()</td>
71
					<td>$request.getPendingOrder().getCustomer().getMobileNumber()</td>
71
					<td>$request.getPendingOrder().getStatus()</td>
72
					<td>$request.getPendingOrder().getStatus()</td>
72
					<td>$request.getPendingOrder().getPayMethod()</td>
73
					<td>$request.getPendingOrder().getPayMethodDescription()</td>
73
					#if($request.getPendingOrder().getTotalAmount() ==
74
					#if($request.getPendingOrder().getTotalAmount() ==
74
					$request.getPendingOrder().getPaidAmount())
75
					$request.getPendingOrder().getPaidAmount())
75
					<td>ONLINE</td> #else
76
					<td>ONLINE</td> #else
76
					<td>OFFLINE</td> #end #if($customRetailersMap)
77
					<td>OFFLINE</td> #end #if($customRetailersMap)
77
					<td>$customRetailersMap.get($request.getPendingOrder().getFofoId()).getBusinessName()</td>
78
					<td>$customRetailersMap.get($request.getPendingOrder().getFofoId()).getBusinessName()</td>
Line 80... Line 81...
80
					<td>$request.getItemId()</td>
81
					<td>$request.getItemId()</td>
81
					<td>$request.getItemName()</td>
82
					<td>$request.getItemName()</td>
82
					<td>$request.getSellingPrice()</td>
83
					<td>$request.getSellingPrice()</td>
83
					<td>$request.getStatus()</td>
84
					<td>$request.getStatus()</td>
84
					<td>$request.getCreateTimestamp().format($dateTimeFormatter)</td>
85
					<td>$request.getCreateTimestamp().format($dateTimeFormatter)</td>
-
 
86
					<td>$request.getBilledTimestamp().format($dateTimeFormatter)</td>
85
					<td>
87
					<td>
86
						<button class="btn btn-primary pendingOrderItemDelivered"
88
						<button class="btn btn-primary pendingOrderItemDelivered"
87
							data-poid="$request.getOrderId()"
89
							data-poid="$request.getOrderId()"
88
							data-poitemid="$request.getId()" type="button"
90
							data-poitemid="$request.getId()" type="button"
89
							style="width: 100%; border-radius: 0px;">Mark Delivered</button>
91
							style="width: 100%; border-radius: 0px;">Mark Delivered</button>