This commit is contained in:
Thomas Zilio 2020-07-06 17:58:48 +02:00
parent 3526ba9e57
commit 0bfb911944
4 changed files with 13 additions and 20 deletions

View File

@ -21,12 +21,10 @@ echo '
$righe = $contratto->getRighe();
foreach ($righe as $riga) {
echo '
<tr data-id="'.$riga->id.'" data-type="'.get_class($riga).'">';
echo '
<td class="text-center">
'.(($riga->order) + 1).'
</td>';
<tr data-id="'.$riga->id.'" data-type="'.get_class($riga).'">
<td class="text-center">
'.(($riga->order) + 1).'
</td>';
// Descrizione
$descrizione = nl2br($riga->descrizione);

View File

@ -39,15 +39,12 @@ foreach ($righe as $riga) {
echo '
<tr data-id="'.$riga->id.'" data-type="'.get_class($riga).'" '.$extra.'>
<td class="text-center">
'.(($riga->order) + 1).'
</td>
<td>';
echo '
<td class="text-center">
'.(($riga->order) + 1).'
</td>
<td>';
if ($riga->isArticolo()) {
echo '
'.Modules::link('Articoli', $riga->idarticolo, $riga->codice.' - '.$riga->descrizione);

View File

@ -21,12 +21,10 @@ echo '
$righe = $preventivo->getRighe();
foreach ($righe as $riga) {
echo '
<tr data-id="'.$riga->id.'" data-type="'.get_class($riga).'">';
echo '
<td class="text-center">
'.(($riga->order) + 1).'
</td>';
<tr data-id="'.$riga->id.'" data-type="'.get_class($riga).'">
<td class="text-center">
'.(($riga->order) + 1).'
</td>';
// Descrizione
$descrizione = nl2br($riga->descrizione);

View File

@ -62,7 +62,7 @@ foreach ($righe as $riga) {
if ($riga->isArticolo()) {
echo '
<td align="center">
<img src="'.$riga->articolo->image.'" style="max-height: 80px">
<img src="'.$riga->articolo->image.'" style="max-height: 80px; max-width:120px">
</td>';
$autofill->set(5);