diff --git a/pretixprint/app/src/main/java/eu/pretix/pretixprint/print/ESCPOSRenderer.kt b/pretixprint/app/src/main/java/eu/pretix/pretixprint/print/ESCPOSRenderer.kt index f072b6d1..71e56f60 100644 --- a/pretixprint/app/src/main/java/eu/pretix/pretixprint/print/ESCPOSRenderer.kt +++ b/pretixprint/app/src/main/java/eu/pretix/pretixprint/print/ESCPOSRenderer.kt @@ -404,6 +404,13 @@ class ESCPOSRenderer(private val receipt: JSONObject, private val charsPerLine: } } } + "seat" -> { + try { + receipt.getJSONObject("seat").optString(content[1]) + } catch (ex: JSONException) { + "" + } + } else -> { if (fullContent.startsWith("datetime")) { getDate(receipt.getString(fullContent))