Hide button in readonly

This commit is contained in:
Dany De Bontridder 2013-10-01 17:06:16 +00:00
parent 8094f140aa
commit dd4386d0ab

View file

@ -350,8 +350,10 @@ function toggleShowDetail() {
<br>Total TVAC
</div>
<div>
<?php if ( ! $readonly ) : ?>
<input name="act" id="act_bt" class="button" value="<?php echo _('Actualiser')?>" onclick="compute_all_ledger();" type="button">
<input type="button" class="button" onclick="gestion_add_row()" value="Ajouter une ligne">
<input type="button" class="button" onclick="gestion_add_row()" value="Ajouter une ligne">
<?php endif; ?>
</div>
<?php endif; ?>
</fieldset>