Correzione blocco duplicazione fattura

This commit is contained in:
Thomas Zilio 2020-03-02 13:05:42 +01:00
parent 5139e2000f
commit a78b0f81dc
1 changed files with 1 additions and 1 deletions

View File

@ -9,7 +9,7 @@ echo '
<input type="hidden" name="op" value="copy">
</form>
<button type="button" class="btn btn-primary" '.((empty($record['ref_documento']) and empty($record['reversed'])) ? '' : 'disabled').' onclick="if( confirm(\'Duplicare questa fattura?\') ){ $(\'#form-copy\').submit(); }">
<button type="button" class="btn btn-primary" '.(empty($record['reversed']) ? '' : 'disabled').' onclick="if( confirm(\'Duplicare questa fattura?\') ){ $(\'#form-copy\').submit(); }">
<i class="fa fa-copy"></i> '.tr('Duplica fattura').'
</button>';