Fix summary amount calculation and add Öresutjämning row

- Amount = round(volume, 2) * round(avg_price, 2)
- Add Öresutjämning showing difference between transaction sum and calculated total
This commit is contained in:
2026-03-23 16:41:49 +01:00
parent b95cae2ea7
commit 82cf4b34ac
2 changed files with 17 additions and 3 deletions

View File

@@ -171,6 +171,12 @@
<td></td>
<td>{{ customer.summary.grand_total }} Kr</td>
</tr>
<tr>
<td>Öresutjämning</td>
<td></td>
<td></td>
<td>{{ customer.summary.oresutjamning }} Kr</td>
</tr>
</tbody>
</table>
</div>