diff --git a/vendor-dashboard.php b/vendor-dashboard.php index b3c30dd..a7f7c2e 100644 --- a/vendor-dashboard.php +++ b/vendor-dashboard.php @@ -19,6 +19,8 @@ $products = productList(); $shopOrders = getOrderbyVendorId($vendorId); $vendorOrderss = json_decode($shopOrders); +$vendorOrders1 = json_encode($shopOrders); + if (is_array($vendorOrderss)) { $vendorOrders = json_decode($shopOrders); @@ -180,7 +182,16 @@ if ($_SESSION["isCustomer"] == true) { +