Explorar el Código

Fix missing decimals in subtotal

Alan Lam hace 1 año
padre
commit
7f3f9fd80b
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      views/document_pdf.php

+ 1 - 1
views/document_pdf.php

@@ -393,7 +393,7 @@ $is_part_of_aru = $document->isPartOfAru();
 						</div>
 					</td>
 					<td class="text-uppercase" colspan="2">Subtotal</td>
-					<td class="text-end font-monospace"><?=number_format($subtotal)?></td>
+					<td class="text-end font-monospace"><?=number_format($subtotal, 2)?></td>
 				</tr>
 				<tr>
 					<td class="text-uppercase" colspan="2">VAT Rate</td>