diff --git a/htdocs/expensereport/card.php b/htdocs/expensereport/card.php
index dd34123e188..818b3d564a6 100644
--- a/htdocs/expensereport/card.php
+++ b/htdocs/expensereport/card.php
@@ -2377,7 +2377,7 @@ if ($action == 'create') {
// Quantity
print '
';
- print ''; // We must be able to enter decimal qty
+ print ''; // We must be able to enter decimal qty
print ' | ';
//print ''.$langs->trans('AmountHT').' | ';
@@ -2559,7 +2559,7 @@ if ($action == 'create') {
// Quantity
print '';
- print ''; // We must be able to enter decimal qty
+ print ''; // We must be able to enter decimal qty
print ' | ';
// Picture
@@ -2598,12 +2598,12 @@ if ($action == 'create') {
});
/* unit price coéf calculation */
- jQuery("#input_qty, #fk_c_type_fees, #select_fk_c_exp_tax_cat, #vatrate ").change(function(event) {
+ jQuery(".input_qty, #fk_c_type_fees, #select_fk_c_exp_tax_cat, #vatrate ").change(function(event) {
let type_fee = jQuery("#fk_c_type_fees").find(":selected").val();
let tax_cat = jQuery("#select_fk_c_exp_tax_cat").find(":selected").val();
let tva = jQuery("#vatrate").find(":selected").val();
- let qty = jQuery("#input_qty").val();
+ let qty = jQuery(".input_qty").val();