Skip to content

Commit

Permalink
[KAN-244] feat(billing): 청구 수정 전에는 상품 추가가 보이지 않는다
Browse files Browse the repository at this point in the history
  • Loading branch information
pogihae committed Jul 24, 2024
1 parent 7817e1a commit 04285b7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ const BillingDetailProduct = ({ billingProducts, products, editable, onChange, b
<div className='flex space-x-4'>
<div className='w-full'>
<div className='flex justify-between'>
<div className='w-2/6 flex-row mb-3'>
<div className={`w-2/6 flex-row mb-3 ${editable ? 'visible' : 'invisible'}`}>
<label className={`block text-text_black text-15 font-700 mb-2 ml-2`}>
상품 추가
</label>
Expand All @@ -107,6 +107,7 @@ const BillingDetailProduct = ({ billingProducts, products, editable, onChange, b
disabled={!editable}
/>
</div>

<div className='flex items-end'>
<p className='font-bold text-lg mr-2'>합계:</p>
<p className='text-right font-bold text-lg border-none'>{`${calcBillingPrice(localBillingProducts).toLocaleString()}원`}</p>
Expand Down
2 changes: 2 additions & 0 deletions client/src/components/vendor/modal/MemberChooseModal.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,8 @@ const MemberChooseModal = ({ icon, isShowModal, setIsShowModal, modalTitle }) =>
});
setMemberList(res.data.content);
setTotalPages(res.data.totalPage || 1);
setCurrentPage(1);
setPageGroup(0);
} catch (err) {
console.error('계약생성 - 회원 기본정보 목록 조회 실패', err);
}
Expand Down

0 comments on commit 04285b7

Please sign in to comment.