/** Map v1 print job receiptKind to legacy copyType for ESC/POS layout. */
function receiptKindToCopyType(receiptKind) {
  switch (receiptKind) {
    case "kitchen_ticket":
      return "KITCHEN";
    case "packing_slip":
      return "PACKING";
    case "customer_receipt":
    default:
      return "COUNTER";
  }
}

module.exports = { receiptKindToCopyType };
