> For the complete documentation index, see [llms.txt](https://skill-og.gitbook.io/gastroflow/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://skill-og.gitbook.io/gastroflow/gastroflow.business/bestellungen.md).

# Bestellungen

Primary view of the application

Zeigt die aktuellen eingehenden und aktiven Bestellungen in Echtzeit an

<figure><img src="https://2719986681-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F8wxc4FCJFvces8AREkxU%2Fuploads%2FMkoDr4KF9eOMYhHbUkV8%2Fimage.png?alt=media&amp;token=7dea6236-dfeb-428f-9d4f-b7e88cb8fa8a" alt=""><figcaption></figcaption></figure>

### Filterleiste (oberer Bereich)

Die Filterleiste ermöglicht dem Personal, schnell einzuschränken, welche Bestellungen sie sehen:

#### Standortauswahl

* **Eisenwerk** ← Das ist das aktuell mit diesem Dienst verbundene Restaurant
* **Restaurant** (nur relevant für Konten, die selbst auch als Restaurant betrieben werden)

#### Tagesfilter

(In diesem Beispiel - verfügbare Tage werden durch den Wert der Schichten angegeben)

* **DO** (Donnerstag)
* **FR** (Freitag)
* **SA** (Samstag)
* **SO** (Sonntag) → Alle Tage sind anklickbar. Es werden nur Bestellungen der ausgewählten Tage angezeigt.

#### Schichtfilter

* **Mittag** (Lunch-Schicht) – zeigt die Anzahl der Bestellungen in Klammern an, z. B. **(0)**
* **Abend** (Abend-Schicht) – zeigt die Anzahl der Bestellungen in Klammern an, z. B. **(2)**

#### Bestelltyp-Filter

* **Lieferung** (Lieferung)
* **Restaurant** (Vor-Ort)
* **Besucher** (Besucher)

> Alle Schaltflächen in der Filterleiste sind **interaktiv**. Die Ansicht aktualisiert sich sofort, wenn ein Filter ausgewählt wird. Mehrere Filter können kombiniert werden.

***

### Bestellübersicht

#### Offene Bestellungen (Offen)

* Bestellungen, die aufgegeben wurden, aber **noch nicht bestätigt** durch das Personal.
* Die Anzahl wird oben angezeigt: Offen: 1

**Beispiel einer offenen Bestellung:**

* **MaNr**: ESW001
* **Nachname**: user
* **Vorname**: esw
* Bestelldetails: #62848 1 × Donnerstag Abend
* Schaltfläche: **Erledigt** (Als erledigt markieren)

#### Abgeschlossene Bestellungen (Erledigt)

* Bestellungen, die vom Personal bestätigt oder automatisch geschlossen wurden (Schicht beendet).

**Beispiel einer abgeschlossenen Bestellung:**

* **MaNr**: ESW0002
* **Nachname**: user2
* **Vorname**: esw
* Order items:
  * \#62833 1 × test
  * \#62834 2 × test2

#### Verhalten & Regeln beim Bearbeiten von Bestellungen <a href="#verhalten-and-regeln-beim-bearbeiten-von-bestellungen" id="verhalten-and-regeln-beim-bearbeiten-von-bestellungen"></a>

| Situation                                  | Can customer still modify order? | Notes                                   |
| ------------------------------------------ | -------------------------------- | --------------------------------------- |
| **offen** + noch innerhalb der Schichtzeit | Ja                               | Kunde kann Artikel hinzufügen/entfernen |
| Bestellung wurde **bestätigt** (Erledigt)  | Nein                             | Sofort gesperrt                         |
| Der Schichtzeitraum ist **abgelaufen**     | Nein                             | Automatisch gesperrt                    |

→ This prevents changes after preparation has started or the shift is over.


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://skill-og.gitbook.io/gastroflow/gastroflow.business/bestellungen.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
