ypdate
This commit is contained in:
@@ -31,23 +31,23 @@ const StepFour = () => {
|
|||||||
{investment.length >= 6 ? (
|
{investment.length >= 6 ? (
|
||||||
<div>
|
<div>
|
||||||
<div className={'flex justify-content-center mt-2'}>
|
<div className={'flex justify-content-center mt-2'}>
|
||||||
{investment / 75000000 >= 1 ? (
|
{investment / 85000000 >= 1 ? (
|
||||||
<div dir={'rtl'} className={'bk-light mt-2'}>
|
<div dir={'rtl'} className={'bk-light mt-2'}>
|
||||||
<div className={'text-center'}>
|
<div className={'text-center'}>
|
||||||
تعداد سهام قابل خرید شما:{' '}
|
تعداد سهام قابل خرید شما:{' '}
|
||||||
<strong className={'mr-2'}>{Math.ceil(investment / 75000000)} سهم </strong>{' '}
|
<strong className={'mr-2'}>{Math.ceil(investment / 85000000)} سهم </strong>{' '}
|
||||||
</div>
|
</div>
|
||||||
{Math.ceil(investment / 75000000) * 75000000 - investment ===
|
{Math.ceil(investment / 85000000) * 85000000 - investment ===
|
||||||
Math.ceil(investment / 75000000) * 75000000 ? (
|
Math.ceil(investment / 85000000) * 85000000 ? (
|
||||||
<div>{Math.ceil(investment / 75000000)}</div>
|
<div>{Math.ceil(investment / 85000000)}</div>
|
||||||
) : (
|
) : (
|
||||||
<div>
|
<div>
|
||||||
{Math.ceil(investment / 75000000) * 75000000 - investment === 0 ? (
|
{Math.ceil(investment / 85000000) * 85000000 - investment === 0 ? (
|
||||||
''
|
''
|
||||||
) : (
|
) : (
|
||||||
<div className={'flex bg-gray-200 p-2 rounded-5 justify-content-center align-items-center'}>
|
<div className={'flex bg-gray-200 p-2 rounded-5 justify-content-center align-items-center'}>
|
||||||
با پرداخت {Math.ceil(investment / 75000000) * 75000000 - investment} تومان بیشتر می توانید{' '}
|
با پرداخت {Math.ceil(investment / 85000000) * 85000000 - investment} تومان بیشتر می توانید{' '}
|
||||||
{Math.ceil(investment / 75000000)} سهم خریدار کنید
|
{Math.ceil(investment / 85000000)} سهم خریدار کنید
|
||||||
</div>
|
</div>
|
||||||
)}
|
)}
|
||||||
<div className={'flex justify-content-center mt-3'}>
|
<div className={'flex justify-content-center mt-3'}>
|
||||||
|
|||||||
Reference in New Issue
Block a user