Forgot to update societe card.php with the same changes
This commit is contained in:
parent
a13866f091
commit
4483265d5e
@ -1142,8 +1142,16 @@ else
|
|||||||
|
|
||||||
// State
|
// State
|
||||||
if (empty($conf->global->SOCIETE_DISABLE_STATE))
|
if (empty($conf->global->SOCIETE_DISABLE_STATE))
|
||||||
|
{
|
||||||
|
if(!empty($conf->global->MAIN_SHOW_REGION_IN_STATE_SELECT) && ($conf->global->MAIN_SHOW_REGION_IN_STATE_SELECT == 1 || $conf->global->MAIN_SHOW_REGION_IN_STATE_SELECT == 2))
|
||||||
|
{
|
||||||
|
print '<tr><td>'.fieldLabel('Region-State','state_id').'</td><td colspan="3" class="maxwidthonsmartphone">';
|
||||||
|
}
|
||||||
|
else
|
||||||
{
|
{
|
||||||
print '<tr><td>'.fieldLabel('State','state_id').'</td><td colspan="3" class="maxwidthonsmartphone">';
|
print '<tr><td>'.fieldLabel('State','state_id').'</td><td colspan="3" class="maxwidthonsmartphone">';
|
||||||
|
}
|
||||||
|
|
||||||
if ($object->country_id) print $formcompany->select_state($object->state_id,$object->country_code);
|
if ($object->country_id) print $formcompany->select_state($object->state_id,$object->country_code);
|
||||||
else print $countrynotdefined;
|
else print $countrynotdefined;
|
||||||
print '</td></tr>';
|
print '</td></tr>';
|
||||||
@ -1699,8 +1707,16 @@ else
|
|||||||
|
|
||||||
// State
|
// State
|
||||||
if (empty($conf->global->SOCIETE_DISABLE_STATE))
|
if (empty($conf->global->SOCIETE_DISABLE_STATE))
|
||||||
|
{
|
||||||
|
if(!empty($conf->global->MAIN_SHOW_REGION_IN_STATE_SELECT) && ($conf->global->MAIN_SHOW_REGION_IN_STATE_SELECT == 1 || $conf->global->MAIN_SHOW_REGION_IN_STATE_SELECT == 2))
|
||||||
|
{
|
||||||
|
print '<tr><td>'.fieldLabel('Region-State','state_id').'</td><td colspan="3">';
|
||||||
|
}
|
||||||
|
else
|
||||||
{
|
{
|
||||||
print '<tr><td>'.fieldLabel('State','state_id').'</td><td colspan="3">';
|
print '<tr><td>'.fieldLabel('State','state_id').'</td><td colspan="3">';
|
||||||
|
}
|
||||||
|
|
||||||
print $formcompany->select_state($object->state_id,$object->country_code);
|
print $formcompany->select_state($object->state_id,$object->country_code);
|
||||||
print '</td></tr>';
|
print '</td></tr>';
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user