Allow doing math in price field for each markups

This commit is contained in:
2026-03-09 20:45:26 -04:00
parent c5dd50a369
commit d1f8f027c0
3 changed files with 37 additions and 2 deletions

View File

@@ -23,9 +23,10 @@
</td>
<td data-label="<%= t :label_price %>">
<%= f.number_field :unit_price,
step: 0.01,
<%= f.text_field :unit_price,
class: "price-field",
inputmode: "decimal",
autocomplete: "off",
no_label: true,
disabled: readonly %>
</td>