Skip to content

1.5.0

Latest

Choose a tag to compare

@MrGKanev MrGKanev released this 09 Jun 15:07
Add dateRangePartial and use searchInput

Introduce a dateRangePartial helper in src/ViewHelpers.php to encapsulate setup and inclusion of the date-range partial. Refactor many views to call dateRangePartial(...) instead of manually setting partial variables and requiring the partial, preserving optional parameters (extraHtml, submit label, from/to labels). Also replace repeated inline search input markup in several views with the searchInput(...) helper for consistent markup and reduced duplication. No functional changes intended — purely cleanup and DRY refactor.