Subversion Repositories SmartDukaan

Rev

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

Rev 18172 Rev 18184
Line 106... Line 106...
106
						}
106
						}
107
						if(!empty($order['orderTrackingUrl'])){
107
						if(!empty($order['orderTrackingUrl'])){
108
							$suborder['orderSuccessUrl'] = $order['orderTrackingUrl'];
108
							$suborder['orderSuccessUrl'] = $order['orderTrackingUrl'];
109
						}
109
						}
110
						switch($suborder['cashBackStatus']){
110
						switch($suborder['cashBackStatus']){
111
							// case 'Credited to wallet'://Credited
-
 
112
							// $creditedOrders[] = $suborder;
-
 
113
							// break;
-
 
114
							case 'Approved':
111
							case 'Approved':
115
							$approvedOrders[] = $suborder;
112
							$approvedOrders[] = $suborder;
116
							$approvedAmount += $suborder['cashBackAmount'];
113
							$approvedAmount += $suborder['cashBackAmount'];
117
							break;
114
							break;
118
							case 'Pending':
115
							case 'Pending':
119
							$pendingOrders[] = $suborder;
116
							$pendingOrders[] = $suborder;
120
							// $pendingAmount += $suborder['cashBackAmount'];
-
 
121
						}
117
						}
122
					}
118
					}
123
				}
119
				}
124
			}
120
			}
125
		}
121
		}