Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion urypos/src/components/Cart.vue
Original file line number Diff line number Diff line change
Expand Up @@ -75,10 +75,11 @@
</h3>
<input
type="number"
step="any"
id="qty_input_cart"
name="qty_input_cart"
class="block w-full border-none text-center text-base text-gray-900 dark:text-white"
:value="parseInt(cart_item.qty)"
:value="parseFloat(cart_item.qty)"
@input="cart_item.qty = $event.target.value"
@click="
this.menu.showModal(cart_item);
Expand Down Expand Up @@ -256,6 +257,7 @@
</label>
<input
type="number"
step="any"
id="modeOfPayment"
class="mt-4 w-full appearance-none rounded border p-2 leading-tight text-gray-900 shadow focus:outline-none"
v-model="this.menu.quantity"
Expand Down
2 changes: 2 additions & 0 deletions urypos/src/components/Menu.vue
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@
</button>
<input
type="number"
step="any"
id="qty_input"
name="qty_input"
class="block w-full border border-gray-200 text-center text-sm shadow-sm"
Expand Down Expand Up @@ -143,6 +144,7 @@
</label>
<input
type="number"
step="any"
id="quantity"
class="mt-4 w-full appearance-none rounded border p-2 leading-tight text-gray-900 shadow focus:outline-none"
v-model="this.menu.quantity"
Expand Down
Loading