Update soc.php
This commit is contained in:
parent
761fc32cc1
commit
a14d07930a
@ -1698,7 +1698,11 @@ else
|
|||||||
// Status
|
// Status
|
||||||
print '<tr><td>'.$langs->trans("Status").'</td>';
|
print '<tr><td>'.$langs->trans("Status").'</td>';
|
||||||
print '<td colspan="'.(2+(($showlogo || $showbarcode)?0:1)).'">';
|
print '<td colspan="'.(2+(($showlogo || $showbarcode)?0:1)).'">';
|
||||||
|
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 $object->getLibStatut(2);
|
||||||
|
}
|
||||||
print '</td>';
|
print '</td>';
|
||||||
print $htmllogobar; $htmllogobar='';
|
print $htmllogobar; $htmllogobar='';
|
||||||
print '</tr>';
|
print '</tr>';
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user