Verkaufsrechnungen: Abteilungen sortiert anzeigen
[kivitendo-erp.git] / bin / mozilla / rc.pl
index 7d4245b..864357d 100644 (file)
@@ -24,7 +24,8 @@
 # GNU General Public License for more details.
 # You should have received a copy of the GNU General Public License
 # along with this program; if not, write to the Free Software
-# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
+# MA 02110-1335, USA.
 #======================================================================
 #
 # Account reconciliation module
@@ -128,6 +129,9 @@ sub update {
   $::lxdebug->enter_sub;
   $::auth->assert('cash');
 
+  # reset difference as it doesn't always arrive here empty
+  $::form->{difference} = 0;
+
   RC->payment_transactions(\%::myconfig, $::form);
 
   my $i;