Company search always with legal entity or individual filter
jexme opened this issue · 0 comments
jexme commented
At the moment, only a crutch can be used to search for companies, both individuals and legal entities, for this you need to pass a value that does not exist in CompanyType, since null cannot be passed. This is wrong, you need to add support so that when searching for a company, you should not be limited to searching only for legal entities or individuals. Just add support for int|null
in the DaDataCompany::prompt(type: null)
argument
laravel-dadata/src/DaDataCompany.php
Line 61 in 090e5d9