mirror of
https://github.com/grocy/grocy.git
synced 2025-08-20 20:26:42 +00:00
Fixed number display for quick consume buttons
This commit is contained in:
@@ -185,7 +185,7 @@
|
|||||||
href="#"
|
href="#"
|
||||||
data-toggle="tooltip"
|
data-toggle="tooltip"
|
||||||
data-placement="left"
|
data-placement="left"
|
||||||
title="{{ $__t('Consume %1$s of %2$s', $currentStockEntry->quick_consume_amount . ' ' . $currentStockEntry->qu_unit_name, $currentStockEntry->product_name) }}"
|
title="{{ $__t('Consume %1$s of %2$s', floatval($currentStockEntry->quick_consume_amount) . ' ' . $currentStockEntry->qu_unit_name, $currentStockEntry->product_name) }}"
|
||||||
data-product-id="{{ $currentStockEntry->product_id }}"
|
data-product-id="{{ $currentStockEntry->product_id }}"
|
||||||
data-product-name="{{ $currentStockEntry->product_name }}"
|
data-product-name="{{ $currentStockEntry->product_name }}"
|
||||||
data-product-qu-name="{{ $currentStockEntry->qu_unit_name }}"
|
data-product-qu-name="{{ $currentStockEntry->qu_unit_name }}"
|
||||||
@@ -210,7 +210,7 @@
|
|||||||
href="#"
|
href="#"
|
||||||
data-toggle="tooltip"
|
data-toggle="tooltip"
|
||||||
data-placement="left"
|
data-placement="left"
|
||||||
title="{{ $__t('Mark %1$s of %2$s as open', $currentStockEntry->quick_consume_amount . ' ' . $currentStockEntry->qu_unit_name, $currentStockEntry->product_name) }}"
|
title="{{ $__t('Mark %1$s of %2$s as open', floatval($currentStockEntry->quick_consume_amount) . ' ' . $currentStockEntry->qu_unit_name, $currentStockEntry->product_name) }}"
|
||||||
data-product-id="{{ $currentStockEntry->product_id }}"
|
data-product-id="{{ $currentStockEntry->product_id }}"
|
||||||
data-product-name="{{ $currentStockEntry->product_name }}"
|
data-product-name="{{ $currentStockEntry->product_name }}"
|
||||||
data-product-qu-name="{{ $currentStockEntry->qu_unit_name }}"
|
data-product-qu-name="{{ $currentStockEntry->qu_unit_name }}"
|
||||||
|
Reference in New Issue
Block a user