]> wagnertech.de Git - mfinanz.git/blobdiff - bin/mozilla/ir.pl
SL/PE.pm und bin/mozilla/pe.pl entfernt
[mfinanz.git] / bin / mozilla / ir.pl
index 5ec505a9e9943b45c0081481aa93d391d87a4c09..d6e162ed808f2805bdccbf41d189af463c5f91b4 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.
 #======================================================================
 #
 # Inventory received module
@@ -34,7 +35,6 @@
 use SL::FU;
 use SL::IR;
 use SL::IS;
-use SL::PE;
 use SL::DB::Default;
 use SL::DB::PurchaseInvoice;
 use List::Util qw(max sum);
@@ -406,7 +406,7 @@ sub form_footer {
 
   # follow ups
   if ($form->{id}) {
-    $form->{follow_ups}            = FU->follow_ups('trans_id' => $form->{id}) || [];
+    $form->{follow_ups}            = FU->follow_ups('trans_id' => $form->{id}, 'not_done' => 1) || [];
     $form->{follow_ups_unfinished} = ( sum map { $_->{due} * 1 } @{ $form->{follow_ups} } ) || 0;
   }