Fixed sign in payment view.
authorJanusz Dobrowolski <janusz@frontaccounting.eu>
Fri, 31 Oct 2008 18:15:03 +0000 (18:15 +0000)
committerJanusz Dobrowolski <janusz@frontaccounting.eu>
Fri, 31 Oct 2008 18:15:03 +0000 (18:15 +0000)
sales/view/view_receipt.php

index 13797b0a671ebd4d0f5b4b3dfd108ed6af1cd548..1f1fbd50c04677c2b3d6b174a8741b65f82f6329 100644 (file)
@@ -43,7 +43,7 @@ $voided = is_voided_display(systypes::cust_payment(), $trans_id, _("This custome
 
 if (!$voided)
 {
-       display_allocations_from(payment_person_types::customer(), $receipt['debtor_no'], systypes::cust_payment(), $trans_id, -$receipt['Total']);
+       display_allocations_from(payment_person_types::customer(), $receipt['debtor_no'], systypes::cust_payment(), $trans_id, $receipt['Total']);
 }
 
 end_page(true);