In order to manage .it domains using our WHMCS Registrar Module, few additional fields need to be specified, inserting in /resources/domains/additionalfields.php following code:
/* additional fields for .it domains
*/
$additionaldomainfields[".it"][] = array("Name" => "Legal Type", "LangVar" => "ittldlegaltype", "Type" => "dropdown","Options" => "1|Italian and foreign natural persons,2|Companies/one man companies,3|Freelance workers/professionals,4|Non-profit organizations,5|Public organizations,6|Other subjects,7|Non natural foreigners","Default" => "1|Italian and foreign natural persons", "Description" => "Legal type of registrant", "Required" => true);
$additionaldomainfields[".it"][] = array("Name" => "Tax ID", "LangVar" => "ittldtaxid", "Type" => "text", "Size" => "20", "Default" => "", "Required" => true);
$additionaldomainfields[".it"][] = array("Name" => "Publish Personal Data", "LangVar" => "ittlddata", "Type" => "tickbox", "Description" => Lang::trans('ittldsez6'));
$additionaldomainfields[".it"][] = array("Name" => "Accept Section 3 of .IT registrar contract", "LangVar" => "ittldsec3", "Type" => "tickbox", "Checked", "Description" => Lang::trans('ittldsez3'), "Required" => true, "Default" => "Checked" );
$additionaldomainfields[".it"][] = array("Name" => "Accept Section 5 of .IT registrar contract", "LangVar" => "ittldsec5", "Type" => "tickbox", "Description" => Lang::trans('ittldsez5'), "Required" => true, "Default" => "Checked" );
$additionaldomainfields[".it"][] = array("Name" => "Accept Section 6 of .IT registrar contract", "LangVar" => "ittldsec6", "Type" => "tickbox", "Description" => Lang::trans('ittldsez6'));
$additionaldomainfields[".it"][] = array("Name" => "Accept Section 7 of .IT registrar contract", "LangVar" => "ittldsec7", "Type" => "tickbox", "Description" => Lang::trans('ittldsez7'), "Required" => true, "Default" => "Checked" );
/* additional fields for .edu.it domains
*/
$additionaldomainfields[".edu.it"][] = array("Name" => "Legal Type", "LangVar" => "ittldlegaltype", "Type" => "dropdown","Options" => "2|istituto scolastico paritario,4|istituto scolastico paritario senza fini di lucro,5|istituto scolastico pubblico","Default" => "5|istituto scolastico pubblico", "Description" => "Legal type of registrant", "Required" => true);
$additionaldomainfields[".edu.it"][] = array("Name" => "Tax ID", "LangVar" => "ittldtaxid", "Type" => "text", "Size" => "20", "Default" => "", "Required" => true);
$additionaldomainfields[".edu.it"][] = array("Name" => "codice meccanografico", "LangVar" => "ittldscode", "Type" => "text", "Size" => "15", "Default" => "", "Required" => true);
$additionaldomainfields[".edu.it"][] = array("Name" => "Publish Personal Data", "LangVar" => "ittlddata", "Type" => "tickbox");
$additionaldomainfields[".edu.it"][] = array("Name" => "Accept Section 3 of .IT registrar contract", "LangVar" => "ittldsec3", "Type" => "tickbox", "Checked", "Description" => Lang::trans('ittldsez3'), "Required" => true, "Default" => "Checked" );
$additionaldomainfields[".edu.it"][] = array("Name" => "Accept Section 5 of .IT registrar contract", "LangVar" => "ittldsec5", "Type" => "tickbox", "Description" => Lang::trans('ittldsez5'), "Required" => true, "Default" => "Checked" );
$additionaldomainfields[".edu.it"][] = array("Name" => "Accept Section 6 of .IT registrar contract", "LangVar" => "ittldsec6", "Type" => "tickbox", "Description" => Lang::trans('ittldsez6'));
$additionaldomainfields[".edu.it"][] = array("Name" => "Accept Section 7 of .IT registrar contract", "LangVar" => "ittldsec7", "Type" => "tickbox", "Description" => Lang::trans('ittldsez7'), "Required" => true, "Default" => "Checked" );