Skip to content

Commit

Permalink
Merge pull request #199 from choiyoubin/test
Browse files Browse the repository at this point in the history
Fix:영수증 주문번호수정
  • Loading branch information
choiyoubin authored Mar 26, 2024
2 parents 56850b8 + 34d4202 commit aad63c2
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 aad63c2

Please sign in to comment.