web-account-orders
Orders (stage 48), for the web: the one list of the signed-in customer’s orders, newest first, each with its state, its lines, tax, deposit, what was paid, what is still to pay and by when, and what was refunded. Every figure is the host’s, in the currency’s minor unit, shown in the order’s currency (my.list on order and orderLine, through the seam: their own orders only, never a child’s). A paid order’s receipt is the payment provider’s email until the host has a receipt document (stage 35): then receiptUrl is set and the row links to it.
| Skin | web |
| Pack | the base layer |
| Add it | cos add web-account-orders |
| Files | orders.tsx, LICENSE |
| Depends on | ui-button |
| Packages | @composable-os/client |
Operations it calls
Section titled “Operations it calls”Through its hooks; the host decides what each caller may do.
Source: blocks/web-account-orders.