diff --git a/header.php b/header.php index 4df2f85..05c060e 100644 --- a/header.php +++ b/header.php @@ -689,11 +689,11 @@ if ($_SESSION["userId"] <> "") { @@ -253,40 +253,41 @@ function updateWishItemCount() { - -
- ' data-bs-toggle="modal" + data-bs-target="#productDetails"> + | + - - " + alt="product"> + - " alt="product"> - " + alt="product"> + - | -- | - | - | - | - | + ?> + + | + | ++ | ++ | ++ | ++ | + | - -
- ' data-bs-toggle="modal" + data-bs-target="#productDetails"> + | + - - " + alt="product"> + - " alt="product"> - " + alt="product"> + - | -- | - | - | - | - - | - |
- " + data-value=' '> + | + - - " + alt="product"> + - " alt="product"> - " + alt="product"> + - | -- | - | - | - | - - | - | - - Received - - | -+ + | ++ + Received + + | + - No To Receive Order/s Yet.'; - ?> - + ?> + @@ -720,250 +978,1141 @@ if ($_SESSION["isVendor"] == true) { $totalAmount += $order['total_amount']; ?> - -
- ' data-bs-toggle="modal" + data-bs-target="#productDetails"> + | + - - " + alt="product"> + - " alt="product"> - " + alt="product"> + + ?> - | -- | - | - | - | - - | - | - + | ++ Refund Requested'; + echo 'Refund Requested'; } elseif ($order['return_order']['status'] === 'To Ship') { - echo 'For Refund'; + echo 'For Refund'; } else { $orderDate = strtotime($order['updatedAt']); $sevenDaysAfterOrder = strtotime('+7 days', $orderDate); // Seven days after the order date - if ($currentDate >= $sevenDaysAfterOrder) { + if ($currentDate >= $sevenDaysAfterOrder || $order['isRate']=== true ) { echo ''; - } else { - echo 'Return/Refund'; - } - } - ?> - | - - -