mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-02-20 13:46:52 +01:00
Forgot to update societe card.php with the same changes
This commit is contained in:
parent
a13866f091
commit
4483265d5e
|
|
@ -1143,7 +1143,15 @@ else
|
|||
// State
|
||||
if (empty($conf->global->SOCIETE_DISABLE_STATE))
|
||||
{
|
||||
print '<tr><td>'.fieldLabel('State','state_id').'</td><td colspan="3" class="maxwidthonsmartphone">';
|
||||
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">';
|
||||
}
|
||||
|
||||
if ($object->country_id) print $formcompany->select_state($object->state_id,$object->country_code);
|
||||
else print $countrynotdefined;
|
||||
print '</td></tr>';
|
||||
|
|
@ -1700,7 +1708,15 @@ else
|
|||
// State
|
||||
if (empty($conf->global->SOCIETE_DISABLE_STATE))
|
||||
{
|
||||
print '<tr><td>'.fieldLabel('State','state_id').'</td><td colspan="3">';
|
||||
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 $formcompany->select_state($object->state_id,$object->country_code);
|
||||
print '</td></tr>';
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user