Fixes #7323 Billing Code Widget,deprecate isOption (#7324)
commited9ffcce379f37c822303d033c321ce351415ce6
authorStephen Nielson <snielson@discoverandchange.com>
Wed, 10 Apr 2024 16:48:15 +0000 (10 12:48 -0400)
committerGitHub <noreply@github.com>
Wed, 10 Apr 2024 16:48:15 +0000 (10 12:48 -0400)
tree7fd34db4fd0e62d5a679abf9ed20eb2ede1a11fe
parent0b1be289caf76c88392ebb9c84a9189f2908fbfa
Fixes #7323 Billing Code Widget,deprecate isOption (#7324)

Fixes #7323
This is a billing code selector widget that was used in options.inc.php.
I extracted it into its own class file so I can use it in a module as
well as use it in options.inc.php.

I also moved the options.inc.php isOption command to the LayoutUtils so
it can also be used externally.  I marked the isOption function as
deprecated.
library/options.inc.php
src/Common/Forms/Types/BillingCodeType.php [new file with mode: 0644]
src/Common/Layouts/LayoutsUtils.php