Update soc.php
This commit is contained in:
parent
761fc32cc1
commit
a14d07930a
@ -1698,7 +1698,11 @@ else
|
||||
// Status
|
||||
print '<tr><td>'.$langs->trans("Status").'</td>';
|
||||
print '<td colspan="'.(2+(($showlogo || $showbarcode)?0:1)).'">';
|
||||
print $object->getLibStatut(2);
|
||||
if (! empty($conf->use_javascript_ajax) && $user->rights->societe->creer) {
|
||||
print ajax_object_onoff($object, 'status', 'status', 'InActivity', 'ActivityCeased');
|
||||
} else {
|
||||
print $object->getLibStatut(2);
|
||||
}
|
||||
print '</td>';
|
||||
print $htmllogobar; $htmllogobar='';
|
||||
print '</tr>';
|
||||
|
||||
Loading…
Reference in New Issue
Block a user