react-icons/md#MdReceipt JavaScript Examples
The following examples show how to use
react-icons/md#MdReceipt.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: MsgDetailRefundBox.js From airdnd-frontend with MIT License | 5 votes |
MsgDetailRefundBox = ({
price,
onClickOpenModal,
onClickOpenReceiptPDF,
}) => {
return (
<MsgDetailSettlementWrapper>
<MsgDetailSettlementOuterWrapper>
<MsgDetailSettlementInnerWrapper>
<MsgDetailSettlementTitle>결제 정보</MsgDetailSettlementTitle>
<MsgDetailSettlementAddrestWrapper>
<MsgDetailSettlementAddressTitle>
총 비용
</MsgDetailSettlementAddressTitle>
<MsgDetailSettlementAddress>₩{price}</MsgDetailSettlementAddress>
</MsgDetailSettlementAddrestWrapper>
</MsgDetailSettlementInnerWrapper>
<StButton onClick={onClickOpenModal}>
<MsgDetailSettlementButtonWrapper>
<MsgDetailSettlementButtonInnerWrapper>
<MdAssignmentTurnedIn />
<MsgDetailSettlementButtonText>
출장 경비 청구를 위한 세부 정보 입력하기
</MsgDetailSettlementButtonText>
</MsgDetailSettlementButtonInnerWrapper>
<MdKeyboardArrowRight />
</MsgDetailSettlementButtonWrapper>
</StButton>
<StButton onClick={onClickOpenReceiptPDF}>
<MsgDetailSettlementButtonWrapper>
<MsgDetailSettlementButtonInnerWrapper>
<MdReceipt />
<MsgDetailSettlementButtonText>
영수증 받기
</MsgDetailSettlementButtonText>
</MsgDetailSettlementButtonInnerWrapper>
<MdKeyboardArrowRight />
</MsgDetailSettlementButtonWrapper>
</StButton>
</MsgDetailSettlementOuterWrapper>
</MsgDetailSettlementWrapper>
);
}
Example #2
Source File: MsgDetailSubInfoBox.js From airdnd-frontend with MIT License | 4 votes |
MsgDetailSubInfoBox = ({
guest,
profileImg,
guestProfileImg,
reservationId,
isCanceled,
onClickOpenModal,
onClickOpenPrint,
onClickOpenReceiptPDF,
homeId,
}) => {
return (
<MsgDetailSiWrapper>
{isCanceled ? (
<MsgDetailSiOuterWrapper>
<MsgDetailSiInnerWrapper>
<MsgDetailSiTitle>예약 세부정보</MsgDetailSiTitle>
<MsgDetailSiReservedNumberWrapper isCanceled={isCanceled}>
<MsgDetailSiReservedNumberText>
예약 번호
</MsgDetailSiReservedNumberText>
<MsgDetailSiReservedNumber>
{reservationId}
</MsgDetailSiReservedNumber>
</MsgDetailSiReservedNumberWrapper>
<MsgDetailSiReservedNumberWrapper>
<MsgDetailSiReservedNumberText>
환불 정책
</MsgDetailSiReservedNumberText>
<MsgDetailSiReservedNumber>
유연. 체크인 1일 전까지 취소 시 전액 환불.
</MsgDetailSiReservedNumber>
</MsgDetailSiReservedNumberWrapper>
<MsgDetailSiReservedNumberWrapper>
<MsgDetailSiReservedNumberText>
결제 세부정보
</MsgDetailSiReservedNumberText>
<MsgDetailSiReservedNumber>
<div>총 비용: ₩0</div>
<Link to="/printreceipt" target="_blank">
<Button
btnType="underlined"
padding="0rem"
hover={'color: black'}
style={{
color: 'gray',
borderRadius: '0px',
marginTop: '1rem',
}}
>
영수증 보기
</Button>
</Link>
</MsgDetailSiReservedNumber>
</MsgDetailSiReservedNumberWrapper>
</MsgDetailSiInnerWrapper>
<Link to={`/detail/${homeId}`} target="_blank">
<StButton>
<MsgDetailSiButtonWrapper>
<MsgDetailSiButtonInnerWrapper>
<FaDoorOpen />
<MsgDetailSiButtonText>숙소 보기</MsgDetailSiButtonText>
</MsgDetailSiButtonInnerWrapper>
<MdKeyboardArrowRight />
</MsgDetailSiButtonWrapper>
</StButton>
</Link>
</MsgDetailSiOuterWrapper>
) : (
<MsgDetailSiOuterWrapper>
<MsgDetailSiInnerWrapper>
<MsgDetailSiTitle>예약 세부정보</MsgDetailSiTitle>
<MsgDetailSiGuestProfilesWrapper>
<MsgDetailSiGuestWrapper>
<MsgDetailSiGuestText>게스트</MsgDetailSiGuestText>
<MsgDetailSiGuestCount>
게스트 {guest + 1}명
</MsgDetailSiGuestCount>
</MsgDetailSiGuestWrapper>
<MsgDetailSiGuestProfileLists guest={guest}>
{!!guest && (
<MsgDetailSiGuestProfileItem>
<Profile
lastName="박"
size="4.8rem"
profileImg={guestProfileImg}
/>
</MsgDetailSiGuestProfileItem>
)}
<MsgDetailSiGuestProfileItem>
<Profile
lastName="박"
size="4.8rem"
profileImg={profileImg}
/>
</MsgDetailSiGuestProfileItem>
</MsgDetailSiGuestProfileLists>
</MsgDetailSiGuestProfilesWrapper>
<MsgDetailSiReservedNumberWrapper>
<MsgDetailSiReservedNumberText>
예약 번호
</MsgDetailSiReservedNumberText>
<MsgDetailSiReservedNumber>
{reservationId}
</MsgDetailSiReservedNumber>
</MsgDetailSiReservedNumberWrapper>
</MsgDetailSiInnerWrapper>
<StButton onClick={onClickOpenModal}>
<MsgDetailSiButtonWrapper>
<MsgDetailSiButtonInnerWrapper>
<FaGlobe />
<MsgDetailSiButtonText>
여행일정표 PDF로 받기(비자신청용)
</MsgDetailSiButtonText>
</MsgDetailSiButtonInnerWrapper>
<MdKeyboardArrowRight />
</MsgDetailSiButtonWrapper>
</StButton>
<StButton onClick={onClickOpenPrint}>
<MsgDetailSiButtonWrapper>
<MsgDetailSiButtonInnerWrapper>
<MdPrint />
<MsgDetailSiButtonText>세부정보 인쇄하기</MsgDetailSiButtonText>
</MsgDetailSiButtonInnerWrapper>
<MdKeyboardArrowRight />
</MsgDetailSiButtonWrapper>
</StButton>
<StButton onClick={onClickOpenReceiptPDF}>
<MsgDetailSiButtonWrapper>
<MsgDetailSiButtonInnerWrapper>
<MdReceipt />
<MsgDetailSiButtonText>영수증 받기</MsgDetailSiButtonText>
</MsgDetailSiButtonInnerWrapper>
<MdKeyboardArrowRight />
</MsgDetailSiButtonWrapper>
</StButton>
</MsgDetailSiOuterWrapper>
)}
</MsgDetailSiWrapper>
);
}