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
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](http://keepachangelog.com/)
and this project adheres to [Semantic Versioning](http://semver.org/).

## [unreleased] -

### Fixed

- Fixed the minimum consumable quantity at 1

## [1.15.3] - 2026-04-29

### Fixed
Expand Down
4 changes: 2 additions & 2 deletions templates/tickets/form.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@
form_help.setAttribute('data-bs-title', __('Maximum consumable quantity', 'credit') + ' : 0 ');
form_help.setAttribute('data-bs-content', __('Maximum consumable quantity', 'credit') + ' : 0 ');
} else {
quantity_field.classList.remove('d-none');
quantity.closest('.form-field').classList.remove('d-none');
$.ajax({
type: 'POST',
url: '{{ path('plugins/credit/ajax/dropdownQuantity.php') }}',
Expand All @@ -99,7 +99,7 @@
}
}).done(function (data) {
quantity.max = data;
quantity.value = 0;
quantity.value = 1;
form_help.setAttribute('data-bs-title', __('Maximum consumable quantity', 'credit') + ' : <b>' + data);
form_help.setAttribute('data-bs-content', __('Maximum consumable quantity', 'credit') + ' : <b>' + data);
});
Expand Down