Index: trunk/BazaReklam/FactureViewer.cs
===================================================================
--- trunk/BazaReklam/FactureViewer.cs (revision 547)
+++ trunk/BazaReklam/FactureViewer.cs (revision 548)
@@ -82,13 +82,4 @@
             }
 
-            //nadpisanie drukowania
-            //this.reportViewer1.Print += new CancelEventHandler(HandlePrint);
-            /*
-            if (proforma)
-            {
-                this.reportViewer1.Print += new CancelEventHandler(HandlePrint);
-            }
-            */
-
             jezykComboBox.SelectedIndex = 0;
             typComboBox.SelectedIndex = 1;
@@ -370,4 +361,9 @@
 
             reportViewer1.LocalReport.DataSources.Add(new ReportDataSource("tlumaczenia", ds.Tables[0]));
+
+            int invoiceProviderId = (int)invoiceProviderTableAdapter.GetDataByIdFaktury(idFaktury).Rows[0]["Id"];
+
+            reportViewer1.LocalReport.DataSources.Add(new ReportDataSource("Baza_Reklam_InvoiceProvider",
+                                                                           InvoiceProviderFactory.GetInvoiceProvidersById(invoiceProviderId)));
 
             paramList.Add(new ReportParameter("podpis", podpisCheckBox.Checked.ToString(), true));
