Zbiór zmian 900 dla trunk

Pokaż
Ignoruj:
Data:
2009-11-26 10:12:15 (16 years ago)
Autor:
sylwek
Opis:

Re #228 Filtrowanie raportów prowizyjnych + poprawka przypisywania modułów do pojedynczych grzbietów

Lokalizacja:
trunk
Pliki:
18 zmodyfikowane

Legenda:

Bez zmian
Dodane
Usunięte
  • trunk/BazaReklam/Classes/DbUtils.cs

    r621 r900  
    203203        public static int numerNowejReklamy(string symbolAgenta, string tagAgenta) 
    204204        { 
    205  
    206             SqlConnection conn = new SqlConnection( 
    207                 ConnString.getConnString().Value); 
     205            SqlConnection conn = new SqlConnection(ConnString.getConnString().Value); 
    208206 
    209207            SqlCommand command = new SqlCommand(); 
     
    211209            //  command.CommandText = "select distinct [id reklamy] from reklama where [symbol akwizytora]=@symbolAgenta"; 
    212210            //  command.Parameters.AddWithValue("@symbolAgenta", symbolAgenta); 
     211 
    213212            command.CommandText = "select distinct [id reklamy] from reklama where [id reklamy] like '%' + @tagAgenta + '%'"; 
    214213            command.Parameters.AddWithValue("@tagAgenta", tagAgenta); 
  • trunk/BazaReklam/ClientsForm.cs

    r892 r900  
    122122 
    123123            DBBindings.BindKontaktTyp(cbKontaktTyp); 
    124  
    125124        } 
    126125 
  • trunk/BazaReklam/OrderDetails.cs

    r892 r900  
    212212                { 
    213213                    SectionRepository sectionRepository = new SectionRepository(ConnString.getConnString().Value); 
     214                    grzbietComboBox.SelectedItem = sections[0]; 
    214215                    List<Module> modules = sectionRepository.FindModulesBySection(SelectedSection); 
    215216                     
  • trunk/BazaReklam/ProvisionForm.Designer.cs

    r797 r900  
    3030        { 
    3131            this.components = new System.ComponentModel.Container(); 
    32             System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle26 = new System.Windows.Forms.DataGridViewCellStyle(); 
    33             System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle14 = new System.Windows.Forms.DataGridViewCellStyle(); 
    34             System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle15 = new System.Windows.Forms.DataGridViewCellStyle(); 
    35             System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle16 = new System.Windows.Forms.DataGridViewCellStyle(); 
    36             System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle17 = new System.Windows.Forms.DataGridViewCellStyle(); 
    37             System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle18 = new System.Windows.Forms.DataGridViewCellStyle(); 
    38             System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle19 = new System.Windows.Forms.DataGridViewCellStyle(); 
    39             System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle20 = new System.Windows.Forms.DataGridViewCellStyle(); 
    40             System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle21 = new System.Windows.Forms.DataGridViewCellStyle(); 
    41             System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle22 = new System.Windows.Forms.DataGridViewCellStyle(); 
    42             System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle23 = new System.Windows.Forms.DataGridViewCellStyle(); 
    43             System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle24 = new System.Windows.Forms.DataGridViewCellStyle(); 
    44             System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle25 = new System.Windows.Forms.DataGridViewCellStyle(); 
     32            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle13 = new System.Windows.Forms.DataGridViewCellStyle(); 
     33            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle(); 
     34            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle(); 
     35            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle(); 
     36            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle4 = new System.Windows.Forms.DataGridViewCellStyle(); 
     37            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle5 = new System.Windows.Forms.DataGridViewCellStyle(); 
     38            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle6 = new System.Windows.Forms.DataGridViewCellStyle(); 
     39            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle7 = new System.Windows.Forms.DataGridViewCellStyle(); 
     40            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle8 = new System.Windows.Forms.DataGridViewCellStyle(); 
     41            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle9 = new System.Windows.Forms.DataGridViewCellStyle(); 
     42            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle10 = new System.Windows.Forms.DataGridViewCellStyle(); 
     43            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle11 = new System.Windows.Forms.DataGridViewCellStyle(); 
     44            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle12 = new System.Windows.Forms.DataGridViewCellStyle(); 
    4545            System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(ProvisionForm)); 
    4646            this.aGENCIBindingSource = new System.Windows.Forms.BindingSource(this.components); 
     
    227227            this.wREKLAMYDataGridViewTextBoxColumn}); 
    228228            this.prowizjeDataGridView.DataSource = this.pLANBindingSource; 
    229             dataGridViewCellStyle26.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight; 
    230             dataGridViewCellStyle26.BackColor = System.Drawing.SystemColors.Window; 
    231             dataGridViewCellStyle26.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238))); 
    232             dataGridViewCellStyle26.ForeColor = System.Drawing.SystemColors.ControlText; 
    233             dataGridViewCellStyle26.SelectionBackColor = System.Drawing.SystemColors.Highlight; 
    234             dataGridViewCellStyle26.SelectionForeColor = System.Drawing.SystemColors.HighlightText; 
    235             dataGridViewCellStyle26.WrapMode = System.Windows.Forms.DataGridViewTriState.False; 
    236             this.prowizjeDataGridView.DefaultCellStyle = dataGridViewCellStyle26; 
     229            dataGridViewCellStyle13.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight; 
     230            dataGridViewCellStyle13.BackColor = System.Drawing.SystemColors.Window; 
     231            dataGridViewCellStyle13.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238))); 
     232            dataGridViewCellStyle13.ForeColor = System.Drawing.SystemColors.ControlText; 
     233            dataGridViewCellStyle13.SelectionBackColor = System.Drawing.SystemColors.Highlight; 
     234            dataGridViewCellStyle13.SelectionForeColor = System.Drawing.SystemColors.HighlightText; 
     235            dataGridViewCellStyle13.WrapMode = System.Windows.Forms.DataGridViewTriState.False; 
     236            this.prowizjeDataGridView.DefaultCellStyle = dataGridViewCellStyle13; 
    237237            this.prowizjeDataGridView.Dock = System.Windows.Forms.DockStyle.Fill; 
    238238            this.prowizjeDataGridView.Location = new System.Drawing.Point(0, 31); 
     
    281281            //  
    282282            this.bUDZETDataGridViewTextBoxColumn.DataPropertyName = "BUDZET"; 
    283             dataGridViewCellStyle14.Format = "N0"; 
    284             dataGridViewCellStyle14.NullValue = null; 
    285             this.bUDZETDataGridViewTextBoxColumn.DefaultCellStyle = dataGridViewCellStyle14; 
     283            dataGridViewCellStyle1.Format = "N0"; 
     284            dataGridViewCellStyle1.NullValue = null; 
     285            this.bUDZETDataGridViewTextBoxColumn.DefaultCellStyle = dataGridViewCellStyle1; 
    286286            this.bUDZETDataGridViewTextBoxColumn.HeaderText = "Plan"; 
    287287            this.bUDZETDataGridViewTextBoxColumn.Name = "bUDZETDataGridViewTextBoxColumn"; 
     
    332332            //  
    333333            this.oCENADataGridViewTextBoxColumn.DataPropertyName = "OCENA"; 
    334             dataGridViewCellStyle15.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192))))); 
    335             this.oCENADataGridViewTextBoxColumn.DefaultCellStyle = dataGridViewCellStyle15; 
     334            dataGridViewCellStyle2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192))))); 
     335            this.oCENADataGridViewTextBoxColumn.DefaultCellStyle = dataGridViewCellStyle2; 
    336336            this.oCENADataGridViewTextBoxColumn.HeaderText = "Ocena"; 
    337337            this.oCENADataGridViewTextBoxColumn.Name = "oCENADataGridViewTextBoxColumn"; 
     
    352352            //  
    353353            this.PR_PROWIZJI.DataPropertyName = "PR_PROWIZJI"; 
    354             dataGridViewCellStyle16.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192))))); 
    355             dataGridViewCellStyle16.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(238))); 
    356             dataGridViewCellStyle16.Format = "P"; 
    357             dataGridViewCellStyle16.NullValue = null; 
    358             this.PR_PROWIZJI.DefaultCellStyle = dataGridViewCellStyle16; 
     354            dataGridViewCellStyle3.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192))))); 
     355            dataGridViewCellStyle3.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(238))); 
     356            dataGridViewCellStyle3.Format = "P"; 
     357            dataGridViewCellStyle3.NullValue = null; 
     358            this.PR_PROWIZJI.DefaultCellStyle = dataGridViewCellStyle3; 
    359359            this.PR_PROWIZJI.HeaderText = "Prowizja"; 
    360360            this.PR_PROWIZJI.Name = "PR_PROWIZJI"; 
     
    366366            this.wBUDZETDataGridViewTextBoxColumn.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.None; 
    367367            this.wBUDZETDataGridViewTextBoxColumn.DataPropertyName = "W_BUDZET"; 
    368             dataGridViewCellStyle17.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(192)))), ((int)(((byte)(255))))); 
    369             dataGridViewCellStyle17.Format = "N0"; 
    370             this.wBUDZETDataGridViewTextBoxColumn.DefaultCellStyle = dataGridViewCellStyle17; 
     368            dataGridViewCellStyle4.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(192)))), ((int)(((byte)(255))))); 
     369            dataGridViewCellStyle4.Format = "N0"; 
     370            this.wBUDZETDataGridViewTextBoxColumn.DefaultCellStyle = dataGridViewCellStyle4; 
    371371            this.wBUDZETDataGridViewTextBoxColumn.HeaderText = "Sprzeda¿"; 
    372372            this.wBUDZETDataGridViewTextBoxColumn.Name = "wBUDZETDataGridViewTextBoxColumn"; 
     
    377377            //  
    378378            this.wSPOTKANIADataGridViewTextBoxColumn.DataPropertyName = "W_SPOTKANIA"; 
    379             dataGridViewCellStyle18.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(192)))), ((int)(((byte)(255))))); 
    380             this.wSPOTKANIADataGridViewTextBoxColumn.DefaultCellStyle = dataGridViewCellStyle18; 
     379            dataGridViewCellStyle5.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(192)))), ((int)(((byte)(255))))); 
     380            this.wSPOTKANIADataGridViewTextBoxColumn.DefaultCellStyle = dataGridViewCellStyle5; 
    381381            this.wSPOTKANIADataGridViewTextBoxColumn.HeaderText = "Spotk."; 
    382382            this.wSPOTKANIADataGridViewTextBoxColumn.Name = "wSPOTKANIADataGridViewTextBoxColumn"; 
     
    387387            //  
    388388            this.wTELDataGridViewTextBoxColumn.DataPropertyName = "W_TEL"; 
    389             dataGridViewCellStyle19.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(192)))), ((int)(((byte)(255))))); 
    390             this.wTELDataGridViewTextBoxColumn.DefaultCellStyle = dataGridViewCellStyle19; 
     389            dataGridViewCellStyle6.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(192)))), ((int)(((byte)(255))))); 
     390            this.wTELDataGridViewTextBoxColumn.DefaultCellStyle = dataGridViewCellStyle6; 
    391391            this.wTELDataGridViewTextBoxColumn.HeaderText = "Tel."; 
    392392            this.wTELDataGridViewTextBoxColumn.Name = "wTELDataGridViewTextBoxColumn"; 
     
    397397            //  
    398398            this.wEMAILDataGridViewTextBoxColumn.DataPropertyName = "W_EMAIL"; 
    399             dataGridViewCellStyle20.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(192)))), ((int)(((byte)(255))))); 
    400             this.wEMAILDataGridViewTextBoxColumn.DefaultCellStyle = dataGridViewCellStyle20; 
     399            dataGridViewCellStyle7.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(192)))), ((int)(((byte)(255))))); 
     400            this.wEMAILDataGridViewTextBoxColumn.DefaultCellStyle = dataGridViewCellStyle7; 
    401401            this.wEMAILDataGridViewTextBoxColumn.HeaderText = "Email"; 
    402402            this.wEMAILDataGridViewTextBoxColumn.Name = "wEMAILDataGridViewTextBoxColumn"; 
     
    407407            //  
    408408            this.wLISTDataGridViewTextBoxColumn.DataPropertyName = "W_LIST"; 
    409             dataGridViewCellStyle21.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(192)))), ((int)(((byte)(255))))); 
    410             this.wLISTDataGridViewTextBoxColumn.DefaultCellStyle = dataGridViewCellStyle21; 
     409            dataGridViewCellStyle8.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(192)))), ((int)(((byte)(255))))); 
     410            this.wLISTDataGridViewTextBoxColumn.DefaultCellStyle = dataGridViewCellStyle8; 
    411411            this.wLISTDataGridViewTextBoxColumn.HeaderText = "List"; 
    412412            this.wLISTDataGridViewTextBoxColumn.Name = "wLISTDataGridViewTextBoxColumn"; 
     
    417417            //  
    418418            this.wFAXDataGridViewTextBoxColumn.DataPropertyName = "W_FAX"; 
    419             dataGridViewCellStyle22.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(192)))), ((int)(((byte)(255))))); 
    420             this.wFAXDataGridViewTextBoxColumn.DefaultCellStyle = dataGridViewCellStyle22; 
     419            dataGridViewCellStyle9.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(192)))), ((int)(((byte)(255))))); 
     420            this.wFAXDataGridViewTextBoxColumn.DefaultCellStyle = dataGridViewCellStyle9; 
    421421            this.wFAXDataGridViewTextBoxColumn.HeaderText = "Fax"; 
    422422            this.wFAXDataGridViewTextBoxColumn.Name = "wFAXDataGridViewTextBoxColumn"; 
     
    427427            //  
    428428            this.wNKLIENCIDataGridViewTextBoxColumn.DataPropertyName = "W_N_KLIENCI"; 
    429             dataGridViewCellStyle23.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(192)))), ((int)(((byte)(255))))); 
    430             this.wNKLIENCIDataGridViewTextBoxColumn.DefaultCellStyle = dataGridViewCellStyle23; 
     429            dataGridViewCellStyle10.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(192)))), ((int)(((byte)(255))))); 
     430            this.wNKLIENCIDataGridViewTextBoxColumn.DefaultCellStyle = dataGridViewCellStyle10; 
    431431            this.wNKLIENCIDataGridViewTextBoxColumn.HeaderText = "N. Klien."; 
    432432            this.wNKLIENCIDataGridViewTextBoxColumn.Name = "wNKLIENCIDataGridViewTextBoxColumn"; 
     
    437437            //  
    438438            this.wKLIENCIDataGridViewTextBoxColumn.DataPropertyName = "W_KLIENCI"; 
    439             dataGridViewCellStyle24.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(192)))), ((int)(((byte)(255))))); 
    440             this.wKLIENCIDataGridViewTextBoxColumn.DefaultCellStyle = dataGridViewCellStyle24; 
     439            dataGridViewCellStyle11.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(192)))), ((int)(((byte)(255))))); 
     440            this.wKLIENCIDataGridViewTextBoxColumn.DefaultCellStyle = dataGridViewCellStyle11; 
    441441            this.wKLIENCIDataGridViewTextBoxColumn.HeaderText = "Klien."; 
    442442            this.wKLIENCIDataGridViewTextBoxColumn.Name = "wKLIENCIDataGridViewTextBoxColumn"; 
     
    447447            //  
    448448            this.wREKLAMYDataGridViewTextBoxColumn.DataPropertyName = "W_REKLAMY"; 
    449             dataGridViewCellStyle25.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(192)))), ((int)(((byte)(255))))); 
    450             this.wREKLAMYDataGridViewTextBoxColumn.DefaultCellStyle = dataGridViewCellStyle25; 
     449            dataGridViewCellStyle12.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(192)))), ((int)(((byte)(255))))); 
     450            this.wREKLAMYDataGridViewTextBoxColumn.DefaultCellStyle = dataGridViewCellStyle12; 
    451451            this.wREKLAMYDataGridViewTextBoxColumn.HeaderText = "Rekl"; 
    452452            this.wREKLAMYDataGridViewTextBoxColumn.Name = "wREKLAMYDataGridViewTextBoxColumn"; 
     
    503503            //  
    504504            this.bindingNavigatorCountItem.Name = "bindingNavigatorCountItem"; 
    505             this.bindingNavigatorCountItem.Size = new System.Drawing.Size(36, 28); 
     505            this.bindingNavigatorCountItem.Size = new System.Drawing.Size(35, 28); 
    506506            this.bindingNavigatorCountItem.Text = "of {0}"; 
    507507            this.bindingNavigatorCountItem.ToolTipText = "Total number of items"; 
     
    660660            //  
    661661            this.toolStripLabel1.Name = "toolStripLabel1"; 
    662             this.toolStripLabel1.Size = new System.Drawing.Size(26, 28); 
     662            this.toolStripLabel1.Size = new System.Drawing.Size(27, 28); 
    663663            this.toolStripLabel1.Text = "rok:"; 
    664664            //  
     
    671671            //  
    672672            this.toolStripLabel2.Name = "toolStripLabel2"; 
    673             this.toolStripLabel2.Size = new System.Drawing.Size(24, 28); 
     673            this.toolStripLabel2.Size = new System.Drawing.Size(26, 28); 
    674674            this.toolStripLabel2.Text = "ms:"; 
    675675            //  
     
    682682            //  
    683683            this.agencjaToolStripLabel.Name = "agencjaToolStripLabel"; 
    684             this.agencjaToolStripLabel.Size = new System.Drawing.Size(49, 28); 
     684            this.agencjaToolStripLabel.Size = new System.Drawing.Size(51, 28); 
    685685            this.agencjaToolStripLabel.Text = "agencja:"; 
    686686            //  
     
    696696            this.szukajToolStripButton.ImageTransparentColor = System.Drawing.Color.Magenta; 
    697697            this.szukajToolStripButton.Name = "szukajToolStripButton"; 
    698             this.szukajToolStripButton.Size = new System.Drawing.Size(48, 28); 
     698            this.szukajToolStripButton.Size = new System.Drawing.Size(51, 28); 
    699699            this.szukajToolStripButton.Text = "SZUKAJ"; 
    700700            this.szukajToolStripButton.Click += new System.EventHandler(this.szukajToolStripButton_Click); 
     
    706706            this.btnBlockProvision.ImageTransparentColor = System.Drawing.Color.Transparent; 
    707707            this.btnBlockProvision.Name = "btnBlockProvision"; 
    708             this.btnBlockProvision.Size = new System.Drawing.Size(126, 28); 
     708            this.btnBlockProvision.Size = new System.Drawing.Size(143, 28); 
    709709            this.btnBlockProvision.Text = "Prowizja blokuj/odblokuj"; 
    710710            this.btnBlockProvision.TextImageRelation = System.Windows.Forms.TextImageRelation.TextBeforeImage; 
  • trunk/BazaReklam/ProvisionForm.cs

    r797 r900  
    9595            { 
    9696                agencjaToolStripComboBox.Enabled = false; 
    97             } 
    98  
     97                pLANBindingSource.Filter = "Symbol = '" + User.Instance().Login + "'"; 
     98            } 
    9999        } 
    100100 
  • trunk/BazaReklam/ProvisionForm.resx

    r797 r900  
    124124    <value>445, 17</value> 
    125125  </metadata> 
    126   <metadata name="sLOWNIKDataSet.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> 
    127     <value>445, 17</value> 
    128   </metadata> 
    129126  <metadata name="pLANBindingSource.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> 
    130127    <value>297, 17</value> 
    131   </metadata> 
    132   <metadata name="rEKLAMADataSet.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> 
    133     <value>17, 17</value> 
    134128  </metadata> 
    135129  <metadata name="rEKLAMADataSet.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> 
     
    320314    <value> 
    321315        iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 
    322         YQUAAAAgY0hSTQAAeiYAAICEAAD6AAAAgOgAAHUwAADqYAAAOpgAABdwnLpRPAAABv5JREFUSEt1lglQ 
    323         lPcZxr8FTROnoo1jk050Ym0TJ46d1Do0rUdpesm0EQNREqix0iKnoBKIBYkbRQ4PEg43rLC7IohcCyzX 
    324         wh5yyALCggF35RJYVlx1UdhdWO6Vp++3FcZM2m/mmf/ON/M9v//7vt//+ZbD0HXhwqX3bLapdTbb/OqF 
    325         Bc4qhnF0otXJZuOsAuDk6LjcycHhpZW0rnJwWO40P/+DVdPTlocmk0k+OWmSq1TVjffvaybI6hkJrOd3 
    326         rqQkvjEzU4zm5i709+sxMDBMq5HWJxgcNNNvM+7efYqOjsdoaXmIxsZh1NXpUVTUgZQUGU6cyDYdOcIr 
    327         9vGJD9y5M3Ajmb9E4ixBBIJs49jYLLq6LOjsBHp6bNDrJzA0ZEJv7xg0mlF8+60JavUYWlvNaGgYhVz+ 
    328         CBLJEHJyupCe3oa4OBnCwrLg63tphIw3k15ZAly+LDDOzCzAYpnC6KiVjK3gcq8vsGbNzSNQqR7QjnVQ 
    329         KHpQWdkBsfgWsrNrkJFRidTUEiQmFiA+Ph9nz+bC359nIuNjpPWLAA4LoF5jcnIOZvMURkYmqCXPqBVq 
    330         Mr5Ju60n4xqUlChRUCDDtWtVEIkqwOeXEqCYAGI7ICYmF4cPp7KAc6SfLwESkwTG8TkiPHuGCcs0njxh 
    331         AQuorVVDqWxAVVU9KipqqedK5OXJkJUlhVBYgbS0UppBMS5eLKQW5VEFefDzswPOPwfY58CJiRUY9123 
    332         gq8yYdY6A8vYBLq7F2jnzZBK61FeXku7v0G7l+N6TjWyMishEpQjPU0CXnIRks7n42JcLuJP58DvcAoL 
    333         uEB6a3HQHD5VoOiewbsJQ9gScw+V6hEY+oEamQpKaQ3kFUrIShWQFlWhKFeKdEEFYi9JEZZYhUPxcuyN 
    334         UcKFW4MtJxtxUVQzydkWnE7m75KW2SuIpQpGzTYYH4/DNfkeGK8WfCoyYHdsK34ReQtvhLViRaAajO9t 
    335         MIc7wARpwRy9Cya8B8zJXjBf0DNf9MFX8gjJV3TzjFf7JPnuI71qB0SeFRj/UTiJyransI2aIZQN4+3T 
    336         3WSmxuojrdgYdgtbI1V4/9RNfHi2FgcSlAg8V42Ic+U4lSDGudhc5ImqUNWox8s+TWA+aRsnXy7pp3ZA 
    337         IlVwVWXGloT78MvUU3tGMKiZRTkNtDSnHCXZZZCK5SgQFSM3owhZvEKIkvKRej4Pp2IKEMgtRunNe3g9 
    338         sBHM3+upAwrdi28SJ/KMwNjXZ4asyYCffN6FNWGdyFeMIuEbJY5ekCM0RYWvSwcQca0Lb4Y3YeXxdjBh 
    339         d6hFVGVUH7g3RuHMpfZ9UoMVnxLgldeyCRCxeBY4EZECo1/ZDKQNBmjbh/Gr0xq8Gkk99qF+H+rAP4V6 
    340         uJ5px0nxQyQpDPiqWo80+SCuKPpQUt+PE1dpFh/JsdyrAQFRGXNknEHaTfqhvUWnCZBUNQLnrx/gTN4g 
    341         +tRDSBMbEBgrxckEiT2j1nlLsGxPKQ4Ex+H48TAcDT1m1z7/GDh8KAXjrsBOn1Q63ZIp8kwhbSE5/nfI 
    342         BGhV6XGpqB+rT3Tj93F3obrxCPzEfPDOX0dLkxa/9OaD2V2EDT4yaHRmDBit0AxbsdGvBsyeSmz/rBZ7 
    343         PQ8QoJoFfEXatHQOIiIERplsEHJpD66Ku7Es8Dbeie3Dj0Nu0ZvUhuiSR/APicB7R+vA/EWMjxI6MUTh 
    344         6MvrAuNagte8Fahr0eJj74MEKFsEvL0IYEJCLt+XSHpQXNwNSbEW4kINfhfXjQ3BddgaqoBI2ovgkGPo 
    345         0o1jjbsEnD8XIDqjE45/KoGDaznSclV4+tQCz/1eBCj+PsDN7djf/P3TTDk5dyh+NbiW1YEyateXUVmI 
    346         /vwKFNXtCAo6Qmk7iWz5A3DezwPjkgPmDwXwiJJTOI5hjOLFw8OTABnfB7DT3rr1rweCglKeCIW3IRC0 
    347         EaiXhnkFoaFCStI2BAQEU9rO2OUe3QxmVzZep2ruaO/Bap0muBVubh4vApayiB20A3usN2/+o/fBg8mP 
    348         +fxWiuQeBAcLyDgdZWVq+pD4Y2pqBtPTcxgYHsdKmkVyZgPdm7Xfn5iYxAcfuIHHy3xMXmzYLcU1C1iE 
    349         /GjTpt/u8/LiPhAKOyh60+Hjw6OYbsKhQ/8io2nMzc1TXGcvcLnJC1qt1qbT6eYNBsOc0WicdXFxsZBR 
    350         Iekz0rpF4xdXNr9Xr1//zl539+M9rq5Bfdu3e9QFBIQrw8OjBjw9P57Yv3//uLu7u2XXrl1DrHbs2DHk 
    351         7Ow8tG3bNt3atWtz6fk40q9JL/8vgP1ckOifBfMbUigp+vmO2F19SWI/JmwL2DWWFPNcZ2j9N2kPac3/ 
    352         M1+8z0JWkN4gbXheLlsym45sb9kBsuvPSOy/iEW9Sb/ZiLZ/B9jrPzjOxqu3Dn8eAAAAAElFTkSuQmCC 
     316        YQUAAAAgY0hSTQAAeiYAAICEAAD6AAAAgOgAAHUwAADqYAAAOpgAABdwnLpRPAAABv9JREFUSEt1lglQ 
     317        k3caxr+AdltnRbeObXeqU9fd1qnjTtc6bHc9lu1eMrsVC1VaWOtKi5yCSqEuSE0VOTxoOaRESCKHyBVC 
     318        uAI55JAAQsCCiVwCIWLUoJBwhDPy7PtlhbHT3W/mmX/mm/me3/993+//fOEwdF24cOk9q3VqndU6v3ph 
     319        gbOKYewdaHWwWjmrADjY2y93sLN7YSWtq+zsljvMz/9k1fT02AOTySS3WExylaqq4d49zQRZPSWB9fzB 
     320        lZDAM2ZkiNDU1Im+Pj36+4doNdL6GAMDZvptxp07T9De/gjNzQ/Q0DCE2lo9iorakZQkw4kT2aYjR1LE 
     321        Xl6x/jt3+m8k8xdInCUIn59tHB2dRWfnGDo6gO5uK/T6CQwOmtDTMwqNZgTff2+CWj2KlhYz6utHIJc/ 
     322        hEQyiJycTqSltSImRoaQkCx4e18aJuPNpJeWAJcv840zMwsYG5vCyMgkGU+Cy81ZYM2amoahUt2nHeug 
     323        UHSjoqIdItFNZGdXIz29AsnJxYiPL0BsbD7Ons2Fr2+KiYyPkdYvAjgsgHoNi2UOZvMUhocnqCVPqRVq 
     324        Mr5Bu60j42oUFytRUCDD1auVEArLweOVEEBMAJENEBWVi8OHk1nAOdKvlgDxCXzj+BwRnj7FxNg0Hj9m 
     325        AQuoqVFDqaxHZWUdystrqOdK5OXJkJUlhUBQjtTUEpqBGBcvFlKL8qiCPPj42ADnnwFsc+BERfON+65N 
     326        gqcyYXZyBmOjE+jqWqCdN0EqrUNZWQ3t/jrtXo5rOVXIyqiAkF+GtFQJUhKLkHA+HxdjchF7Ogc+h5NY 
     327        wAXSm4uD5vCoAkXXDN6JG8SWqLuoUA/D0AdUy1RQSqshL1dCVqKAtKgSRblSpPHLEX1JipD4ShyKlWNv 
     328        lBJO3GpsOdmAi8JqC2dbYBqZv0NaZqsgmioYMVthfDQO58S7YDya8anQgN3RLfh1+E28HtKCFf5qMN63 
     329        wBxuBxOgBXP0DpjQbjAne8B8Rc981QtvyUMkXtHNMx5tFvLdR3rZBgg/yzf+q9CCitYnsI6YIZAN4a3T 
     330        XWSmxuojLdgYchNbw1V4/9QNfHi2BgfilPA/V4Wwc2U4FSfCuehc5AkrUdmgx4tejWA+aR0nXy7pFzZA 
     331        PFWQqTJjS9w9+GToqT3DGNDMoowGWpJThuLsUkhFchQIxchNL0JWSiGECflIPp+HU1EF8OeKUXLjLl7z 
     332        bwDzzzrqgEL3/JvECT/DN/b2miFrNODnX3ZiTUgH8hUjiPtOiaMX5AhOUuHbkn6EXe3EG6GNWHm8DUzI 
     333        bWoRVRnRC+71EThyqX2fVGPFpwR46dVsAoQtngVOWDjf6FM6A2m9Adq2Ibx7WoOXw6nHXtTvQ+34TKCH 
     334        85k2nBQ9QILCgG+q9EiVD+CKohfFdX04kUmz+EiO5R718ItInyPjdNJu0k9tLTpNgITKYTh+ex9n8gbQ 
     335        qx5EqsgA/2gpTsZJbBm1zlOCZXtKcCAwBsePh+Bo8DGb9vlGwe5DKRhXBXZ6JdPplkyRZxJpC8n+v0Mm 
     336        QItKj0tFfVh9ogt/jLkD1fWH4MXnI+X8NTQ3avEbTx6Y3UXY4CWDRmdGv3ESmqFJbPSpBrOnAtu/qMFe 
     337        9wMEqGIB35A2LZ2DsDC+USYbgFzajUxRF5b538Lb0b14JegmvUmtiCx+CN+gMLx3tBbM30T4KK4DgxSO 
     338        3imdYJyL8aqnArXNWnzseZAApYuAtxYBTFDQ5XsSSTfE4i5IxFqICjX4Q0wXNgTWYmuwAkJpDwKDjqFT 
     339        N441rhJw/lqAyPQO2P+lGHbOZUjNVeHJkzG47/cggPjHABeXY//w9U015eTcpvjV4GpWO0qpXV9HZCHy 
     340        yytQVLUhIOAIpa0F2fL74LyfB8YpB8yfCuAWIadwHMUoxYubmzsB0n8MYKe9devfDwQEJD0WCG6Bz28l 
     341        UA8N8wqCgwWUpK3w8wuktJ2xyTWyCcyubLxG1dzW3sXk5DTBJ+Hi4vY8YCmL2EHbscd68+Y/ex48mPiI 
     342        x2uhSO5GYCCfjNNQWqqmD4kvpqZmMD09h/6hcaykWSRm1NO9Wdv9iQkLPvjABSkpGY/Iiw27pbhmAYuQ 
     343        n23a9Pt9Hh7c+wJBO0VvGry8UiimG3Ho0OdkNI25uXlkZmYtcLkJC1qt1qrT6eYNBsOc0WicdXJyGiOj 
     344        QtIXpHWLxs+vbH6vXr/+7b2urse7nZ0Derdvd6v18wtVhoZG9Lu7fzyxf//+cVdX17Fdu3YNstqxY8eg 
     345        o6Pj4LZt23Rr167NpedjSL8lvfi/ALZzQaJ/FszvSMGkyGc7Ynf1NYn9mLAtYNdoUtQznaH136Q9pDX/ 
     346        z3zxPgtZQXqdtOFZuWzJbDqyvWUHyK6/JLH/Ihb1Bv1mI9r2HWCv/wArwcam8/FBswAAAABJRU5ErkJg 
     347        gg== 
    353348</value> 
    354349  </data> 
     
    356351    <value> 
    357352        iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 
    358         YQUAAAAgY0hSTQAAeiYAAICEAAD6AAAAgOgAAHUwAADqYAAAOpgAABdwnLpRPAAABY5JREFUSEuVVXtQ 
    359         VFUcXsoSR5osMBphpqlGk9BxGi2CadI/GGN4KBqkiIZaTTzUQFFQkYfKI8V4OYI6EMhTEOS1sLYsu0Dg 
    360         hqyECK08BXYX2GVdFgFBkq/fue2UMyrFnfnmnt17z/d9v9859ztGvBdfRnM8wxzPnv8oNzd369mzMQei 
    361         o6NDI0+fPHcqPDz19KmIgqhTUb/EnouVJiQlyRMTE5tptgVh4bwF0tLSqhVDIxhQP4BCNwHV+CxUU8DA 
    362         NND1COigcdiPCbMrV64MIPJ3CC/NSyQhISFSqdVj7E9ATWSqCaDvIRGPAm0PgFYdIGzth8PGjT8TsR3B 
    363         eF4CERERm+tvtUD3+G/ygXGgdwzo1ANyErlLAq30++B+nwYi3k4wnZeAi4uL+bXi0scaElCSAEPT8BOU 
    364         d0wj7fcJnKnX41j1KDbH/frI6nDhtRVBpX5nI07YnI+L+3zPnj1LSWwBYa6NwVtAbZJpZoHbI0CgcArB 
    365         woeIED+Ef6UeP/BHcaB8FPsI35do4Zihwq7kesjqJcjOzp4ICQmJMzU1XUYirzy3soaGBvuMjIyOG1Vi 
    366         VN6oQrlEivO1g9jP1yG5cQrHSOxgBQmUPYA3CXxbrIVtcj+u1HVjWNmPmpoaHDp0iE/kK57ZZTKZzEUs 
    367         Fk/fvHnzyfj4OLQjGgwqFRhR3keZ7D5cs1U4Vz+JgAodfEu1+O66Bl7XhrGzYBgfxsjRI7+De/fuoays 
    368         HK6urnEk8J6hZTwetWWhQCAYmJmZwdjYGLRaLTQaDfr6+iCXy9HX+QdSquTYfnUIoSI9uR/B3iI1dhUM 
    369         wTN/COuSenG+vAVF2RchEhQjODhYa2xs/O8myMzM/Kq9vR2Tk5PQ6XQYGRnB0NAQBgcH0dbWhubmZnTc 
    370         kcE9rR1Hb+hIQIPd5N6TBN3zVHDKUGBT0l00pn6NmfKtSM8qwOrVqxOpglVcFSkpKanMtV6v58jVajVH 
    371         PjAwgO7ubkilUtz6TQphjRR2F/oQKNBiJznfRuRu2UpspvatOtkCaWUWpsr2okrSgA0bNlQQuTPhdd6l 
    372         S5dusb6ztgwPD3PkCoWCaxEDLT7q6uoga6iFR8pteBersYPcb7uqwpc5Kqy/3I+PIhpRLxFBWF0HsaQG 
    373         Hh4erUTuTXibl5WVpRodHeXaolKpOPL+/n709vaip6cHjY2NEIlEEIuqUCaoxvvR3fjsogJr4nux9EQH 
    374         PiXySqEIggo+iAsSiQR+fn7DRH6ci5Tk5GQdc89ao1QqOdeMnLWns7MTTU1NqKys5CAUVODKdSFC0mtw 
    375         JrcGZeV8ZKZewLGjQXB0dIS9vT0CAwPh7OwsJfJwwru8oKCg0NjYWOTn56Orq4urgDnv6Ojgtl5LSwtK 
    376         SkpQWlqKCnLJnKZdvojQ40fhunkTbGxssHz5clhbW8PBwYG5h4mJSTqR7yMs4/n7+9vn5OSAz+cjJiYG 
    377         VBFHykTYNmXjoqIiTiApKQnu7u6wtbUFpSqsrKzYgsLLy4tz7uPj07t27dqrRkZGPxH5esJinrm5+WJv 
    378         b+/DdA7cZ0QMYWFhiIqKQm1tLVdFYWEhiwP2EXHEzDUtJI4cOQJfX99pNzc3sYWFBUvZFEIYwZVbYEOk 
    379         s1w3X7Ro0SYnJ6cUElLn5eWBDiBQ+0AZg4CAAK50ImJxgMjISEbcR0L5NC+N5jPH+wkbCR8Q3vznS6YB 
    380         u1gSvkGwXrJkieeWLVvSSUhP2cSqmWWIj49n48eenp4SS0vLdGrDZcNC7qD7xwRLggnhZQPnMzcWtSwJ 
    381         zQhrzMzMviGh/PDwcD2tU5ednV2BwS3LmgOELwxu2fvsCJ0zqp9WYy++ytpGWEfYbXDK9jVz+4nB7WuG 
    382         yl9k+D//Z0LM2VsElo7sHJ632/9UMZTOxP53C54m/QuJVtXMS1SHOQAAAABJRU5ErkJggg== 
     353        YQUAAAAgY0hSTQAAeiYAAICEAAD6AAAAgOgAAHUwAADqYAAAOpgAABdwnLpRPAAABYtJREFUSEuVVWlM 
     354        VFcYHVpbMdLUFiyNkDRto5WiMY22FNJUfxBLWAQtVBEtatuURS0oCiqyqCxRLJsR1EBBVkGQbQA7DDNA 
     355        IVNkpIhQZBWYGZjNYRAQpHL63ddJa6JiecnJuzPv3XPO9937zjXivfgymucZ5nn2/Ed5eXnbzp2LPRgT 
     356        ExMWdebU+dMREWlnTkcWRp+O/jXufJwkMTm5KykpqZVmWxAWL1ggPT29VjaqwbDqAWS6SSgm5qCYBoZn 
     357        gN5HQDeNw2MT5lavXh1I5O8RXlmQSGJiYpRcq8f4X4CKyBSTwOBDIh4DOh4A7TpA0D4Eh82bfyFiO4Lx 
     358        ggQiIyNdG2+1Qff4H/LhCWBgHOjRA10kcpcE2un3oQO+TUS8g2C6IAEXFxfz6yVlj9UkICcBhhblE1R0 
     359        zyD9j0mcbdTjeO0YXON/e2R1pOj6quAy/3ORJ20uxMd/uXfv3uUktogw38bgLaI2SdVzwG0NECSYRojg 
     360        ISJFDxFQpcdP/DEcrBjDfsKPpVo4ZiqwO6UR0kYxcnJyJkNDQ+NNTU1XkMhrz62sqanJPjMzs/tmjQhV 
     361        N2tQIZbgQv0IDvB1SGmexnESO1RJAuUP4EMC35doYZsyhKsNfVDKh1BXV4fDhw/ziXzVM7tMKpW6iESi 
     362        GRJ5MjExAa1GjRG5DBr5fZRL78MtR4HzjVMIrNTBr0yLH26o4X1diV2FSnwc24X+rju4d+8eyssr4Obm 
     363        Fk8CHxhaxuNRWxZXV1cPz87OYnx8HFqtFmq1GoODg+jq6sJgz59IrenCjmujCBPqyb0G+4pV2F04Cq+C 
     364        UWxIHsCFijYU51yCsLoEISEhWmNj4/82QVZW1jednZ2YmpqCTqeDRqPB6OgoRkZG0NHRgdbWVnTfkcIj 
     365        vRPHbupIQI095N6LBD3yFXDKlGFL8l00p32L2YptyMguxNq1a5OogjVcFampqWnMtV6v58hVKhVHPjw8 
     366        jL6+PkgkEtz6XQJBnQR2FwcRVK3FLnK+ncjdc+RwpfatOdUGSVU2psv3oUbchE2bNlUSuTPhTd7ly5dv 
     367        sb6ztiiVSo5cJpNxLWKgdUFDQwOkTfXwTL0NnxIVdpL77dcU+DpXgY1XhvBJZDMaxUIIahsgEtfB09Oz 
     368        nch9CO/ysrOzFWNjY1xbFAoFRz40NISBgQH09/ejubkZQqEQImENyqtr8WFMH764JMO6hAEsP9mNz4m8 
     369        SiBEdSUfxAWxWAx/f38lkZ/gIiUlJUXH3LPWyOVyzjUjZ+3p6elBS0sLqqqqOAiqK3H1hgChGXU4m1eH 
     370        8go+stIu4vixYDg6OsLe3h5BQUFwdnaWEHkE4X1ecHBwWFxcHAoKCtDb28tVwJx3d3dzW6+trQ2lpaUo 
     371        KytDJblkTtOvXELYiWNwc90CGxsbrFy5EtbW1nBwcGDuYWJikkHk+wkreAEBAfa5ubng8/mIjY0FVcSR 
     372        MhG2Tdm4uLiYE0hOToaHhwdsbW1BqQorKyu2oPD29uac+/r6Dqxfv/6akZHRz0S+kbCUZ25uvtTHx+cI 
     373        nQP3GRFDeHg4oqOjUV9fz1VRVFTE4oB9RBwxc00LiaNHj8LPz2/G3d1dZGFhwVI2lRBOcOMW2BDpLNfN 
     374        lyxZssXJySmVhFT5+fmgAwjUPlDGIDAwkCudiFgcICoqihEPklABzUun+czxAcJmwkeEt//9kmnALpaE 
     375        bxGsly1b5rV169YMEtJTNrFq5hgSEhLY+LGXl5fY0tIyg9pwxbCQO+n+KcGSYEJ41cD5zI1FLUtCM8I6 
     376        MzOz70ioICIiQk/r1GtnZ1docMuy5iDhK4Nb9j47QueN6qfV2Iuvs7YRNhD2GJyyfc3cfmZw+4ah8hcZ 
     377        fun/TIg5e4fA0pGdwwt2+1IVQ+lM7H+34GnSvwFnAdXHLrTXvQAAAABJRU5ErkJggg== 
    383378</value> 
    384379  </data> 
  • trunk/BazaReklam/ReportsForm.cs

    r747 r900  
    4040        private void ReportsForm_Load(object sender, EventArgs e) 
    4141        { 
     42            tabControl1.TabPages.RemoveAt(1); 
     43 
    4244            WindowState = FormWindowState.Maximized; 
    4345        } 
     
    4648        /// Wczytuje raporty do drzewka 
    4749        /// </summary> 
    48         private void wczytajRaporty() { 
     50        private void wczytajRaporty() 
     51        { 
    4952            TreeNode node = new TreeNode(); 
    5053            node.Name = "/" + reportsCatalog + "/ListaReklamNaWydanieNr"; 
     
    403406                    foreach (XmlNode report in reportGroup.ChildNodes) 
    404407                    { 
    405                         if(!HasUserReportRights(report)) continue; 
     408                        if (!HasUserReportRights(report)) continue; 
    406409                        if (string.IsNullOrEmpty(report.Attributes["path"].Value)) continue; 
    407410 
     
    442445 
    443446                    if (reportViewer1.ServerReport.ReportPath == "/" + reportsCatalog + "/ZestawienieMiesieczneFaktur" | 
    444                         reportViewer1.ServerReport.ReportPath == "/" + reportsCatalog + "/ZestawienieMiesieczneFaktur2009" | 
     447                       reportViewer1.ServerReport.ReportPath == "/" + reportsCatalog + "/ZestawienieMiesieczneFaktur2009" | 
    445448                       reportViewer1.ServerReport.ReportPath == "/" + reportsCatalog + "/ZestawienieKontaktow" | 
    446449                       reportViewer1.ServerReport.ReportPath == "/" + reportsCatalog + "/RozliczenieWplywowWgDatyWplaty2" | 
     
    448451                       reportViewer1.ServerReport.ReportPath == "/" + reportsCatalog + "/RozliczenieProwizjiZaReklame" | 
    449452                       reportViewer1.ServerReport.ReportPath == "/" + reportsCatalog + "/RozliczenieProwizjiZaReklame2009" | 
    450                        reportViewer1.ServerReport.ReportPath == "/" + reportsCatalog + "/SzacowanieSprzedazy" 
    451                        ) 
     453                       reportViewer1.ServerReport.ReportPath == "/" + reportsCatalog + "/SzacowanieSprzedazy" | 
     454                       reportViewer1.ServerReport.ReportPath == "/" + reportsCatalog + "/OcenaAgenta" | 
     455                       reportViewer1.ServerReport.ReportPath == "/" + reportsCatalog + "/SprzedazReklam2009" ) 
    452456                    { 
    453457                        if (!User.Instance().IsKierownik) 
    454                         {  
     458                        { 
    455459                            if (User.Instance().IsSekretarka) 
    456460                            { 
     
    465469                                paramList.Add(new ReportParameter("prawa_agent", User.Instance().Symbol_agenta, true)); 
    466470                                reportViewer1.ServerReport.SetParameters(paramList); 
    467  
    468471                            } 
    469472                        } 
     
    474477                       reportViewer1.ServerReport.ReportPath == "/" + reportsCatalog + "/WynikAgencji" | 
    475478                       reportViewer1.ServerReport.ReportPath == "/" + reportsCatalog + "/SprzedazReklam" | 
     479                       reportViewer1.ServerReport.ReportPath == "/" + reportsCatalog + "/RozliczenieProwizjiZaReklame" /* | 
    476480                       reportViewer1.ServerReport.ReportPath == "/" + reportsCatalog + "/SprzedazReklam2009" | 
    477                        reportViewer1.ServerReport.ReportPath == "/" + reportsCatalog + "/RozliczenieProwizjiZaReklame" | 
    478481                       reportViewer1.ServerReport.ReportPath == "/" + reportsCatalog + "/RozliczenieProwizjiZaReklame2009" | 
    479                        reportViewer1.ServerReport.ReportPath == "/" + reportsCatalog + "/OcenaAgenta") 
     482                       reportViewer1.ServerReport.ReportPath == "/" + reportsCatalog + "/OcenaAgenta"*/ 
     483                                                                                                       ) 
    480484                    { 
    481485                        if (!User.Instance().IsKierownik) 
  • trunk/BazaReklam/ZamowieniaForm.Designer.cs

    r889 r900  
    3333            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle(); 
    3434            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle(); 
    35             System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle4 = new System.Windows.Forms.DataGridViewCellStyle(); 
    3635            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle5 = new System.Windows.Forms.DataGridViewCellStyle(); 
    3736            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle6 = new System.Windows.Forms.DataGridViewCellStyle(); 
     
    4039            System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(ZamowieniaForm)); 
    4140            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle9 = new System.Windows.Forms.DataGridViewCellStyle(); 
     41            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle4 = new System.Windows.Forms.DataGridViewCellStyle(); 
    4242            this.zamowieniaDataGridView = new System.Windows.Forms.DataGridView(); 
    4343            this.dataGridViewCheckBoxColumn1 = new System.Windows.Forms.DataGridViewCheckBoxColumn(); 
     
    4949            this.rEKLAMADataSet = new Baza_Reklam.REKLAMADataSet(); 
    5050            this.rEKLAMADataGridView = new System.Windows.Forms.DataGridView(); 
    51             this.TYP = new System.Windows.Forms.DataGridViewTextBoxColumn(); 
    52             this.ShortName = new System.Windows.Forms.DataGridViewTextBoxColumn(); 
    53             this.VAT = new System.Windows.Forms.DataGridViewTextBoxColumn(); 
    54             this.Brutto_Euro_Miano = new System.Windows.Forms.DataGridViewTextBoxColumn(); 
    55             this.ZATWIERDZONO_DO_DRUKU = new System.Windows.Forms.DataGridViewCheckBoxColumn(); 
    5651            this.rEKLAMADataGridView1 = new System.Windows.Forms.DataGridView(); 
    5752            this.Data1Emisji = new System.Windows.Forms.DataGridViewTextBoxColumn(); 
     
    9893            this.toolTip = new System.Windows.Forms.ToolTip(this.components); 
    9994            this.KlientLabel = new System.Windows.Forms.Label(); 
     95            this.TYP = new System.Windows.Forms.DataGridViewTextBoxColumn(); 
     96            this.ShortName = new System.Windows.Forms.DataGridViewTextBoxColumn(); 
     97            this.Cena = new System.Windows.Forms.DataGridViewTextBoxColumn(); 
     98            this.VAT = new System.Windows.Forms.DataGridViewTextBoxColumn(); 
     99            this.Brutto_Euro_Miano = new System.Windows.Forms.DataGridViewTextBoxColumn(); 
     100            this.ZATWIERDZONO_DO_DRUKU = new System.Windows.Forms.DataGridViewCheckBoxColumn(); 
    100101            ((System.ComponentModel.ISupportInitialize)(this.zamowieniaDataGridView)).BeginInit(); 
    101102            ((System.ComponentModel.ISupportInitialize)(this.zamowieniaBindingSource)).BeginInit(); 
     
    213214            this.TYP, 
    214215            this.ShortName, 
     216            this.Cena, 
    215217            this.VAT, 
    216218            this.Brutto_Euro_Miano, 
     
    224226            this.rEKLAMADataGridView.Size = new System.Drawing.Size(379, 173); 
    225227            this.rEKLAMADataGridView.TabIndex = 1; 
    226             //  
    227             // TYP 
    228             //  
    229             this.TYP.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.None; 
    230             this.TYP.DataPropertyName = "Type"; 
    231             this.TYP.HeaderText = "Typ"; 
    232             this.TYP.Name = "TYP"; 
    233             this.TYP.ReadOnly = true; 
    234             this.TYP.Width = 50; 
    235             //  
    236             // ShortName 
    237             //  
    238             this.ShortName.DataPropertyName = "ShortName"; 
    239             this.ShortName.HeaderText = "Symbol"; 
    240             this.ShortName.Name = "ShortName"; 
    241             this.ShortName.ReadOnly = true; 
    242             //  
    243             // VAT 
    244             //  
    245             this.VAT.DataPropertyName = "Vat"; 
    246             dataGridViewCellStyle4.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; 
    247             dataGridViewCellStyle4.Format = "P"; 
    248             this.VAT.DefaultCellStyle = dataGridViewCellStyle4; 
    249             this.VAT.HeaderText = "Vat"; 
    250             this.VAT.Name = "VAT"; 
    251             this.VAT.ReadOnly = true; 
    252             //  
    253             // Brutto_Euro_Miano 
    254             //  
    255             this.Brutto_Euro_Miano.DataPropertyName = "Currency"; 
    256             this.Brutto_Euro_Miano.HeaderText = "Waluta"; 
    257             this.Brutto_Euro_Miano.Name = "Brutto_Euro_Miano"; 
    258             this.Brutto_Euro_Miano.ReadOnly = true; 
    259             //  
    260             // ZATWIERDZONO_DO_DRUKU 
    261             //  
    262             this.ZATWIERDZONO_DO_DRUKU.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.None; 
    263             this.ZATWIERDZONO_DO_DRUKU.DataPropertyName = "IsActivated"; 
    264             this.ZATWIERDZONO_DO_DRUKU.HeaderText = "ZD"; 
    265             this.ZATWIERDZONO_DO_DRUKU.Name = "ZATWIERDZONO_DO_DRUKU"; 
    266             this.ZATWIERDZONO_DO_DRUKU.ReadOnly = true; 
    267             this.ZATWIERDZONO_DO_DRUKU.Width = 25; 
    268228            //  
    269229            // rEKLAMADataGridView1 
     
    734694            this.KlientLabel.Location = new System.Drawing.Point(12, 9); 
    735695            this.KlientLabel.Name = "KlientLabel"; 
    736             this.KlientLabel.Size = new System.Drawing.Size(28, 16); 
     696            this.KlientLabel.Size = new System.Drawing.Size(32, 16); 
    737697            this.KlientLabel.TabIndex = 15; 
    738698            this.KlientLabel.Text = "----"; 
     699            //  
     700            // TYP 
     701            //  
     702            this.TYP.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.None; 
     703            this.TYP.DataPropertyName = "Type"; 
     704            this.TYP.HeaderText = "Typ"; 
     705            this.TYP.Name = "TYP"; 
     706            this.TYP.ReadOnly = true; 
     707            this.TYP.Width = 70; 
     708            //  
     709            // ShortName 
     710            //  
     711            this.ShortName.DataPropertyName = "ShortName"; 
     712            this.ShortName.HeaderText = "Symbol"; 
     713            this.ShortName.Name = "ShortName"; 
     714            this.ShortName.ReadOnly = true; 
     715            //  
     716            // Cena 
     717            //  
     718            this.Cena.DataPropertyName = "Price"; 
     719            this.Cena.HeaderText = "Cena"; 
     720            this.Cena.Name = "Cena"; 
     721            this.Cena.ReadOnly = true; 
     722            //  
     723            // VAT 
     724            //  
     725            this.VAT.DataPropertyName = "Vat"; 
     726            dataGridViewCellStyle4.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; 
     727            dataGridViewCellStyle4.Format = "P"; 
     728            this.VAT.DefaultCellStyle = dataGridViewCellStyle4; 
     729            this.VAT.HeaderText = "Vat"; 
     730            this.VAT.Name = "VAT"; 
     731            this.VAT.ReadOnly = true; 
     732            //  
     733            // Brutto_Euro_Miano 
     734            //  
     735            this.Brutto_Euro_Miano.DataPropertyName = "Currency"; 
     736            this.Brutto_Euro_Miano.HeaderText = "Waluta"; 
     737            this.Brutto_Euro_Miano.Name = "Brutto_Euro_Miano"; 
     738            this.Brutto_Euro_Miano.ReadOnly = true; 
     739            //  
     740            // ZATWIERDZONO_DO_DRUKU 
     741            //  
     742            this.ZATWIERDZONO_DO_DRUKU.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.None; 
     743            this.ZATWIERDZONO_DO_DRUKU.DataPropertyName = "IsActivated"; 
     744            this.ZATWIERDZONO_DO_DRUKU.HeaderText = "ZD"; 
     745            this.ZATWIERDZONO_DO_DRUKU.Name = "ZATWIERDZONO_DO_DRUKU"; 
     746            this.ZATWIERDZONO_DO_DRUKU.ReadOnly = true; 
     747            this.ZATWIERDZONO_DO_DRUKU.Width = 25; 
    739748            //  
    740749            // ZamowieniaForm 
     
    820829        private System.Windows.Forms.DataGridViewTextBoxColumn kodAgenta; 
    821830        private System.Windows.Forms.Button proformaButton; 
    822         private System.Windows.Forms.DataGridViewTextBoxColumn TYP; 
    823         private System.Windows.Forms.DataGridViewTextBoxColumn ShortName; 
    824         private System.Windows.Forms.DataGridViewTextBoxColumn VAT; 
    825         private System.Windows.Forms.DataGridViewTextBoxColumn Brutto_Euro_Miano; 
    826         private System.Windows.Forms.DataGridViewCheckBoxColumn ZATWIERDZONO_DO_DRUKU; 
    827831        private System.Windows.Forms.DataGridViewTextBoxColumn Data1Emisji; 
    828832        private System.Windows.Forms.DataGridViewTextBoxColumn ShortName1; 
     
    831835        private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn44; 
    832836        private System.Windows.Forms.DataGridViewCheckBoxColumn ZATWIERDZONO_DO_DRUKU2; 
     837        private System.Windows.Forms.DataGridViewTextBoxColumn TYP; 
     838        private System.Windows.Forms.DataGridViewTextBoxColumn ShortName; 
     839        private System.Windows.Forms.DataGridViewTextBoxColumn Cena; 
     840        private System.Windows.Forms.DataGridViewTextBoxColumn VAT; 
     841        private System.Windows.Forms.DataGridViewTextBoxColumn Brutto_Euro_Miano; 
     842        private System.Windows.Forms.DataGridViewCheckBoxColumn ZATWIERDZONO_DO_DRUKU; 
    833843    } 
    834844} 
  • trunk/BazaReklam/ZamowieniaForm.resx

    r889 r900  
    142142    <value>True</value> 
    143143  </metadata> 
     144  <metadata name="Cena.UserAddedColumn" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> 
     145    <value>True</value> 
     146  </metadata> 
    144147  <metadata name="VAT.UserAddedColumn" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> 
    145148    <value>True</value> 
     
    256259    <value> 
    257260        iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 
    258         YQUAAAAgY0hSTQAAeiYAAICEAAD6AAAAgOgAAHUwAADqYAAAOpgAABdwnLpRPAAAAAlwSFlzAAALDgAA 
    259         Cw4BQL7hQQAABNdJREFUSEudVn1UzmcYvl7pw5ydCCt2tjjYnJ3tJMIi5ishjRxNPmqS1FpWoxVLijYf 
     261        YQUAAAAgY0hSTQAAeiYAAICEAAD6AAAAgOgAAHUwAADqYAAAOpgAABdwnLpRPAAAAAlwSFlzAAALDQAA 
     262        Cw0B7QfALAAABNdJREFUSEudVn1UzmcYvl7pw5ydCCt2tjjYnJ3tJMIi5ishjRxNPmqS1FpWoxVLijYf 
    260263        0fqYxEvpjb5UlBKi1FpC9q6GUWdknB2H2TibbTZ5r92P993ZH6lDv3Ou8/w+nue67ue+7+e+fxp0cl3f 
    261264        jl4DQ/BbsCPMRo3HXJk65jHRUlyHg2V6/CrPjwXsjKPDb3cKMbhxj/nD4xtRtCsIzVmhYNGnYNl6sDQO 
     
    478481    <value> 
    479482        iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 
    480         YQUAAAAgY0hSTQAAeiYAAICEAAD6AAAAgOgAAHUwAADqYAAAOpgAABdwnLpRPAAAAAlwSFlzAAALDgAA 
    481         Cw4BQL7hQQAABZRJREFUSEt1VglQlWUUPU8eIjsKqMBjUVACxRRTFMEFFFRcAHFJU4k0EVOHXBqpzK2a 
     483        YQUAAAAgY0hSTQAAeiYAAICEAAD6AAAAgOgAAHUwAADqYAAAOpgAABdwnLpRPAAAAAlwSFlzAAALDQAA 
     484        Cw0B7QfALAAABZRJREFUSEt1VglQlWUUPU8eIjsKqMBjUVACxRRTFMEFFFRcAHFJU4k0EVOHXBqpzK2a 
    482485        smyspiabtLKxGitzbMwts5xRR8kmKUU0y8ilaUEFx2cP/tP5HlBg+GbOvHn/u9+59zt3+z1wl88JIG0a 
    483486        UPYjcKIacMmsoS3TA0D4FGD/aCCIwC+VgFN21t14cQ6YfBI4czopxqpK6clXgQ0y7i543nloDxDwGXDy 
     
    509512    <value> 
    510513        iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 
    511         YQUAAAAgY0hSTQAAeiYAAICEAAD6AAAAgOgAAHUwAADqYAAAOpgAABdwnLpRPAAAAAlwSFlzAAALDgAA 
    512         Cw4BQL7hQQAABjFJREFUSEuVlgtMk1cYhn8UmBoWndPp1GTG+wQ3FoM3NrfEjYjzBroM5hQdV5WoeKGA 
     514        YQUAAAAgY0hSTQAAeiYAAICEAAD6AAAAgOgAAHUwAADqYAAAOpgAABdwnLpRPAAAAAlwSFlzAAALDQAA 
     515        Cw0B7QfALAAABjFJREFUSEuVlgtMk1cYhn8UmBoWndPp1GTG+wQ3FoM3NrfEjYjzBroM5hQdV5WoeKGA 
    513516        OEAE5CLQIhVBbiogN+VSgZYCBUQQ6wUmKKCAMC4FSgu2BRV4d84/sqigyU7y5Pz9m77vd77vnO9Ui3ln 
    514517        iMXiZQqFYtfEiRMX6+rqLtTW1p4/NDSk1mg0XWq1WtbX1yfr6enpIp9lAwMDMgCdKpWqQyqVNj958uQV 
  • trunk/RaportySQL/BAZA_REKLAM.rds

    r539 r900  
    55  <ConnectionProperties> 
    66    <Extension>SQL</Extension> 
    7     <ConnectString>Data Source=sql.ct.com.pl;Initial Catalog=BAZA_REKLAM</ConnectString> 
     7    <ConnectString>Data Source=sql.ct.com.pl;Initial Catalog=BAZA_REKLAM;User ID=sa;Password=9ar6u$ek</ConnectString> 
    88  </ConnectionProperties> 
    99</RptDataSource> 
  • trunk/RaportySQL/OcenaAgenta.rdl

    r749 r900  
    1313      <Nullable>true</Nullable> 
    1414      <Prompt>prawa_agencje</Prompt> 
     15      <Hidden>true</Hidden> 
     16    </ReportParameter> 
     17    <ReportParameter Name="prawa_agent"> 
     18      <DataType>String</DataType> 
     19      <Nullable>true</Nullable> 
     20      <Prompt>prawa_agent</Prompt> 
    1521      <Hidden>true</Hidden> 
    1622    </ReportParameter> 
     
    101107      <DataType>String</DataType> 
    102108      <Nullable>true</Nullable> 
     109      <DefaultValue> 
     110        <DataSetReference> 
     111          <DataSetName>ListaAgentow</DataSetName> 
     112          <ValueField>Symbol</ValueField> 
     113        </DataSetReference> 
     114      </DefaultValue> 
    103115      <Prompt>agent</Prompt> 
    104116      <ValidValues> 
    105117        <DataSetReference> 
    106118          <DataSetName>ListaAgentow</DataSetName> 
    107           <ValueField>ID_AGENTA</ValueField> 
     119          <ValueField>Symbol</ValueField> 
    108120          <LabelField>Symbol</LabelField> 
    109121        </DataSetReference> 
     
    224236INNER JOIN AGENCI ON AGENCJE.Id_agencji = AGENCI.ID_AGENCJI  
    225237INNER JOIN [PLAN] ON AGENCI.Symbol = [PLAN].SYMBOL 
    226 WHERE        ([PLAN].ROK = @rok) AND (AGENCJE.Id_agencji = @agencja) AND (@agent is null OR  AGENCI.ID_AGENTA = @agent)</CommandText> 
     238WHERE        ([PLAN].ROK = @rok) AND (AGENCJE.Id_agencji = @agencja) AND (@agent = 'Wszyscy' OR AGENCI.SYMBOL = @agent)</CommandText> 
    227239        <QueryParameters> 
    228240          <QueryParameter Name="@rok"> 
     
    292304      <Query> 
    293305        <DataSourceName>BAZA_REKLAM</DataSourceName> 
    294         <CommandText>SELECT        A.ID_AGENTA, A.Symbol, A2.Symbol agencja 
    295 FROM            AGENCI A left join Agencje A2 
    296 on A.ID_AGENCJI = A2.ID_Agencji 
    297  where aktywny=1 AND  (A2.ID_AGENCJI in (@agencja) OR A2.ID_AGENCJI is null) 
     306        <CommandText>SELECT A.ID_AGENTA, A.Symbol, A2.Symbol agencja 
     307FROM AGENCI A 
     308   left join Agencje A2 on A.ID_AGENCJI = A2.ID_Agencji 
     309 where aktywny=1 AND (A2.ID_AGENCJI in (@agencja) OR A2.ID_AGENCJI is null) AND (@prawa_agent is null OR A.Symbol=@prawa_agent) 
    298310union 
    299311select NULL,'Wszyscy','costam' 
    300 order by A.Symbol</CommandText> 
     312where @prawa_agent is null 
     313order by A.Symbol;</CommandText> 
    301314        <QueryParameters> 
    302315          <QueryParameter Name="@agencja"> 
    303316            <Value>=Parameters!agencja.Value</Value> 
     317          </QueryParameter> 
     318          <QueryParameter Name="@prawa_agent"> 
     319            <Value>=Parameters!prawa_agent.Value</Value> 
    304320          </QueryParameter> 
    305321        </QueryParameters> 
  • trunk/RaportySQL/RaportySQL.rptproj

    r761 r900  
    11<?xml version="1.0" encoding="utf-8"?> 
    22<Project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> 
    3   <State>$base64$PFNvdXJjZUNvbnRyb2xJbmZvIHhtbG5zOnhzZD0iaHR0cDovL3d3dy53My5vcmcvMjAwMS9YTUxTY2hlbWEiIHhtbG5zOnhzaT0iaHR0cDovL3d3dy53My5vcmcvMjAwMS9YTUxTY2hlbWEtaW5zdGFuY2UiIHhtbG5zOmR3ZD0iaHR0cDovL3NjaGVtYXMubWljcm9zb2Z0LmNvbS9EYXRhV2FyZWhvdXNlL0Rlc2lnbmVyLzEuMCI+DQogIDxFbmFibGVkPmZhbHNlPC9FbmFibGVkPg0KICA8UHJvamVjdE5hbWU+PC9Qcm9qZWN0TmFtZT4NCiAgPEF1eFBhdGg+PC9BdXhQYXRoPg0KICA8TG9jYWxQYXRoPjwvTG9jYWxQYXRoPg0KICA8UHJvdmlkZXI+PC9Qcm92aWRlcj4NCjwvU291cmNlQ29udHJvbEluZm8+</State> 
     3  <State>$base64$PFNvdXJjZUNvbnRyb2xJbmZvIHhtbG5zOnhzZD0iaHR0cDovL3d3dy53My5vcmcvMjAwMS9YTUxTY2hlbWEiIHhtbG5zOnhzaT0iaHR0cDovL3d3dy53My5vcmcvMjAwMS9YTUxTY2hlbWEtaW5zdGFuY2UiIHhtbG5zOmRkbDI9Imh0dHA6Ly9zY2hlbWFzLm1pY3Jvc29mdC5jb20vYW5hbHlzaXNzZXJ2aWNlcy8yMDAzL2VuZ2luZS8yIiB4bWxuczpkZGwyXzI9Imh0dHA6Ly9zY2hlbWFzLm1pY3Jvc29mdC5jb20vYW5hbHlzaXNzZXJ2aWNlcy8yMDAzL2VuZ2luZS8yLzIiIHhtbG5zOmR3ZD0iaHR0cDovL3NjaGVtYXMubWljcm9zb2Z0LmNvbS9EYXRhV2FyZWhvdXNlL0Rlc2lnbmVyLzEuMCI+DQogIDxFbmFibGVkPmZhbHNlPC9FbmFibGVkPg0KICA8UHJvamVjdE5hbWU+PC9Qcm9qZWN0TmFtZT4NCiAgPEF1eFBhdGg+PC9BdXhQYXRoPg0KICA8TG9jYWxQYXRoPjwvTG9jYWxQYXRoPg0KICA8UHJvdmlkZXI+PC9Qcm92aWRlcj4NCjwvU291cmNlQ29udHJvbEluZm8+</State> 
    44  <DataSources> 
    55    <ProjectItem> 
  • trunk/RaportySQL/RozliczenieWplywowWgDatyWplaty2009.rdl

    r749 r900  
    326326      <Query> 
    327327        <DataSourceName>BAZA_REKLAM</DataSourceName> 
    328         <CommandText>SELECT     ID_FAKTURY, Symbol, NumerFaktury, NR_FK, kodKlienta, symbolPotwierdzenia, rodzajPotwierdzenia, Netto, Vat, Brutto, DATA_WYSTAWIENIA,  
    329                       TERMIN_ZAPLATY, SPOSOB_ZAPLATY, Agencja, dataWplaty, roznica_nowa, suma_zaplat, zaplata_data, roznica_stara, procentProwizji, Tytul 
    330 FROM         WplywyByTytul 
    331 WHERE     (YEAR(dataWplaty) = @rok) AND (MONTH(dataWplaty) = @miesiac) AND (Tytul IN (@tytul)) AND (SystemKsiegowyId IN (@systemKsiegowy)) 
     328        <CommandText>SELECT        ID_FAKTURY, Symbol, NumerFaktury, NR_FK, kodKlienta, symbolPotwierdzenia, rodzajPotwierdzenia, Netto, Vat, Brutto, DATA_WYSTAWIENIA,  
     329                         TERMIN_ZAPLATY, SPOSOB_ZAPLATY, Agencja, dataWplaty, roznica_nowa, suma_zaplat, zaplata_data, roznica_stara, procentProwizji, Tytul 
     330FROM            WplywyByTytul 
     331WHERE        (YEAR(dataWplaty) = @rok) AND (MONTH(dataWplaty) = @miesiac) AND (Tytul IN (@tytul)) AND (SystemKsiegowyId IN (@systemKsiegowy)) 
    332332GROUP BY ID_FAKTURY, Symbol, NumerFaktury, NR_FK, kodKlienta, symbolPotwierdzenia, rodzajPotwierdzenia, Netto, Vat, Brutto, DATA_WYSTAWIENIA,  
    333                       TERMIN_ZAPLATY, SPOSOB_ZAPLATY, Agencja, dataWplaty, roznica_nowa, suma_zaplat, zaplata_data, roznica_stara, procentProwizji, Tytul 
     333                         TERMIN_ZAPLATY, SPOSOB_ZAPLATY, Agencja, dataWplaty, roznica_nowa, suma_zaplat, zaplata_data, roznica_stara, procentProwizji, Tytul 
    334334ORDER BY Symbol, NumerFaktury</CommandText> 
    335335        <QueryParameters> 
  • trunk/RaportySQL/SprzedazReklam2009.rdl

    r582 r900  
    1313      <Nullable>true</Nullable> 
    1414      <Prompt>prawa_agencje</Prompt> 
     15      <Hidden>true</Hidden> 
     16    </ReportParameter> 
     17    <ReportParameter Name="prawa_agent"> 
     18      <DataType>String</DataType> 
     19      <Nullable>true</Nullable> 
     20      <Prompt>prawa_agent</Prompt> 
    1521      <Hidden>true</Hidden> 
    1622    </ReportParameter> 
     
    216222        AND (AGENCJE.Id_agencji&lt;&gt;4 OR Korekta.NUMER_ROZ ='KAT') AND (AGENCJE.Id_agencji &lt;&gt;6 OR Korekta.NUMER_ROZ ='POZ') 
    217223        AND Korekta.SystemKsiegowyId IN (@systemKsiegowy) 
     224                AND (@agent IS NULL OR AGENCI.SYMBOL=@agent) 
    218225        GROUP BY AGENCJE.Symbol, AGENCI.Nazwisko + ' ' + AGENCI.Imię, Korekta.ID_FAKTURY, Korekta.DATA_SPRZEDAZY,  
    219226        YEAR(Korekta.DATA_SPRZEDAZY), Korekta.NUMER_ROZ,  
     
    254261        WHERE  
    255262        YEAR(FAKTURY.DATA_SPRZEDAZY)=@rok AND MONTH(FAKTURY.DATA_SPRZEDAZY)=@miesiac 
    256  
    257263        AND (AGENCJE.Id_agencji&lt;&gt;4 OR FAKTURY.NUMER_ROZ ='KAT') AND (AGENCJE.Id_agencji &lt;&gt;6 OR FAKTURY.NUMER_ROZ ='POZ') 
    258264        AND FAKTURY.KOREKTA=0 AND FAKTURY.SystemKsiegowyId IN (@systemKsiegowy) 
     265                AND (@agent IS NULL OR AGENCI.SYMBOL=@agent) 
    259266        GROUP BY AGENCJE.Symbol, AGENCI.Nazwisko + ' ' + AGENCI.Imię, FAKTURY.ID_FAKTURY, FAKTURY.DATA_SPRZEDAZY,  
    260267        YEAR(FAKTURY.DATA_SPRZEDAZY), FAKTURY.NUMER_ROZ, FAKTURY.suma_zaplat, FAKTURY.Korekta 
     
    282289          <QueryParameter Name="@systemKsiegowy"> 
    283290            <Value>=Parameters!systemKsiegowy.Value</Value> 
     291          </QueryParameter> 
     292          <QueryParameter Name="@agent"> 
     293            <Value>=Parameters!prawa_agent.Value</Value> 
    284294          </QueryParameter> 
    285295        </QueryParameters> 
  • trunk/RaportySQL/TESTOWA.rds

    r389 r900  
    66    <Extension>SQL</Extension> 
    77    <ConnectString>Data Source=sql.ct.com.pl;Initial Catalog=BAZA_REKLAM_TEST</ConnectString> 
    8     <Prompt>Specify a user name and password for data source TESTOWA</Prompt> 
    98  </ConnectionProperties> 
    109</RptDataSource>