Merge pull request #3 from ItsLuiggiYahoo/main

Adding BRL currency
This commit is contained in:
Index 2024-02-10 12:08:12 -06:00 committed by GitHub
commit b42af5ded1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 7 additions and 2 deletions

View file

@ -99,7 +99,11 @@ export default {
IRL = (bricks.replace(/,/g, '') * 0.2338).toFixed(2) IRL = (bricks.replace(/,/g, '') * 0.2338).toFixed(2)
DISPLAY = 'TRY' DISPLAY = 'TRY'
break break
case 7:
IRL = (bricks.replace(/,/g, '') * 0.49).toFixed(2)
DISPLAY = 'BRL'
break
} }
return {bricks: IRL, display: DISPLAY} return {bricks: IRL, display: DISPLAY}
} }
} }

View file

@ -392,6 +392,7 @@
<option value="MXN">Mexican Peso (MXN)</option> <option value="MXN">Mexican Peso (MXN)</option>
<option value="AUD">Australian Dollar (AUD)</option> <option value="AUD">Australian Dollar (AUD)</option>
<option value="TRY">Turkish Lira (TRY)</option> <option value="TRY">Turkish Lira (TRY)</option>
<option value="BRL">Brazilian Real (BRL)</option>
</select> </select>
<select id="IRLPriceWithCurrencyPackage" class="form-select form-select-sm mb-2" style="width:350px;" data-setting="IRLPriceWithCurrencyPackage"> <select id="IRLPriceWithCurrencyPackage" class="form-select form-select-sm mb-2" style="width:350px;" data-setting="IRLPriceWithCurrencyPackage">
@ -522,4 +523,4 @@
</div> </div>
<script src="settings.js"></script> <script src="settings.js"></script>
</body> </body>
</html> </html>