mirror of
https://github.com/devcode-it/openstamanager.git
synced 2025-02-03 17:27:29 +01:00
Fix link a prima nota solo se presente
This commit is contained in:
parent
f9352fbcb8
commit
ee21e287d2
@ -35,7 +35,7 @@ if (!empty($movimenti)) {
|
|||||||
<tr>
|
<tr>
|
||||||
<td>';
|
<td>';
|
||||||
|
|
||||||
if (!empty($movimento['iddocumento'])) {
|
if (!empty($movimento['primanota'])) {
|
||||||
$modulo_fattura = ($movimento['dir'] == 'entrata') ? Modules::get('Fatture di vendita')['id'] : Modules::get('Fatture di acquisto')['id'];
|
$modulo_fattura = ($movimento['dir'] == 'entrata') ? Modules::get('Fatture di vendita')['id'] : Modules::get('Fatture di acquisto')['id'];
|
||||||
|
|
||||||
echo Modules::link($prima_nota->id, $movimento['idmastrino'], $movimento['descrizione']);
|
echo Modules::link($prima_nota->id, $movimento['idmastrino'], $movimento['descrizione']);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user