Aggiunta creazione nota di credito per fatture non in bozza, includendo anche lo stato pagato
This commit is contained in:
parent
f008eb26d7
commit
ab3e23bbbd
|
@ -16,7 +16,7 @@ echo '
|
||||||
if ($dir == 'entrata') {
|
if ($dir == 'entrata') {
|
||||||
echo '
|
echo '
|
||||||
<div class="btn-group">
|
<div class="btn-group">
|
||||||
<button type="button" class="btn btn-primary unblockable dropdown-toggle '.(!empty($record['ref_documento']) || $record['stato'] == 'Emessa' ? '' : 'disabled').'" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
|
<button type="button" class="btn btn-primary unblockable dropdown-toggle '.(!empty($record['ref_documento']) || $record['stato'] != 'Bozza' ? '' : 'disabled').'" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
|
||||||
<i class="fa fa-magic"></i> '.tr('Crea').' <span class="caret"></span>
|
<i class="fa fa-magic"></i> '.tr('Crea').' <span class="caret"></span>
|
||||||
<span class="sr-only">Toggle Dropdown</span>
|
<span class="sr-only">Toggle Dropdown</span>
|
||||||
</button>
|
</button>
|
||||||
|
|
Loading…
Reference in New Issue