"") {
$_SESSION["isLoggedIn"] = true;
$vendorLoginId = searchVendorbyLoginId($_SESSION["userId"]);
$vendorLoginIdjson = json_decode($vendorLoginId, true);
if (isset($vendorLoginIdjson['results'][0])) {
$vendorData = $vendorLoginIdjson['results'][0];
$vendorId = $vendorData['_id'];
$_SESSION["LoggedInVendorId"] = $vendorId;
}
} else {
$_SESSION["isLoggedIn"] = false;
header("location: login.php");
}
$products = productList();
$shopOrders = getOrderbyVendorId($vendorId);
$vendorOrderss = json_decode($shopOrders);
if (is_array($vendorOrderss)) {
$vendorOrders = json_decode($shopOrders);
} elseif (is_object($vendorOrderss) && property_exists($vendorOrderss, 'message')) {
$vendorOrders = [];
} else {
echo "Unknown type or no 'message' property found.";
}
?>
oBanana B2B - Elevate Your Business
All Refunds
To Approve
To Ship
To Receive
To Refund
Complete
Image |
Name |
Quantity |
Unit Price |
Price |
Refund Status |
Date |
|
|
|
|
|
|
|
Image |
Name |
Quantity |
Unit Price |
Price |
Refund Status |
Date |
Action |
|
|
|
|
|
|
|
Approve Refund
|
Image |
Name |
Quantity |
Unit Price |
Price |
Refund Status |
Date |
|
|
|
|
|
|
|
Image |
Name |
Quantity |
Unit Price |
Price |
Refund Status |
Date |
Actions |
|
|
|
|
|
|
|
Received
|
Image |
Name |
Quantity |
Unit Price |
Price |
Refund Status |
Date |
|
|
|
|
|
|
|
Image |
Name |
Quantity |
Unit Price |
Price |
Refund Status |
Date |
|
|
|
|
|
|
|