"") { $_SESSION["isLoggedIn"] = true; $customer_data = getCustomerbyLoginId($_SESSION["userId"]); } else { $_SESSION["isLoggedIn"] = false; header("location: login.php"); } if ($_SESSION["isVendor"] == true) { header("location: vendor-dashboard.php"); } ?> oBanana B2B - Elevate Your Business

User History

alt="vendor image">
All Order History
All Orders
To Pay
To Ship
To Receive
Complete

No Purchased Order/s Yet.

'; // } } } // } else if (empty($order['status'])) { // echo '

No Purchased Order/s Yet.

'; // } ?> No Order/s Yet.

'; ?>
Image Name Quantity Unit Price Price Status Date
product " alt="product">
No To Pay Order/s Yet.

'; ?>
Image Name Quantity Unit Price Price Status Date
product " alt="product">
No To Ship Order/s Yet.

'; ?>
Image Name Quantity Unit Price Price Status Date
product " alt="product">
No To Receive Order/s Yet.

'; ?>
Image Name Quantity Unit Price Price Status Date Actions
product " alt="product"> Received
No Completed Order/s Yet.

'; ?>
Image Name Quantity Unit Price Price Status Date Actions
product " 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'; } } ?>
3

Features

icon

Color Scheme

Full Screen mode

Mode
On
Off

Dark mode

Mode
On
Off

RTL mode

Rtl
On
Off

Clear local storage

Clear Cache & Default