- Data:
- 2009-11-26 10:12:15 (16 years ago)
- Lokalizacja:
- trunk
- Pliki:
-
- 18 zmodyfikowane
-
BazaReklam/Classes/DbUtils.cs (zmodyfikowane) (2 diffs)
-
BazaReklam/ClientsForm.cs (zmodyfikowane) (1 diff)
-
BazaReklam/OrderDetails.cs (zmodyfikowane) (1 diff)
-
BazaReklam/ProvisionForm.Designer.cs (zmodyfikowane) (20 diffs)
-
BazaReklam/ProvisionForm.cs (zmodyfikowane) (1 diff)
-
BazaReklam/ProvisionForm.resx (zmodyfikowane) (3 diffs)
-
BazaReklam/ReportsForm.cs (zmodyfikowane) (7 diffs)
-
BazaReklam/ZamowieniaForm.Designer.cs (zmodyfikowane) (9 diffs)
-
BazaReklam/ZamowieniaForm.resx (zmodyfikowane) (4 diffs)
-
RaportySQL/BAZA_REKLAM.rds (zmodyfikowane) (1 diff)
-
RaportySQL/OcenaAgenta.rdl (zmodyfikowane) (4 diffs)
-
RaportySQL/OcenaAgenta.rdl.data (zmodyfikowane) (poprzedni)
-
RaportySQL/RaportySQL.rptproj (zmodyfikowane) (1 diff)
-
RaportySQL/RozliczenieWplywowWgDatyWplaty2009.rdl (zmodyfikowane) (1 diff)
-
RaportySQL/RozliczenieWplywowWgDatyWplaty2009.rdl.data (zmodyfikowane) (poprzedni)
-
RaportySQL/SprzedazReklam2009.rdl (zmodyfikowane) (4 diffs)
-
RaportySQL/SprzedazReklam2009.rdl.data (zmodyfikowane) (poprzedni)
-
RaportySQL/TESTOWA.rds (zmodyfikowane) (1 diff)
Legenda:
- Bez zmian
- Dodane
- Usunięte
-
trunk/BazaReklam/Classes/DbUtils.cs
r621 r900 203 203 public static int numerNowejReklamy(string symbolAgenta, string tagAgenta) 204 204 { 205 206 SqlConnection conn = new SqlConnection( 207 ConnString.getConnString().Value); 205 SqlConnection conn = new SqlConnection(ConnString.getConnString().Value); 208 206 209 207 SqlCommand command = new SqlCommand(); … … 211 209 // command.CommandText = "select distinct [id reklamy] from reklama where [symbol akwizytora]=@symbolAgenta"; 212 210 // command.Parameters.AddWithValue("@symbolAgenta", symbolAgenta); 211 213 212 command.CommandText = "select distinct [id reklamy] from reklama where [id reklamy] like '%' + @tagAgenta + '%'"; 214 213 command.Parameters.AddWithValue("@tagAgenta", tagAgenta); -
trunk/BazaReklam/ClientsForm.cs
r892 r900 122 122 123 123 DBBindings.BindKontaktTyp(cbKontaktTyp); 124 125 124 } 126 125 -
trunk/BazaReklam/OrderDetails.cs
r892 r900 212 212 { 213 213 SectionRepository sectionRepository = new SectionRepository(ConnString.getConnString().Value); 214 grzbietComboBox.SelectedItem = sections[0]; 214 215 List<Module> modules = sectionRepository.FindModulesBySection(SelectedSection); 215 216 -
trunk/BazaReklam/ProvisionForm.Designer.cs
r797 r900 30 30 { 31 31 this.components = new System.ComponentModel.Container(); 32 System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle 26= new System.Windows.Forms.DataGridViewCellStyle();33 System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 4= new System.Windows.Forms.DataGridViewCellStyle();34 System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle 15= new System.Windows.Forms.DataGridViewCellStyle();35 System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle 16= new System.Windows.Forms.DataGridViewCellStyle();36 System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle 17= new System.Windows.Forms.DataGridViewCellStyle();37 System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle 18= new System.Windows.Forms.DataGridViewCellStyle();38 System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle 19= new System.Windows.Forms.DataGridViewCellStyle();39 System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle 20= new System.Windows.Forms.DataGridViewCellStyle();40 System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle 21= new System.Windows.Forms.DataGridViewCellStyle();41 System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle 22= new System.Windows.Forms.DataGridViewCellStyle();42 System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle 23= new System.Windows.Forms.DataGridViewCellStyle();43 System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle 24= new System.Windows.Forms.DataGridViewCellStyle();44 System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle 25= 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(); 45 45 System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(ProvisionForm)); 46 46 this.aGENCIBindingSource = new System.Windows.Forms.BindingSource(this.components); … … 227 227 this.wREKLAMYDataGridViewTextBoxColumn}); 228 228 this.prowizjeDataGridView.DataSource = this.pLANBindingSource; 229 dataGridViewCellStyle 26.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;230 dataGridViewCellStyle 26.BackColor = System.Drawing.SystemColors.Window;231 dataGridViewCellStyle 26.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238)));232 dataGridViewCellStyle 26.ForeColor = System.Drawing.SystemColors.ControlText;233 dataGridViewCellStyle 26.SelectionBackColor = System.Drawing.SystemColors.Highlight;234 dataGridViewCellStyle 26.SelectionForeColor = System.Drawing.SystemColors.HighlightText;235 dataGridViewCellStyle 26.WrapMode = System.Windows.Forms.DataGridViewTriState.False;236 this.prowizjeDataGridView.DefaultCellStyle = dataGridViewCellStyle 26;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; 237 237 this.prowizjeDataGridView.Dock = System.Windows.Forms.DockStyle.Fill; 238 238 this.prowizjeDataGridView.Location = new System.Drawing.Point(0, 31); … … 281 281 // 282 282 this.bUDZETDataGridViewTextBoxColumn.DataPropertyName = "BUDZET"; 283 dataGridViewCellStyle1 4.Format = "N0";284 dataGridViewCellStyle1 4.NullValue = null;285 this.bUDZETDataGridViewTextBoxColumn.DefaultCellStyle = dataGridViewCellStyle1 4;283 dataGridViewCellStyle1.Format = "N0"; 284 dataGridViewCellStyle1.NullValue = null; 285 this.bUDZETDataGridViewTextBoxColumn.DefaultCellStyle = dataGridViewCellStyle1; 286 286 this.bUDZETDataGridViewTextBoxColumn.HeaderText = "Plan"; 287 287 this.bUDZETDataGridViewTextBoxColumn.Name = "bUDZETDataGridViewTextBoxColumn"; … … 332 332 // 333 333 this.oCENADataGridViewTextBoxColumn.DataPropertyName = "OCENA"; 334 dataGridViewCellStyle 15.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192)))));335 this.oCENADataGridViewTextBoxColumn.DefaultCellStyle = dataGridViewCellStyle 15;334 dataGridViewCellStyle2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192))))); 335 this.oCENADataGridViewTextBoxColumn.DefaultCellStyle = dataGridViewCellStyle2; 336 336 this.oCENADataGridViewTextBoxColumn.HeaderText = "Ocena"; 337 337 this.oCENADataGridViewTextBoxColumn.Name = "oCENADataGridViewTextBoxColumn"; … … 352 352 // 353 353 this.PR_PROWIZJI.DataPropertyName = "PR_PROWIZJI"; 354 dataGridViewCellStyle 16.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192)))));355 dataGridViewCellStyle 16.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(238)));356 dataGridViewCellStyle 16.Format = "P";357 dataGridViewCellStyle 16.NullValue = null;358 this.PR_PROWIZJI.DefaultCellStyle = dataGridViewCellStyle 16;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; 359 359 this.PR_PROWIZJI.HeaderText = "Prowizja"; 360 360 this.PR_PROWIZJI.Name = "PR_PROWIZJI"; … … 366 366 this.wBUDZETDataGridViewTextBoxColumn.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.None; 367 367 this.wBUDZETDataGridViewTextBoxColumn.DataPropertyName = "W_BUDZET"; 368 dataGridViewCellStyle 17.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(192)))), ((int)(((byte)(255)))));369 dataGridViewCellStyle 17.Format = "N0";370 this.wBUDZETDataGridViewTextBoxColumn.DefaultCellStyle = dataGridViewCellStyle 17;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; 371 371 this.wBUDZETDataGridViewTextBoxColumn.HeaderText = "Sprzeda¿"; 372 372 this.wBUDZETDataGridViewTextBoxColumn.Name = "wBUDZETDataGridViewTextBoxColumn"; … … 377 377 // 378 378 this.wSPOTKANIADataGridViewTextBoxColumn.DataPropertyName = "W_SPOTKANIA"; 379 dataGridViewCellStyle 18.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(192)))), ((int)(((byte)(255)))));380 this.wSPOTKANIADataGridViewTextBoxColumn.DefaultCellStyle = dataGridViewCellStyle 18;379 dataGridViewCellStyle5.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(192)))), ((int)(((byte)(255))))); 380 this.wSPOTKANIADataGridViewTextBoxColumn.DefaultCellStyle = dataGridViewCellStyle5; 381 381 this.wSPOTKANIADataGridViewTextBoxColumn.HeaderText = "Spotk."; 382 382 this.wSPOTKANIADataGridViewTextBoxColumn.Name = "wSPOTKANIADataGridViewTextBoxColumn"; … … 387 387 // 388 388 this.wTELDataGridViewTextBoxColumn.DataPropertyName = "W_TEL"; 389 dataGridViewCellStyle 19.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(192)))), ((int)(((byte)(255)))));390 this.wTELDataGridViewTextBoxColumn.DefaultCellStyle = dataGridViewCellStyle 19;389 dataGridViewCellStyle6.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(192)))), ((int)(((byte)(255))))); 390 this.wTELDataGridViewTextBoxColumn.DefaultCellStyle = dataGridViewCellStyle6; 391 391 this.wTELDataGridViewTextBoxColumn.HeaderText = "Tel."; 392 392 this.wTELDataGridViewTextBoxColumn.Name = "wTELDataGridViewTextBoxColumn"; … … 397 397 // 398 398 this.wEMAILDataGridViewTextBoxColumn.DataPropertyName = "W_EMAIL"; 399 dataGridViewCellStyle 20.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(192)))), ((int)(((byte)(255)))));400 this.wEMAILDataGridViewTextBoxColumn.DefaultCellStyle = dataGridViewCellStyle 20;399 dataGridViewCellStyle7.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(192)))), ((int)(((byte)(255))))); 400 this.wEMAILDataGridViewTextBoxColumn.DefaultCellStyle = dataGridViewCellStyle7; 401 401 this.wEMAILDataGridViewTextBoxColumn.HeaderText = "Email"; 402 402 this.wEMAILDataGridViewTextBoxColumn.Name = "wEMAILDataGridViewTextBoxColumn"; … … 407 407 // 408 408 this.wLISTDataGridViewTextBoxColumn.DataPropertyName = "W_LIST"; 409 dataGridViewCellStyle 21.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(192)))), ((int)(((byte)(255)))));410 this.wLISTDataGridViewTextBoxColumn.DefaultCellStyle = dataGridViewCellStyle 21;409 dataGridViewCellStyle8.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(192)))), ((int)(((byte)(255))))); 410 this.wLISTDataGridViewTextBoxColumn.DefaultCellStyle = dataGridViewCellStyle8; 411 411 this.wLISTDataGridViewTextBoxColumn.HeaderText = "List"; 412 412 this.wLISTDataGridViewTextBoxColumn.Name = "wLISTDataGridViewTextBoxColumn"; … … 417 417 // 418 418 this.wFAXDataGridViewTextBoxColumn.DataPropertyName = "W_FAX"; 419 dataGridViewCellStyle 22.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(192)))), ((int)(((byte)(255)))));420 this.wFAXDataGridViewTextBoxColumn.DefaultCellStyle = dataGridViewCellStyle 22;419 dataGridViewCellStyle9.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(192)))), ((int)(((byte)(255))))); 420 this.wFAXDataGridViewTextBoxColumn.DefaultCellStyle = dataGridViewCellStyle9; 421 421 this.wFAXDataGridViewTextBoxColumn.HeaderText = "Fax"; 422 422 this.wFAXDataGridViewTextBoxColumn.Name = "wFAXDataGridViewTextBoxColumn"; … … 427 427 // 428 428 this.wNKLIENCIDataGridViewTextBoxColumn.DataPropertyName = "W_N_KLIENCI"; 429 dataGridViewCellStyle 23.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(192)))), ((int)(((byte)(255)))));430 this.wNKLIENCIDataGridViewTextBoxColumn.DefaultCellStyle = dataGridViewCellStyle 23;429 dataGridViewCellStyle10.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(192)))), ((int)(((byte)(255))))); 430 this.wNKLIENCIDataGridViewTextBoxColumn.DefaultCellStyle = dataGridViewCellStyle10; 431 431 this.wNKLIENCIDataGridViewTextBoxColumn.HeaderText = "N. Klien."; 432 432 this.wNKLIENCIDataGridViewTextBoxColumn.Name = "wNKLIENCIDataGridViewTextBoxColumn"; … … 437 437 // 438 438 this.wKLIENCIDataGridViewTextBoxColumn.DataPropertyName = "W_KLIENCI"; 439 dataGridViewCellStyle 24.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(192)))), ((int)(((byte)(255)))));440 this.wKLIENCIDataGridViewTextBoxColumn.DefaultCellStyle = dataGridViewCellStyle 24;439 dataGridViewCellStyle11.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(192)))), ((int)(((byte)(255))))); 440 this.wKLIENCIDataGridViewTextBoxColumn.DefaultCellStyle = dataGridViewCellStyle11; 441 441 this.wKLIENCIDataGridViewTextBoxColumn.HeaderText = "Klien."; 442 442 this.wKLIENCIDataGridViewTextBoxColumn.Name = "wKLIENCIDataGridViewTextBoxColumn"; … … 447 447 // 448 448 this.wREKLAMYDataGridViewTextBoxColumn.DataPropertyName = "W_REKLAMY"; 449 dataGridViewCellStyle 25.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(192)))), ((int)(((byte)(255)))));450 this.wREKLAMYDataGridViewTextBoxColumn.DefaultCellStyle = dataGridViewCellStyle 25;449 dataGridViewCellStyle12.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(192)))), ((int)(((byte)(255))))); 450 this.wREKLAMYDataGridViewTextBoxColumn.DefaultCellStyle = dataGridViewCellStyle12; 451 451 this.wREKLAMYDataGridViewTextBoxColumn.HeaderText = "Rekl"; 452 452 this.wREKLAMYDataGridViewTextBoxColumn.Name = "wREKLAMYDataGridViewTextBoxColumn"; … … 503 503 // 504 504 this.bindingNavigatorCountItem.Name = "bindingNavigatorCountItem"; 505 this.bindingNavigatorCountItem.Size = new System.Drawing.Size(3 6, 28);505 this.bindingNavigatorCountItem.Size = new System.Drawing.Size(35, 28); 506 506 this.bindingNavigatorCountItem.Text = "of {0}"; 507 507 this.bindingNavigatorCountItem.ToolTipText = "Total number of items"; … … 660 660 // 661 661 this.toolStripLabel1.Name = "toolStripLabel1"; 662 this.toolStripLabel1.Size = new System.Drawing.Size(2 6, 28);662 this.toolStripLabel1.Size = new System.Drawing.Size(27, 28); 663 663 this.toolStripLabel1.Text = "rok:"; 664 664 // … … 671 671 // 672 672 this.toolStripLabel2.Name = "toolStripLabel2"; 673 this.toolStripLabel2.Size = new System.Drawing.Size(2 4, 28);673 this.toolStripLabel2.Size = new System.Drawing.Size(26, 28); 674 674 this.toolStripLabel2.Text = "ms:"; 675 675 // … … 682 682 // 683 683 this.agencjaToolStripLabel.Name = "agencjaToolStripLabel"; 684 this.agencjaToolStripLabel.Size = new System.Drawing.Size( 49, 28);684 this.agencjaToolStripLabel.Size = new System.Drawing.Size(51, 28); 685 685 this.agencjaToolStripLabel.Text = "agencja:"; 686 686 // … … 696 696 this.szukajToolStripButton.ImageTransparentColor = System.Drawing.Color.Magenta; 697 697 this.szukajToolStripButton.Name = "szukajToolStripButton"; 698 this.szukajToolStripButton.Size = new System.Drawing.Size( 48, 28);698 this.szukajToolStripButton.Size = new System.Drawing.Size(51, 28); 699 699 this.szukajToolStripButton.Text = "SZUKAJ"; 700 700 this.szukajToolStripButton.Click += new System.EventHandler(this.szukajToolStripButton_Click); … … 706 706 this.btnBlockProvision.ImageTransparentColor = System.Drawing.Color.Transparent; 707 707 this.btnBlockProvision.Name = "btnBlockProvision"; 708 this.btnBlockProvision.Size = new System.Drawing.Size(1 26, 28);708 this.btnBlockProvision.Size = new System.Drawing.Size(143, 28); 709 709 this.btnBlockProvision.Text = "Prowizja blokuj/odblokuj"; 710 710 this.btnBlockProvision.TextImageRelation = System.Windows.Forms.TextImageRelation.TextBeforeImage; -
trunk/BazaReklam/ProvisionForm.cs
r797 r900 95 95 { 96 96 agencjaToolStripComboBox.Enabled = false; 97 }98 97 pLANBindingSource.Filter = "Symbol = '" + User.Instance().Login + "'"; 98 } 99 99 } 100 100 -
trunk/BazaReklam/ProvisionForm.resx
r797 r900 124 124 <value>445, 17</value> 125 125 </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>129 126 <metadata name="pLANBindingSource.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> 130 127 <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>134 128 </metadata> 135 129 <metadata name="rEKLAMADataSet.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> … … 320 314 <value> 321 315 iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 322 YQUAAAAgY0hSTQAAeiYAAICEAAD6AAAAgOgAAHUwAADqYAAAOpgAABdwnLpRPAAABv5JREFUSEt1lglQ 323 lPcZxr8FTROnoo1jk050Ym0TJ46d1Do0rUdpesm0EQNREqix0iKnoBKIBYkbRQ4PEg43rLC7IohcCyzX 324 wh5yyALCggF35RJYVlx1UdhdWO6Vp++3FcZM2m/mmf/ON/M9v//7vt//+ZbD0HXhwqX3bLapdTbb/OqF 325 Bc4qhnF0otXJZuOsAuDk6LjcycHhpZW0rnJwWO40P/+DVdPTlocmk0k+OWmSq1TVjffvaybI6hkJrOd3 326 rqQkvjEzU4zm5i709+sxMDBMq5HWJxgcNNNvM+7efYqOjsdoaXmIxsZh1NXpUVTUgZQUGU6cyDYdOcIr 327 9vGJD9y5M3Ajmb9E4ixBBIJs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bscd68+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== 353 348 </value> 354 349 </data> … … 356 351 <value> 357 352 iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 358 YQUAAAAgY0hSTQAAeiYAAICEAAD6AAAAgOgAAHUwAADqYAAAOpgAABdwnLpRPAAABY 5JREFUSEuVVXtQ359 VF UcXsoSR5osMBphpqlGk9BxGi2CadI/GGN4KBqkiIZaTTzUQFFQkYfKI8V4OYI6EMhTEOS1sLYsu0Dg360 hqyECK08BXYX2GVdFgFBkq/fue2UMyrFnfnmnt17z/d9v9859ztGvBdfRnM8wxzPnv8oNzd369mzMQei361 o6NDI0+fPHcqPDz19KmIgqhTUb/EnouVJiQlyRMTE5tptgVh4bwF0tLSqhVDIxhQP4BCNwHV+CxUU8DA362 NND1COigcdiPCbMrV64MIPJ3CC/NSyQhISFSqdVj7E9ATWSqCaDvIRGPAm0PgFYdIGzth8PGjT8TsR3B363 eF4CERERm+tvtUD3+G/ygXGgdwzo1ANyErlLAq30++B+nwYi3k4wnZeAi4uL+bXi0scaElCSAEPT8BOU364 d0wj7fcJnKnX41j1KDbH/frI6nDhtRVB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1dZGFhwVI2lRBOcOMW2BDpLNfN 374 lyxZssXJySmVhFT5+fmgAwjUPlDGIDAwkCudiFgcICoqihEPklABzUun+czxAcJmwkeEt//9kmnALpaE 375 bxGsly1b5rV169YMEtJTNrFq5hgSEhLY+LGXl5fY0tIyg9pwxbCQO+n+KcGSYEJ41cD5zI1FLUtCM8I6 376 MzOz70ioICIiQk/r1GtnZ1docMuy5iDhK4Nb9j47QueN6qfV2Iuvs7YRNhD2GJyyfc3cfmZw+4ah8hcZ 377 fun/TIg5e4fA0pGdwwt2+1IVQ+lM7H+34GnSvwFnAdXHLrTXvQAAAABJRU5ErkJggg== 383 378 </value> 384 379 </data> -
trunk/BazaReklam/ReportsForm.cs
r747 r900 40 40 private void ReportsForm_Load(object sender, EventArgs e) 41 41 { 42 tabControl1.TabPages.RemoveAt(1); 43 42 44 WindowState = FormWindowState.Maximized; 43 45 } … … 46 48 /// Wczytuje raporty do drzewka 47 49 /// </summary> 48 private void wczytajRaporty() { 50 private void wczytajRaporty() 51 { 49 52 TreeNode node = new TreeNode(); 50 53 node.Name = "/" + reportsCatalog + "/ListaReklamNaWydanieNr"; … … 403 406 foreach (XmlNode report in reportGroup.ChildNodes) 404 407 { 405 if (!HasUserReportRights(report)) continue;408 if (!HasUserReportRights(report)) continue; 406 409 if (string.IsNullOrEmpty(report.Attributes["path"].Value)) continue; 407 410 … … 442 445 443 446 if (reportViewer1.ServerReport.ReportPath == "/" + reportsCatalog + "/ZestawienieMiesieczneFaktur" | 444 reportViewer1.ServerReport.ReportPath == "/" + reportsCatalog + "/ZestawienieMiesieczneFaktur2009" |447 reportViewer1.ServerReport.ReportPath == "/" + reportsCatalog + "/ZestawienieMiesieczneFaktur2009" | 445 448 reportViewer1.ServerReport.ReportPath == "/" + reportsCatalog + "/ZestawienieKontaktow" | 446 449 reportViewer1.ServerReport.ReportPath == "/" + reportsCatalog + "/RozliczenieWplywowWgDatyWplaty2" | … … 448 451 reportViewer1.ServerReport.ReportPath == "/" + reportsCatalog + "/RozliczenieProwizjiZaReklame" | 449 452 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" ) 452 456 { 453 457 if (!User.Instance().IsKierownik) 454 { 458 { 455 459 if (User.Instance().IsSekretarka) 456 460 { … … 465 469 paramList.Add(new ReportParameter("prawa_agent", User.Instance().Symbol_agenta, true)); 466 470 reportViewer1.ServerReport.SetParameters(paramList); 467 468 471 } 469 472 } … … 474 477 reportViewer1.ServerReport.ReportPath == "/" + reportsCatalog + "/WynikAgencji" | 475 478 reportViewer1.ServerReport.ReportPath == "/" + reportsCatalog + "/SprzedazReklam" | 479 reportViewer1.ServerReport.ReportPath == "/" + reportsCatalog + "/RozliczenieProwizjiZaReklame" /* | 476 480 reportViewer1.ServerReport.ReportPath == "/" + reportsCatalog + "/SprzedazReklam2009" | 477 reportViewer1.ServerReport.ReportPath == "/" + reportsCatalog + "/RozliczenieProwizjiZaReklame" |478 481 reportViewer1.ServerReport.ReportPath == "/" + reportsCatalog + "/RozliczenieProwizjiZaReklame2009" | 479 reportViewer1.ServerReport.ReportPath == "/" + reportsCatalog + "/OcenaAgenta") 482 reportViewer1.ServerReport.ReportPath == "/" + reportsCatalog + "/OcenaAgenta"*/ 483 ) 480 484 { 481 485 if (!User.Instance().IsKierownik) -
trunk/BazaReklam/ZamowieniaForm.Designer.cs
r889 r900 33 33 System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle(); 34 34 System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle(); 35 System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle4 = new System.Windows.Forms.DataGridViewCellStyle();36 35 System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle5 = new System.Windows.Forms.DataGridViewCellStyle(); 37 36 System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle6 = new System.Windows.Forms.DataGridViewCellStyle(); … … 40 39 System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(ZamowieniaForm)); 41 40 System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle9 = new System.Windows.Forms.DataGridViewCellStyle(); 41 System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle4 = new System.Windows.Forms.DataGridViewCellStyle(); 42 42 this.zamowieniaDataGridView = new System.Windows.Forms.DataGridView(); 43 43 this.dataGridViewCheckBoxColumn1 = new System.Windows.Forms.DataGridViewCheckBoxColumn(); … … 49 49 this.rEKLAMADataSet = new Baza_Reklam.REKLAMADataSet(); 50 50 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();56 51 this.rEKLAMADataGridView1 = new System.Windows.Forms.DataGridView(); 57 52 this.Data1Emisji = new System.Windows.Forms.DataGridViewTextBoxColumn(); … … 98 93 this.toolTip = new System.Windows.Forms.ToolTip(this.components); 99 94 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(); 100 101 ((System.ComponentModel.ISupportInitialize)(this.zamowieniaDataGridView)).BeginInit(); 101 102 ((System.ComponentModel.ISupportInitialize)(this.zamowieniaBindingSource)).BeginInit(); … … 213 214 this.TYP, 214 215 this.ShortName, 216 this.Cena, 215 217 this.VAT, 216 218 this.Brutto_Euro_Miano, … … 224 226 this.rEKLAMADataGridView.Size = new System.Drawing.Size(379, 173); 225 227 this.rEKLAMADataGridView.TabIndex = 1; 226 //227 // TYP228 //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 // ShortName237 //238 this.ShortName.DataPropertyName = "ShortName";239 this.ShortName.HeaderText = "Symbol";240 this.ShortName.Name = "ShortName";241 this.ShortName.ReadOnly = true;242 //243 // VAT244 //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_Miano254 //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_DRUKU261 //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;268 228 // 269 229 // rEKLAMADataGridView1 … … 734 694 this.KlientLabel.Location = new System.Drawing.Point(12, 9); 735 695 this.KlientLabel.Name = "KlientLabel"; 736 this.KlientLabel.Size = new System.Drawing.Size( 28, 16);696 this.KlientLabel.Size = new System.Drawing.Size(32, 16); 737 697 this.KlientLabel.TabIndex = 15; 738 698 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; 739 748 // 740 749 // ZamowieniaForm … … 820 829 private System.Windows.Forms.DataGridViewTextBoxColumn kodAgenta; 821 830 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;827 831 private System.Windows.Forms.DataGridViewTextBoxColumn Data1Emisji; 828 832 private System.Windows.Forms.DataGridViewTextBoxColumn ShortName1; … … 831 835 private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn44; 832 836 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; 833 843 } 834 844 } -
trunk/BazaReklam/ZamowieniaForm.resx
r889 r900 142 142 <value>True</value> 143 143 </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> 144 147 <metadata name="VAT.UserAddedColumn" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> 145 148 <value>True</value> … … 256 259 <value> 257 260 iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 258 YQUAAAAgY0hSTQAAeiYAAICEAAD6AAAAgOgAAHUwAADqYAAAOpgAABdwnLpRPAAAAAlwSFlzAAALD gAA259 Cw 4BQL7hQQAABNdJREFUSEudVn1UzmcYvl7pw5ydCCt2tjjYnJ3tJMIi5ishjRxNPmqS1FpWoxVLijYf261 YQUAAAAgY0hSTQAAeiYAAICEAAD6AAAAgOgAAHUwAADqYAAAOpgAABdwnLpRPAAAAAlwSFlzAAALDQAA 262 Cw0B7QfALAAABNdJREFUSEudVn1UzmcYvl7pw5ydCCt2tjjYnJ3tJMIi5ishjRxNPmqS1FpWoxVLijYf 260 263 0fqYxEvpjb5UlBKi1FpC9q6GUWdknB2H2TibbTZ5r92P993ZH6lDv3Ou8/w+nue67ue+7+e+fxp0cl3f 261 264 jl4DQ/BbsCPMRo3HXJk65jHRUlyHg2V6/CrPjwXsjKPDb3cKMbhxj/nD4xtRtCsIzVmhYNGnYNl6sDQO … … 478 481 <value> 479 482 iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 480 YQUAAAAgY0hSTQAAeiYAAICEAAD6AAAAgOgAAHUwAADqYAAAOpgAABdwnLpRPAAAAAlwSFlzAAALD gAA481 Cw 4BQL7hQQAABZRJREFUSEt1VglQlWUUPU8eIjsKqMBjUVACxRRTFMEFFFRcAHFJU4k0EVOHXBqpzK2a483 YQUAAAAgY0hSTQAAeiYAAICEAAD6AAAAgOgAAHUwAADqYAAAOpgAABdwnLpRPAAAAAlwSFlzAAALDQAA 484 Cw0B7QfALAAABZRJREFUSEt1VglQlWUUPU8eIjsKqMBjUVACxRRTFMEFFFRcAHFJU4k0EVOHXBqpzK2a 482 485 smyspiabtLKxGitzbMwts5xRR8kmKUU0y8ilaUEFx2cP/tP5HlBg+GbOvHn/u9+59zt3+z1wl88JIG0a 483 486 UPYjcKIacMmsoS3TA0D4FGD/aCCIwC+VgFN21t14cQ6YfBI4czopxqpK6clXgQ0y7i543nloDxDwGXDy … … 509 512 <value> 510 513 iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 511 YQUAAAAgY0hSTQAAeiYAAICEAAD6AAAAgOgAAHUwAADqYAAAOpgAABdwnLpRPAAAAAlwSFlzAAALD gAA512 Cw 4BQL7hQQAABjFJREFUSEuVlgtMk1cYhn8UmBoWndPp1GTG+wQ3FoM3NrfEjYjzBroM5hQdV5WoeKGA514 YQUAAAAgY0hSTQAAeiYAAICEAAD6AAAAgOgAAHUwAADqYAAAOpgAABdwnLpRPAAAAAlwSFlzAAALDQAA 515 Cw0B7QfALAAABjFJREFUSEuVlgtMk1cYhn8UmBoWndPp1GTG+wQ3FoM3NrfEjYjzBroM5hQdV5WoeKGA 513 516 OEAE5CLQIhVBbiogN+VSgZYCBUQQ6wUmKKCAMC4FSgu2BRV4d84/sqigyU7y5Pz9m77vd77vnO9Ui3ln 514 517 iMXiZQqFYtfEiRMX6+rqLtTW1p4/NDSk1mg0XWq1WtbX1yfr6enpIp9lAwMDMgCdKpWqQyqVNj958uQV -
trunk/RaportySQL/BAZA_REKLAM.rds
r539 r900 5 5 <ConnectionProperties> 6 6 <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> 8 8 </ConnectionProperties> 9 9 </RptDataSource> -
trunk/RaportySQL/OcenaAgenta.rdl
r749 r900 13 13 <Nullable>true</Nullable> 14 14 <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> 15 21 <Hidden>true</Hidden> 16 22 </ReportParameter> … … 101 107 <DataType>String</DataType> 102 108 <Nullable>true</Nullable> 109 <DefaultValue> 110 <DataSetReference> 111 <DataSetName>ListaAgentow</DataSetName> 112 <ValueField>Symbol</ValueField> 113 </DataSetReference> 114 </DefaultValue> 103 115 <Prompt>agent</Prompt> 104 116 <ValidValues> 105 117 <DataSetReference> 106 118 <DataSetName>ListaAgentow</DataSetName> 107 <ValueField> ID_AGENTA</ValueField>119 <ValueField>Symbol</ValueField> 108 120 <LabelField>Symbol</LabelField> 109 121 </DataSetReference> … … 224 236 INNER JOIN AGENCI ON AGENCJE.Id_agencji = AGENCI.ID_AGENCJI 225 237 INNER 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>238 WHERE ([PLAN].ROK = @rok) AND (AGENCJE.Id_agencji = @agencja) AND (@agent = 'Wszyscy' OR AGENCI.SYMBOL = @agent)</CommandText> 227 239 <QueryParameters> 228 240 <QueryParameter Name="@rok"> … … 292 304 <Query> 293 305 <DataSourceName>BAZA_REKLAM</DataSourceName> 294 <CommandText>SELECT A.ID_AGENTA, A.Symbol, A2.Symbol agencja295 FROM AGENCI A left join Agencje A2296 on A.ID_AGENCJI = A2.ID_Agencji297 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 307 FROM 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) 298 310 union 299 311 select NULL,'Wszyscy','costam' 300 order by A.Symbol</CommandText> 312 where @prawa_agent is null 313 order by A.Symbol;</CommandText> 301 314 <QueryParameters> 302 315 <QueryParameter Name="@agencja"> 303 316 <Value>=Parameters!agencja.Value</Value> 317 </QueryParameter> 318 <QueryParameter Name="@prawa_agent"> 319 <Value>=Parameters!prawa_agent.Value</Value> 304 320 </QueryParameter> 305 321 </QueryParameters> -
trunk/RaportySQL/RaportySQL.rptproj
r761 r900 1 1 <?xml version="1.0" encoding="utf-8"?> 2 2 <Project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> 3 <State>$base64$PFNvdXJjZUNvbnRyb2xJbmZvIHhtbG5zOnhzZD0iaHR0cDovL3d3dy53My5vcmcvMjAwMS9YTUxTY2hlbWEiIHhtbG5zOnhzaT0iaHR0cDovL3d3dy53My5vcmcvMjAwMS9YTUxTY2hlbWEtaW5zdGFuY2UiIHhtbG5zOmR 3ZD0iaHR0cDovL3NjaGVtYXMubWljcm9zb2Z0LmNvbS9EYXRhV2FyZWhvdXNlL0Rlc2lnbmVyLzEuMCI+DQogIDxFbmFibGVkPmZhbHNlPC9FbmFibGVkPg0KICA8UHJvamVjdE5hbWU+PC9Qcm9qZWN0TmFtZT4NCiAgPEF1eFBhdGg+PC9BdXhQYXRoPg0KICA8TG9jYWxQYXRoPjwvTG9jYWxQYXRoPg0KICA8UHJvdmlkZXI+PC9Qcm92aWRlcj4NCjwvU291cmNlQ29udHJvbEluZm8+</State>3 <State>$base64$PFNvdXJjZUNvbnRyb2xJbmZvIHhtbG5zOnhzZD0iaHR0cDovL3d3dy53My5vcmcvMjAwMS9YTUxTY2hlbWEiIHhtbG5zOnhzaT0iaHR0cDovL3d3dy53My5vcmcvMjAwMS9YTUxTY2hlbWEtaW5zdGFuY2UiIHhtbG5zOmRkbDI9Imh0dHA6Ly9zY2hlbWFzLm1pY3Jvc29mdC5jb20vYW5hbHlzaXNzZXJ2aWNlcy8yMDAzL2VuZ2luZS8yIiB4bWxuczpkZGwyXzI9Imh0dHA6Ly9zY2hlbWFzLm1pY3Jvc29mdC5jb20vYW5hbHlzaXNzZXJ2aWNlcy8yMDAzL2VuZ2luZS8yLzIiIHhtbG5zOmR3ZD0iaHR0cDovL3NjaGVtYXMubWljcm9zb2Z0LmNvbS9EYXRhV2FyZWhvdXNlL0Rlc2lnbmVyLzEuMCI+DQogIDxFbmFibGVkPmZhbHNlPC9FbmFibGVkPg0KICA8UHJvamVjdE5hbWU+PC9Qcm9qZWN0TmFtZT4NCiAgPEF1eFBhdGg+PC9BdXhQYXRoPg0KICA8TG9jYWxQYXRoPjwvTG9jYWxQYXRoPg0KICA8UHJvdmlkZXI+PC9Qcm92aWRlcj4NCjwvU291cmNlQ29udHJvbEluZm8+</State> 4 4 <DataSources> 5 5 <ProjectItem> -
trunk/RaportySQL/RozliczenieWplywowWgDatyWplaty2009.rdl
r749 r900 326 326 <Query> 327 327 <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, Tytul330 FROM WplywyByTytul331 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 330 FROM WplywyByTytul 331 WHERE (YEAR(dataWplaty) = @rok) AND (MONTH(dataWplaty) = @miesiac) AND (Tytul IN (@tytul)) AND (SystemKsiegowyId IN (@systemKsiegowy)) 332 332 GROUP 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, Tytul333 TERMIN_ZAPLATY, SPOSOB_ZAPLATY, Agencja, dataWplaty, roznica_nowa, suma_zaplat, zaplata_data, roznica_stara, procentProwizji, Tytul 334 334 ORDER BY Symbol, NumerFaktury</CommandText> 335 335 <QueryParameters> -
trunk/RaportySQL/SprzedazReklam2009.rdl
r582 r900 13 13 <Nullable>true</Nullable> 14 14 <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> 15 21 <Hidden>true</Hidden> 16 22 </ReportParameter> … … 216 222 AND (AGENCJE.Id_agencji<>4 OR Korekta.NUMER_ROZ ='KAT') AND (AGENCJE.Id_agencji <>6 OR Korekta.NUMER_ROZ ='POZ') 217 223 AND Korekta.SystemKsiegowyId IN (@systemKsiegowy) 224 AND (@agent IS NULL OR AGENCI.SYMBOL=@agent) 218 225 GROUP BY AGENCJE.Symbol, AGENCI.Nazwisko + ' ' + AGENCI.ImiÄ, Korekta.ID_FAKTURY, Korekta.DATA_SPRZEDAZY, 219 226 YEAR(Korekta.DATA_SPRZEDAZY), Korekta.NUMER_ROZ, … … 254 261 WHERE 255 262 YEAR(FAKTURY.DATA_SPRZEDAZY)=@rok AND MONTH(FAKTURY.DATA_SPRZEDAZY)=@miesiac 256 257 263 AND (AGENCJE.Id_agencji<>4 OR FAKTURY.NUMER_ROZ ='KAT') AND (AGENCJE.Id_agencji <>6 OR FAKTURY.NUMER_ROZ ='POZ') 258 264 AND FAKTURY.KOREKTA=0 AND FAKTURY.SystemKsiegowyId IN (@systemKsiegowy) 265 AND (@agent IS NULL OR AGENCI.SYMBOL=@agent) 259 266 GROUP BY AGENCJE.Symbol, AGENCI.Nazwisko + ' ' + AGENCI.ImiÄ, FAKTURY.ID_FAKTURY, FAKTURY.DATA_SPRZEDAZY, 260 267 YEAR(FAKTURY.DATA_SPRZEDAZY), FAKTURY.NUMER_ROZ, FAKTURY.suma_zaplat, FAKTURY.Korekta … … 282 289 <QueryParameter Name="@systemKsiegowy"> 283 290 <Value>=Parameters!systemKsiegowy.Value</Value> 291 </QueryParameter> 292 <QueryParameter Name="@agent"> 293 <Value>=Parameters!prawa_agent.Value</Value> 284 294 </QueryParameter> 285 295 </QueryParameters> -
trunk/RaportySQL/TESTOWA.rds
r389 r900 6 6 <Extension>SQL</Extension> 7 7 <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>9 8 </ConnectionProperties> 10 9 </RptDataSource>
