mirror of
https://github.com/R0m1k3/LogiFlow.git
synced 2026-10-12 01:37:40 +02:00
Merge pull request #443 from R0m1k3/1.1
Adjust calculation for difference between invoice and bill of lading …
This commit is contained in:
1 file changed
+1
-1
@@ -912,7 +912,7 @@ export default function BLReconciliation() {
|
||||
const blAmount = delivery.blAmount ? parseFloat(delivery.blAmount) : 0;
|
||||
const invoiceAmount = delivery.invoiceAmount ? parseFloat(delivery.invoiceAmount) : 0;
|
||||
if (blAmount && invoiceAmount) {
|
||||
const diff = blAmount - invoiceAmount;
|
||||
const diff = invoiceAmount - blAmount;
|
||||
const diffAbs = Math.abs(diff);
|
||||
return (
|
||||
<div className={`font-medium text-center ${
|
||||
|
||||
Reference in new issue
Block a user