This extension allows you to show the country flag on a phone number based on the country code presnet in the phone number itself.
This uses the normization extension library to get country code from a phone number. Using country code, it shows the flag using javascript.
This is an extension for CiviCRM, licensed under AGPL-3.0.
- Install normalize extension.
- On summary screen for contact, edit and save the phone, find out the code and generate the flag.