# Viewing client's orders.

The first menu item on the client's page is their orders. In the top right corner, there is a button to refresh the user's order data (1). Below, there is a list of all the user's orders displayed as cards.

<figure><img src="/files/itrVAGgxEkSnneQi0N9e" alt=""><figcaption></figcaption></figure>

The order card (2) consists of the following elements (as shown in the image):

3 - Booking dates.

4 - Order status. The following options are possible:

* Awaiting confirmation (order has been placed but payment has not been made yet).
* Expired (order was placed, but payment was not made within an hour). Such an order can be changed to confirmed by editing the order and providing payment information (if the room specified in the order is already booked, it will need to be changed during editing).
* Future (confirmed order that is yet to come).
* Current (confirmed order, client is currently in the clinic).
* Past (confirmed order that has already ended).
* Canceled - Orders can only be canceled manually in the Dashboard, and canceled orders cannot be restored.

5 - Order creation information: when the order was created and in which system (Dashboard or Booking page).

6 - Overall payment information for the order (base cost of the order, amount of prepayment made, whether the order is fully paid).

7 - List of patients in the order.

8 - Quick order editing buttons:

* Order confirmation button: When clicked, a form appears with a field to enter the prepayment amount (button only available for orders awaiting confirmation).
* Order cancellation button: When clicked, a confirmation window appears before proceeding with the cancellation operation. After confirmation, the order status changes to Canceled.
* Full payment button: When clicked, a confirmation window appears for the operation (button unavailable for canceled and expired orders).

9 - [Order editing](/santa-maria-dashboard/en/menu/booking-section/edit-booking.md) button.

10 - Order history.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://maxbasev.gitbook.io/santa-maria-dashboard/en/menu/patient-record-section/viewing-client-orders.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
