mirror of
https://github.com/devcode-it/openstamanager.git
synced 2025-02-08 23:58:42 +01:00
Correzione riferimento in Ordini
This commit is contained in:
parent
5fb9dc76ff
commit
445e28e7bd
@ -54,6 +54,28 @@ foreach ($righe as $riga) {
|
|||||||
echo nl2br($riga->descrizione);
|
echo nl2br($riga->descrizione);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if ($riga->isArticolo() && !empty($riga->abilita_serial)) {
|
||||||
|
if (!empty($mancanti)) {
|
||||||
|
echo '
|
||||||
|
<br><b><small class="text-danger">'.tr('_NUM_ serial mancanti', [
|
||||||
|
'_NUM_' => $mancanti,
|
||||||
|
]).'</small></b>';
|
||||||
|
}
|
||||||
|
if (!empty($serials)) {
|
||||||
|
echo '
|
||||||
|
<br>'.tr('SN').': '.implode(', ', $serials);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// Aggiunta dei riferimenti ai documenti
|
||||||
|
if ($riga->hasOriginal()) {
|
||||||
|
echo '
|
||||||
|
<br>'.reference($riga->getOriginal()->parent);
|
||||||
|
}
|
||||||
|
|
||||||
|
echo '
|
||||||
|
</td>';
|
||||||
|
|
||||||
// Data prevista evasione
|
// Data prevista evasione
|
||||||
$info_evasione = '';
|
$info_evasione = '';
|
||||||
if (!empty($riga->data_evasione)) {
|
if (!empty($riga->data_evasione)) {
|
||||||
@ -84,29 +106,7 @@ foreach ($righe as $riga) {
|
|||||||
<td class="text-center">
|
<td class="text-center">
|
||||||
'.$info_evasione.'
|
'.$info_evasione.'
|
||||||
</td>';
|
</td>';
|
||||||
|
|
||||||
if ($riga->isArticolo() && !empty($riga->abilita_serial)) {
|
|
||||||
if (!empty($mancanti)) {
|
|
||||||
echo '
|
|
||||||
<br><b><small class="text-danger">'.tr('_NUM_ serial mancanti', [
|
|
||||||
'_NUM_' => $mancanti,
|
|
||||||
]).'</small></b>';
|
|
||||||
}
|
|
||||||
if (!empty($serials)) {
|
|
||||||
echo '
|
|
||||||
<br>'.tr('SN').': '.implode(', ', $serials);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
// Aggiunta dei riferimenti ai documenti
|
|
||||||
if ($riga->hasOriginal()) {
|
|
||||||
echo '
|
|
||||||
<br>'.reference($riga->getOriginal()->parent);
|
|
||||||
}
|
|
||||||
|
|
||||||
echo '
|
|
||||||
</td>';
|
|
||||||
|
|
||||||
if ($riga->isDescrizione()) {
|
if ($riga->isDescrizione()) {
|
||||||
echo '
|
echo '
|
||||||
<td></td>
|
<td></td>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user