Fixes #7216,#7217 insurance company saves (#7218)
commit374095aba417d2418cbaf7139d8efec47a2fe6c0
authorStephen Nielson <snielson@discoverandchange.com>
Mon, 12 Feb 2024 14:47:31 +0000 (12 09:47 -0500)
committerGitHub <noreply@github.com>
Mon, 12 Feb 2024 14:47:31 +0000 (12 09:47 -0500)
treefc22b5fca7a9feca503ac4d116303feb54b2ea84
parent8ac331bea71de2fe110dbb941e929d1ac3615a32
Fixes #7216,#7217 insurance company saves (#7218)

We fix #7216 where we populate the plus_four property in the address
service.

Fixes #7217 where we allow the record id to be set / saved on insert.
We also throw exceptions if the sql command fails.
Lastly we skip saving the phone number if there is nothing in the data.
src/Services/AddressService.php
src/Services/InsuranceCompanyService.php
src/Services/PhoneNumberService.php