Jump to content

[RISOLTO]Ragione Sociale + partita iva obbligatoria


daninapoli

Recommended Posts

  • daninapoli changed the title to [RISOLTO]Ragione Sociale + partita iva obbligatoria
  • 3 weeks later...

Ok in teoria sono riuscita a modificarlo inserendo ->setRequired(true);

if (Configuration::get('PS_B2B_ENABLE')) {
            $format['company'] = (new FormField())
                ->setName('company')
                ->setType('text')
                ->setLabel($this->translator->trans(
                    'Company', [], 'Shop.Forms.Labels'
                ))->setRequired(true);
            $format['siret'] = (new FormField())
                ->setName('siret')
                ->setType('text')
                ->setLabel($this->translator->trans(
                    // Please localize this string with the applicable registration number type in your country. For example : "SIRET" in France and "Código fiscal" in Spain.
                    'Identification number', [], 'Shop.Forms.Labels'
                ))->setRequired(true);
        }

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...