orderiom-api-package 0.4.115 → 0.4.116
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/modules/order.js +13 -0
package/package.json
CHANGED
package/src/modules/order.js
CHANGED
|
@@ -1029,6 +1029,19 @@ const actions = {
|
|
|
1029
1029
|
})
|
|
1030
1030
|
.catch(commonErrorCallback());
|
|
1031
1031
|
},
|
|
1032
|
+
getKessenExternalOrder({ commit }, { restaurantId, tablePaymentId, tableName }) {
|
|
1033
|
+
commit("setExternalTableOrders", {});
|
|
1034
|
+
return $http
|
|
1035
|
+
.post("api/table-payments/kassenmeister/create", {
|
|
1036
|
+
restaurantId,
|
|
1037
|
+
tablePaymentId,
|
|
1038
|
+
tableName,
|
|
1039
|
+
})
|
|
1040
|
+
.then((res) => {
|
|
1041
|
+
commit("setExternalTableOrders", res.data.data);
|
|
1042
|
+
})
|
|
1043
|
+
.catch(commonErrorCallback());
|
|
1044
|
+
},
|
|
1032
1045
|
broadcastTablePaymentEvent({ commit }, { tablePaymentId, basketItems, action, socketId}) {
|
|
1033
1046
|
$http.interceptors.request.use((config) => {
|
|
1034
1047
|
// we need to send this header so we don't receive events
|