Commit 130a744
committed
feature #61837 [Form] Add new
This PR was squashed before being merged into the 7.4 branch.
Discussion
----------
[Form] Add new `active_at`, `not_active_at` and `legal_tender` options to `CurrencyType`
| Q | A
| ------------- | ---
| Branch? | 7.4
| Bug fix? | no
| New feature? | yes
| Deprecations? | no
| Issues | -
| License | MIT
Add the options `active_at`, `not_active_at` and `legal_tender` from #61431 that give the possibility to filter the currencies more precisely. For instance:
- Keep only the current ones for the given `active_at` (`today` by default)
- Keep only the currencies that are [legal tender](https://en.wikipedia.org/wiki/Legal_tender)
Regarding BC compatibility, if people want to have the same results as prior 7.4, they should set the `active_at` and `legal_tender` options to null explicitely.
Commits
-------
a378fe6c58a [Form] Add new `active_at`, `not_active_at` and `legal_tender` options to `CurrencyType`active_at, not_active_at and legal_tender options to CurrencyType (Crovitche-1623)1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
225 | 225 | | |
226 | 226 | | |
227 | 227 | | |
228 | | - | |
| 228 | + | |
229 | 229 | | |
230 | 230 | | |
231 | | - | |
| 231 | + | |
232 | 232 | | |
233 | 233 | | |
234 | 234 | | |
| |||
0 commit comments