Bug : the test for CA was misplaced
This commit is contained in:
parent
1d60241546
commit
5bb608a5f2
1 changed files with 3 additions and 2 deletions
|
|
@ -59,11 +59,12 @@ if ( $div != 'popup' ) {
|
|||
|
||||
?>
|
||||
<?if ( $access=='W') {
|
||||
echo HtmlInput::submit('save',_('Sauver'),'onClick="return verify_ca(\'popup\');"');
|
||||
$owner=new Own($cn);
|
||||
if ($owner->MY_ANALYTIC != 'nu' && $div=='popup'){
|
||||
echo '<input type="button" class="button" value="'._('verifie CA').'" onClick="verify_ca(\'popup\');">';
|
||||
}
|
||||
echo HtmlInput::submit('save',_('Sauver'),'onClick="return verify_ca(\'popup\');"');
|
||||
$owner=new Own($cn);
|
||||
|
||||
$per=new Periode($cn,$obj->det->jr_tech_per);
|
||||
if ( $per->is_closed() == 0 && $owner->MY_STRICT=='N'){
|
||||
$remove=new IButton('Effacer');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue