Added read only invocies. Removed added reducer coe that was needed BOD-408

This commit is contained in:
Patrick Fic
2020-09-28 15:23:28 -07:00
parent cb412f377e
commit 6b6d052e74
17 changed files with 144 additions and 62 deletions

View File

@@ -6,7 +6,7 @@ import CurrencyFormatter from "../../utils/CurrencyFormatter";
//To be used as a form element only.
const { Option } = Select;
const BillLineSearchSelect = (
{ value, onChange, options, onBlur, onSelect },
{ value, onChange, options, onBlur, onSelect, disabled },
ref
) => {
const [option, setOption] = useState(value);
@@ -20,6 +20,7 @@ const BillLineSearchSelect = (
return (
<Select
disabled={disabled}
ref={ref}
showSearch
autoFocus