> For the complete documentation index, see [llms.txt](https://maxbasev.gitbook.io/santa-maria-dashboard/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://maxbasev.gitbook.io/santa-maria-dashboard/en/menu/booking-section/edit-booking.md).

# Editing a booking

There are two ways to access the editing of a booking:

1. On the page displaying all bookings, expand the desired booking and click the "Edit Booking" button in the bottom right corner of the expanded card.
2. On the client's page, open the list of the client's bookings, and on the card of the desired booking, click the "Edit Booking" button.

The booking editing page looks similar to the booking creation page:

<figure><img src="/files/5a8yfyTWmYIuMpoFXB0Q" alt=""><figcaption></figcaption></figure>

In the image:

1 — Warning about the booking status.

2 — Check-in date.

3 — Client form (similar to the client form when creating a new booking). When editing a booking, all clients are loaded as existing clients.

4 — Add client to the booking button.

5 — Information about the number of days and check-out date.

6 — Total price of the booking.

7 — Prepayment.

8 — Save changes button.

If changes are made to an expired booking, a warning may appear regarding the reserved room. If the room is occupied, it will not be possible to save the booking without changing the room.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://maxbasev.gitbook.io/santa-maria-dashboard/en/menu/booking-section/edit-booking.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
