From 4a17dc2e5155f6df0311c2342d2ecc69a23af7bf Mon Sep 17 00:00:00 2001 From: einhverfr Date: Wed, 25 Apr 2007 16:12:31 +0000 Subject: Fixing closed books handling git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/branches/1.2@1100 4979c152-3d1c-0410-bac9-87ea11338e46 --- Changelog | 1 + LedgerSMB/AM.pm | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Changelog b/Changelog index 277a4532..b1196813 100644 --- a/Changelog +++ b/Changelog @@ -1,5 +1,6 @@ Changelog for 1.2.5 * Partsgroup handling corrected on POS and Sales invoice screens (Chris T) +* Closed books handling is corrected (Chris T) Changelog for 1.2.4 * Fixed internal functions avgcost() and lastcost() to not use float (Joshua D) diff --git a/LedgerSMB/AM.pm b/LedgerSMB/AM.pm index 6c307e07..adc2d74b 100755 --- a/LedgerSMB/AM.pm +++ b/LedgerSMB/AM.pm @@ -1692,7 +1692,7 @@ sub closebooks { for (qw(revtrans closedto audittrail)) { if ( $form->{$_} ) { - $val = 1; + $val = $form->{$_}; } else { $val = 0; -- cgit v1.2.3