]> wagnertech.de Git - mfinanz.git/blobdiff - SL/AR.pm
Übersetzungen in Sprache de_DE eingepflegt
[mfinanz.git] / SL / AR.pm
index fe3e4431bcde45d1bc799ab7931b7b883ecab734..11333cef00e64e42169cd417dd264d1a1d9242af 100644 (file)
--- a/SL/AR.pm
+++ b/SL/AR.pm
@@ -446,6 +446,11 @@ sub ar_transactions {
     $where .= " AND c.name ILIKE ?";
     push(@values, $form->like($form->{customer}));
   }
+  if ($form->{business_id}) {
+    my $business_id = $form->{business_id};
+    $where .= " AND c.business_id = ?";
+    push(@values, $business_id);
+  }
   if ($form->{department_id}) {
     my $department_id = $form->{department_id};
     $where .= " AND a.department_id = ?";