This commit is contained in:
seb
2026-10-15 15:55:01 +02:00
parent 529b142341
commit e462a3d250
6 changed files with 356 additions and 2 deletions

View File

@@ -149,6 +149,12 @@ export async function create(googleAuthId, data) {
return enrichSingleOrder(store, googleAuthId, order);
}
export async function createFromQuote(googleAuthId, quoteId, data) {
const store = await getStore();
const order = await store.order.createFromQuote(googleAuthId, quoteId, data);
return enrichSingleOrder(store, googleAuthId, order);
}
export async function update(googleAuthId, id, data) {
const store = await getStore();
const order = await store.order.update(googleAuthId, id, data);