Skip to content

Commit

Permalink
Fix/영수증 주문번호수정
Browse files Browse the repository at this point in the history
  • Loading branch information
choiyoubin committed Mar 26, 2024
1 parent cab2960 commit 34d4202
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/UserReceipt.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@ import "./UserReceipt.css";

function UserReceipt(props) {
console.log(props);
const { foodies, idx, pickUp, time } = props;
const { foodies, orderNum, pickUp, time } = props;
return (
<Printer type="epson" width={42} characterSet="korea">
<Row left={`[${pickUp === 1 ? '픽업' : '매장'}]`} right="ReadyVery" />
<Br />
<Text size={{ width: 3, height: 3 }} align="center" bold={true}>
{idx} {/*idx*/}
{orderNum} {/*orderNum*/}
</Text>
<Br />

Expand Down

0 comments on commit 34d4202

Please sign in to comment.