FIND THIS INSIDE dashboard.php:

<a
class="view-btn"
href="view_receipt.php?id=<?= (int)$order['id'] ?>">
View
</a>

REPLACE WITH:

<a
class="view-btn"
href="view_receipt.php?id=<?= (int)$order['id'] ?>"
target="_blank">
View
</a>

THIS OPENS RECEIPTS IN A NEW TAB/WINDOW.
