All Order History
All Orders
To Pay
To Ship
To Receive
Complete
Image | Name | Quantity | Unit Price | Price | Status | Date |
---|---|---|---|---|---|---|
" alt="product"> |
Image | Name | Quantity | Unit Price | Price | Status | Date |
---|---|---|---|---|---|---|
" alt="product"> |
Image | Name | Quantity | Unit Price | Price | Status | Date |
---|---|---|---|---|---|---|
" alt="product"> |
Image | Name | Quantity | Unit Price | Price | Status | Date | Actions |
---|---|---|---|---|---|---|---|
" alt="product"> | Received |
Image | Name | Quantity | Unit Price | Price | Status | Date | Actions |
---|---|---|---|---|---|---|---|
" alt="product"> | Refund Requested'; } elseif ($order['return_order']['status'] === 'To Ship') { echo 'For Refund'; } else { $orderDate = strtotime($order['updatedAt']); $sevenDaysAfterOrder = strtotime('+7 days', $orderDate); // Seven days after the order date if ($currentDate >= $sevenDaysAfterOrder) { echo ''; } else { echo 'Return/Refund'; } } ?> |