Compare commits

...

2 Commits

Author SHA1 Message Date
valentina 6f8c258382 Aggiunta legenda in Articoli 2024-06-27 09:19:59 +02:00
valentina 19b9412c91 Fix minore 2024-06-27 09:13:40 +02:00
2 changed files with 25 additions and 1 deletions

View File

@ -0,0 +1,24 @@
<?php
echo '
<div class="container">
<div class="row">
<div class=col-md-12">
<h5>'.tr('Legenda').':</h5>
</div>
</div>
<div class="row">
<div class="col-md-4">
<span class="pull-left icon" style="background-color:white;"></span>
<span class="text">&nbsp;'.tr('Articolo senza soglia minima').'</span>
</div>
<div class="col-md-4">
<span class="pull-left icon" style="background-color:#CCFFCC;"></span>
<span class="text">&nbsp;'.tr('Quantità superiore alla soglia minima').'</span>
</div>
<div class="col-md-4">
<span class="pull-left icon" style="background-color:#ec5353;"></span>
<span class="text">&nbsp;'.tr('Quantità inferiore alla soglia minima').'</span>
</div>
</div>
</div>';

View File

@ -270,7 +270,7 @@ $articoli = $dbo->fetchArray('SELECT
SUM(IF(`reversed`=1, -(`co_righe_documenti`.`subtotale` - `co_righe_documenti`.`sconto`), (`co_righe_documenti`.`subtotale` - `co_righe_documenti`.`sconto`))) AS totale,
`mg_articoli`.`id`,
`mg_articoli`.`codice`,
`mg_articoli_lang`.`title`,
`mg_articoli_lang`.`title` as descrizione,
`mg_articoli`.`um`
FROM
`co_documenti`