1
0
mirror of https://github.com/bitwarden/server.git synced 2025-06-30 23:52:50 -05:00

Increase sales tax precision from 2 to 3 decimal places (#1525)

* Allow for tax rates with 3 decimal places

* Update input validation

* Increase precision of create procedure
This commit is contained in:
Thomas Rittson
2021-08-24 06:52:59 +10:00
committed by GitHub
parent a0a5ddef77
commit 4bc683c38d
4 changed files with 47 additions and 3 deletions

View File

@ -344,7 +344,7 @@
<div class="form-group">
<label asp-for="Rate">Tax Rate</label>
<div class="input-group">
<input type="text" class="form-control" asp-for="Rate" pattern="^\d{0,3}.\d{0,2}$" required>
<input type="text" class="form-control" asp-for="Rate" pattern="^\d{0,3}.\d{0,3}$" required>
<div class="input-group-append">
<span class="input-group-text">%</span>
</div>