mirror of
https://github.com/devcode-it/openstamanager.git
synced 2025-02-16 19:40:44 +01:00
Fix #1293
This commit is contained in:
parent
5f61d85195
commit
203a7f3976
@ -228,14 +228,14 @@ echo '
|
|||||||
</tr>';
|
</tr>';
|
||||||
|
|
||||||
// SCONTO
|
// SCONTO
|
||||||
if (!empty($intervento->sconto)) {
|
if (!empty($righe->sum('sconto'))) {
|
||||||
echo '
|
echo '
|
||||||
<tr>
|
<tr>
|
||||||
<td colspan="'.$colspan.'" class="text-right">
|
<td colspan="'.$colspan.'" class="text-right">
|
||||||
<b><span class="tip" title="'.tr('Un importo positivo indica uno sconto, mentre uno negativo indica una maggiorazione').'"> <i class="fa fa-question-circle-o"></i> '.tr('Sconto/maggiorazione', [], ['upper' => true]).':</span></b>
|
<b><span class="tip" title="'.tr('Un importo positivo indica uno sconto, mentre uno negativo indica una maggiorazione').'"> <i class="fa fa-question-circle-o"></i> '.tr('Sconto/maggiorazione', [], ['upper' => true]).':</span></b>
|
||||||
</td>
|
</td>
|
||||||
<td class="text-right">
|
<td class="text-right">
|
||||||
'.moneyFormat($intervento->sconto, 2).'
|
'.moneyFormat($righe->sum('sconto'), 2).'
|
||||||
</td>
|
</td>
|
||||||
<td></td>
|
<td></td>
|
||||||
</tr>';
|
</tr>';
|
||||||
|
Loading…
x
Reference in New Issue
Block a user