Skip to content

Commit 39be025

Browse files
Merge pull request #3873 from beckn/staging-1.1.0
Staging 1.1.0
2 parents 05aa780 + 7eadc0d commit 39be025

File tree

11 files changed

+725
-302
lines changed

11 files changed

+725
-302
lines changed

apps/deg-rental/components/modal/OpenWalletBottomModal.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ const OpenWalletBottomModal: React.FC<OpenWalletBottomModalProps> = ({ modalType
145145
const walletOptions = [
146146
{ text: 'MetaMask Wallet', image: metaMaskWallet, handleClick: () => console.log('meta') },
147147
{ text: 'OpenSea Wallet', image: openSeaWallet, handleClick: () => console.log('opensea') },
148-
{ text: 'Vault', image: openWallet, handleClick: () => setModalType('link') }
148+
{ text: 'Wallet', image: openWallet, handleClick: () => setModalType('link') }
149149
]
150150

151151
return (
@@ -190,7 +190,7 @@ const OpenWalletBottomModal: React.FC<OpenWalletBottomModalProps> = ({ modalType
190190
case 'link':
191191
return (
192192
<BottomModal
193-
title="Link to your Vault profile"
193+
title="Link to your Wallet profile"
194194
isOpen={true}
195195
onClose={() => setModalType(null)}
196196
>

apps/deg-retail/components/modal/OpenWalletBottomModal.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ const OpenWalletBottomModal: React.FC<OpenWalletBottomModalProps> = ({ modalType
153153
const walletOptions = [
154154
{ text: 'MetaMask Wallet', image: metaMaskWallet, handleClick: () => console.log('meta') },
155155
{ text: 'OpenSea Wallet', image: openSeaWallet, handleClick: () => console.log('opensea') },
156-
{ text: 'Vault', image: openWallet, handleClick: () => setModalType('link') }
156+
{ text: 'Wallet', image: openWallet, handleClick: () => setModalType('link') }
157157
]
158158

159159
return (
@@ -198,7 +198,7 @@ const OpenWalletBottomModal: React.FC<OpenWalletBottomModalProps> = ({ modalType
198198
case 'link':
199199
return (
200200
<BottomModal
201-
title="Link to your Vault profile"
201+
title="Link to your Wallet profile"
202202
isOpen={true}
203203
onClose={() => setModalType(null)}
204204
>

apps/deg-retail/pages/newPaymentOverView.tsx

Lines changed: 48 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import { DetailCard } from '@beckn-ui/becknified-components'
22
import {
33
cartActions,
4+
CheckoutRootState,
45
DiscoveryRootState,
56
ICartRootState,
67
ParsedItemModel,
@@ -174,6 +175,7 @@ const NewPaymentOverView = () => {
174175
<Flex
175176
justifyContent={'space-between'}
176177
alignItems="center"
178+
mb="15px"
177179
>
178180
<Typography
179181
fontSize="15px"
@@ -191,6 +193,47 @@ const NewPaymentOverView = () => {
191193
/>
192194
</Flex>
193195
</Flex>
196+
<Flex
197+
justifyContent={'space-between'}
198+
alignItems="center"
199+
mb="15px"
200+
>
201+
<Typography
202+
fontSize="15px"
203+
text={'Processing Fee'}
204+
/>
205+
<Flex alignItems={'center'}>
206+
<Typography
207+
fontSize="15px"
208+
text={`+${currencyMap[getCountryCode().country.code as keyof typeof currencyMap]}`}
209+
// style={{ paddingRight: '2px' }}
210+
/>
211+
<Typography
212+
fontSize="15px"
213+
text={currencyFormat(emiDetails.processingFee)}
214+
/>
215+
</Flex>
216+
</Flex>
217+
<Flex
218+
justifyContent={'space-between'}
219+
alignItems="center"
220+
>
221+
<Typography
222+
fontSize="15px"
223+
text={'Delivery Charges'}
224+
/>
225+
<Flex alignItems={'center'}>
226+
<Typography
227+
fontSize="15px"
228+
text={`+${currencyMap[getCountryCode().country.code as keyof typeof currencyMap]}`}
229+
// style={{ paddingRight: '2px' }}
230+
/>
231+
<Typography
232+
fontSize="15px"
233+
text={currencyFormat(emiDetails.deliveryCharges)}
234+
/>
235+
</Flex>
236+
</Flex>
194237
<Divider
195238
mt="15px"
196239
mb="15px"
@@ -216,7 +259,11 @@ const NewPaymentOverView = () => {
216259
<Typography
217260
fontSize="15px"
218261
fontWeight="600"
219-
text={currencyFormat(Number(payableValue?.toFixed(2)))}
262+
text={currencyFormat(
263+
Number(payableValue?.toFixed(2)) +
264+
Number(emiDetails.processingFee) +
265+
Number(emiDetails.deliveryCharges)
266+
)}
220267
/>
221268
</Flex>
222269
</Flex>

0 commit comments

Comments
 (0)