Added vat

This commit is contained in:
CHIEFSOFT\ameye
2025-05-01 20:54:30 -04:00
parent 9b0ad3c886
commit 9e25e73923
@@ -11,9 +11,10 @@ export default function LoanDetails({step, handleStep, screens}) {
<p className='font-semibold text-base md:text-xl'>Loan Details</p>
<div className='text-input w-full flex flex-col gap-2 justify-center items-center'>
<p className='w-full text-base md:text-xl'>Loan Amount: {step.details.typedAmount}</p>
<p className='w-full text-base md:text-xl'>Interest 3%: {Math.round((step.details.typedAmount*0.03 + Number.EPSILON) * 100) / 100}</p>
<p className='w-full text-base md:text-xl'>Interest 5%: {Math.round((step.details.typedAmount*0.05 + Number.EPSILON) * 100) / 100}</p>
<p className='w-full text-base md:text-xl'>Mgt Fee 1%: {Math.round((step.details.typedAmount*0.01 + Number.EPSILON) * 100) / 100}</p>
<p className='w-full text-base md:text-xl'>Insurance 1%: {Math.round((step.details.typedAmount*0.01 + Number.EPSILON) * 100) / 100}</p>
<p className='w-full text-base md:text-xl'>VAT(3.75% Int)%: {Math.round((0.0375 * step.details.typedAmount*0.05 + Number.EPSILON) * 100) / 100}</p>
</div>
<div className='mt-3 flex justify-center'>
<button onClick={handleGetLoan} className='p-3 bg-purple-800 text-lg sm:text-2xl text-white font-bold rounded'>Accept</button>