Zbiór zmian 631
- Data:
- 2009-05-04 17:38:20 (17 years ago)
- Lokalizacja:
- trunk
- Pliki:
-
- 3 zmodyfikowane
- 3 przeniesione
-
BazaReklam/Baza Reklam.csproj (zmodyfikowane) (2 diffs)
-
BazaReklam/FacturesFormNew1.Designer.cs (przeniesione) (przeniesione from trunk/BazaReklam/FacturesFormNEW.Designer.cs) (26 diffs)
-
BazaReklam/FacturesFormNew1.cs (przeniesione) (przeniesione from trunk/BazaReklam/FacturesFormNEW.cs) (20 diffs)
-
BazaReklam/FacturesFormNew1.resx (przeniesione) (przeniesione from trunk/BazaReklam/FacturesFormNEW.resx) (5 diffs)
-
BazaReklam/MDIBazaReklam.cs (zmodyfikowane) (1 diff)
-
SQL/Views/VIEW_ZESTAWIENIE_FAKTUR_NOWE.txt (zmodyfikowane) (3 diffs)
Legenda:
- Bez zmian
- Dodane
- Usunięte
-
trunk/BazaReklam/Baza Reklam.csproj
r626 r631 197 197 <DependentUpon>PaymentForm2.cs</DependentUpon> 198 198 </Compile> 199 <Compile Include="FacturesFormN EW.cs">200 <SubType>Form</SubType> 201 </Compile> 202 <Compile Include="FacturesFormN EW.Designer.cs">203 <DependentUpon>FacturesFormN EW.cs</DependentUpon>199 <Compile Include="FacturesFormNew1.cs"> 200 <SubType>Form</SubType> 201 </Compile> 202 <Compile Include="FacturesFormNew1.Designer.cs"> 203 <DependentUpon>FacturesFormNew1.cs</DependentUpon> 204 204 </Compile> 205 205 <Compile Include="ZestawienieZamowienForm.cs"> … … 593 593 <SubType>Designer</SubType> 594 594 </EmbeddedResource> 595 <EmbeddedResource Include="FacturesFormN EW.resx">596 <DependentUpon>FacturesFormN EW.cs</DependentUpon>595 <EmbeddedResource Include="FacturesFormNew1.resx"> 596 <DependentUpon>FacturesFormNew1.cs</DependentUpon> 597 597 <SubType>Designer</SubType> 598 598 </EmbeddedResource> -
trunk/BazaReklam/FacturesFormNew1.Designer.cs
r629 r631 1 1 namespace Baza_Reklam 2 2 { 3 partial class FacturesFormN EW3 partial class FacturesFormNew 4 4 { 5 5 /// <summary> … … 30 30 { 31 31 this.components = new System.ComponentModel.Container(); 32 System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FacturesFormN EW));33 System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle 81 = new System.Windows.Forms.DataGridViewCellStyle();34 System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle 82 = new System.Windows.Forms.DataGridViewCellStyle();35 System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle 83 = new System.Windows.Forms.DataGridViewCellStyle();36 System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle 84 = new System.Windows.Forms.DataGridViewCellStyle();37 System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle 85 = new System.Windows.Forms.DataGridViewCellStyle();38 System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle 86 = new System.Windows.Forms.DataGridViewCellStyle();39 System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle 87 = new System.Windows.Forms.DataGridViewCellStyle();40 System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle8 8= new System.Windows.Forms.DataGridViewCellStyle();41 System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle 89 = new System.Windows.Forms.DataGridViewCellStyle();42 System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle 90 = new System.Windows.Forms.DataGridViewCellStyle();43 System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle 91 = new System.Windows.Forms.DataGridViewCellStyle();44 System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle 92 = new System.Windows.Forms.DataGridViewCellStyle();45 System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle 93 = new System.Windows.Forms.DataGridViewCellStyle();46 System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle 94 = new System.Windows.Forms.DataGridViewCellStyle();47 System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle 95 = new System.Windows.Forms.DataGridViewCellStyle();48 System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle 96 = new System.Windows.Forms.DataGridViewCellStyle();32 System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FacturesFormNew)); 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 System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle13 = new System.Windows.Forms.DataGridViewCellStyle(); 46 System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle14 = new System.Windows.Forms.DataGridViewCellStyle(); 47 System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle15 = new System.Windows.Forms.DataGridViewCellStyle(); 48 System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle16 = new System.Windows.Forms.DataGridViewCellStyle(); 49 49 this.bindingNavigator1 = new System.Windows.Forms.BindingNavigator(this.components); 50 50 this.VIEW_ZESTAWIENIE_FAKTUR_NOWEBindingSource = new System.Windows.Forms.BindingSource(this.components); … … 70 70 this.toolStripSeparator2 = new System.Windows.Forms.ToolStripSeparator(); 71 71 this.PoznanKatowicetoolStripButton = new System.Windows.Forms.ToolStripButton(); 72 this.toolStripSeparator3 = new System.Windows.Forms.ToolStripSeparator(); 72 73 this.wyszukajToolStrip = new System.Windows.Forms.ToolStrip(); 73 74 this.toolStripLabel1 = new System.Windows.Forms.ToolStripLabel(); … … 81 82 this.toolStripLabel4 = new System.Windows.Forms.ToolStripLabel(); 82 83 this.agencjaToolStripComboBox = new System.Windows.Forms.ToolStripComboBox(); 84 this.toolStripLabel7 = new System.Windows.Forms.ToolStripLabel(); 85 this.cbWydawca = new System.Windows.Forms.ToolStripComboBox(); 83 86 this.toolStripLabel6 = new System.Windows.Forms.ToolStripLabel(); 84 87 this.cbSposobZaplaty = new System.Windows.Forms.ToolStripComboBox(); … … 111 114 this.agencjaDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); 112 115 this.SposobZaplaty = new System.Windows.Forms.DataGridViewTextBoxColumn(); 113 this.toolStripLabel7 = new System.Windows.Forms.ToolStripLabel();114 this.cbWydawca = new System.Windows.Forms.ToolStripComboBox();115 116 ((System.ComponentModel.ISupportInitialize)(this.bindingNavigator1)).BeginInit(); 116 117 this.bindingNavigator1.SuspendLayout(); … … 149 150 this.odswiezToolStripButton, 150 151 this.toolStripSeparator2, 151 this.PoznanKatowicetoolStripButton}); 152 this.PoznanKatowicetoolStripButton, 153 this.toolStripSeparator3}); 152 154 this.bindingNavigator1.Location = new System.Drawing.Point(0, 0); 153 155 this.bindingNavigator1.MoveFirstItem = this.bindingNavigatorMoveFirstItem; … … 338 340 this.PoznanKatowicetoolStripButton.Text = "Poznañ - Katowice"; 339 341 this.PoznanKatowicetoolStripButton.Click += new System.EventHandler(this.PoznanKatowicetoolStripButton_Click); 342 // 343 // toolStripSeparator3 344 // 345 this.toolStripSeparator3.Name = "toolStripSeparator3"; 346 this.toolStripSeparator3.Size = new System.Drawing.Size(6, 31); 340 347 // 341 348 // wyszukajToolStrip … … 426 433 this.agencjaToolStripComboBox.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.kryteriumWyszukiwania_KeyPress); 427 434 // 435 // toolStripLabel7 436 // 437 this.toolStripLabel7.Name = "toolStripLabel7"; 438 this.toolStripLabel7.Size = new System.Drawing.Size(58, 22); 439 this.toolStripLabel7.Text = "Wydawca:"; 440 // 441 // cbWydawca 442 // 443 this.cbWydawca.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; 444 this.cbWydawca.Items.AddRange(new object[] { 445 "", 446 "AACT", 447 "Sam Press"}); 448 this.cbWydawca.Name = "cbWydawca"; 449 this.cbWydawca.Size = new System.Drawing.Size(75, 25); 450 // 428 451 // toolStripLabel6 429 452 // … … 528 551 this.fakturyDataGridView.AllowUserToAddRows = false; 529 552 this.fakturyDataGridView.AllowUserToDeleteRows = false; 530 dataGridViewCellStyle 81.BackColor = System.Drawing.Color.MintCream;531 this.fakturyDataGridView.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle 81;553 dataGridViewCellStyle1.BackColor = System.Drawing.Color.MintCream; 554 this.fakturyDataGridView.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle1; 532 555 this.fakturyDataGridView.AutoGenerateColumns = false; 533 556 this.fakturyDataGridView.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.DisplayedCells; 534 557 this.fakturyDataGridView.BackgroundColor = System.Drawing.Color.White; 535 558 this.fakturyDataGridView.CausesValidation = false; 536 dataGridViewCellStyle 82.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;537 dataGridViewCellStyle 82.BackColor = System.Drawing.SystemColors.Control;538 dataGridViewCellStyle 82.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238)));539 dataGridViewCellStyle 82.ForeColor = System.Drawing.SystemColors.WindowText;540 dataGridViewCellStyle 82.SelectionBackColor = System.Drawing.SystemColors.Highlight;541 dataGridViewCellStyle 82.SelectionForeColor = System.Drawing.SystemColors.HighlightText;542 dataGridViewCellStyle 82.WrapMode = System.Windows.Forms.DataGridViewTriState.True;543 this.fakturyDataGridView.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle 82;559 dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; 560 dataGridViewCellStyle2.BackColor = System.Drawing.SystemColors.Control; 561 dataGridViewCellStyle2.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238))); 562 dataGridViewCellStyle2.ForeColor = System.Drawing.SystemColors.WindowText; 563 dataGridViewCellStyle2.SelectionBackColor = System.Drawing.SystemColors.Highlight; 564 dataGridViewCellStyle2.SelectionForeColor = System.Drawing.SystemColors.HighlightText; 565 dataGridViewCellStyle2.WrapMode = System.Windows.Forms.DataGridViewTriState.True; 566 this.fakturyDataGridView.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle2; 544 567 this.fakturyDataGridView.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; 545 568 this.fakturyDataGridView.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { … … 589 612 this.TERMIN_ZAPLATY.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.None; 590 613 this.TERMIN_ZAPLATY.DataPropertyName = "TERMIN_ZAPLATY"; 591 dataGridViewCellStyle 83.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;592 this.TERMIN_ZAPLATY.DefaultCellStyle = dataGridViewCellStyle 83;614 dataGridViewCellStyle3.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; 615 this.TERMIN_ZAPLATY.DefaultCellStyle = dataGridViewCellStyle3; 593 616 this.TERMIN_ZAPLATY.HeaderText = "Termin p³at."; 594 617 this.TERMIN_ZAPLATY.Name = "TERMIN_ZAPLATY"; … … 599 622 // 600 623 this.dataWplaty.DataPropertyName = "dataWplaty"; 601 dataGridViewCellStyle 84.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;602 this.dataWplaty.DefaultCellStyle = dataGridViewCellStyle 84;624 dataGridViewCellStyle4.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; 625 this.dataWplaty.DefaultCellStyle = dataGridViewCellStyle4; 603 626 this.dataWplaty.HeaderText = "Data wp³aty"; 604 627 this.dataWplaty.Name = "dataWplaty"; … … 610 633 this.NUMER.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.None; 611 634 this.NUMER.DataPropertyName = "NUMER"; 612 dataGridViewCellStyle 85.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;613 this.NUMER.DefaultCellStyle = dataGridViewCellStyle 85;635 dataGridViewCellStyle5.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; 636 this.NUMER.DefaultCellStyle = dataGridViewCellStyle5; 614 637 this.NUMER.HeaderText = "Nr"; 615 638 this.NUMER.Name = "NUMER"; … … 621 644 this.nRFKDataGridViewTextBoxColumn.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.None; 622 645 this.nRFKDataGridViewTextBoxColumn.DataPropertyName = "NR_FK"; 623 dataGridViewCellStyle 86.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;624 this.nRFKDataGridViewTextBoxColumn.DefaultCellStyle = dataGridViewCellStyle 86;646 dataGridViewCellStyle6.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight; 647 this.nRFKDataGridViewTextBoxColumn.DefaultCellStyle = dataGridViewCellStyle6; 625 648 this.nRFKDataGridViewTextBoxColumn.HeaderText = "Nr fakt."; 626 649 this.nRFKDataGridViewTextBoxColumn.Name = "nRFKDataGridViewTextBoxColumn"; … … 631 654 // 632 655 this.sumaNettoZEmisji.DataPropertyName = "sumaNettoZEmisji"; 633 dataGridViewCellStyle 87.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;634 dataGridViewCellStyle 87.Format = "C2";635 dataGridViewCellStyle 87.NullValue = null;636 this.sumaNettoZEmisji.DefaultCellStyle = dataGridViewCellStyle 87;656 dataGridViewCellStyle7.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight; 657 dataGridViewCellStyle7.Format = "C2"; 658 dataGridViewCellStyle7.NullValue = null; 659 this.sumaNettoZEmisji.DefaultCellStyle = dataGridViewCellStyle7; 637 660 this.sumaNettoZEmisji.HeaderText = "Wartoæ emisji w zamówieniu"; 638 661 this.sumaNettoZEmisji.Name = "sumaNettoZEmisji"; … … 643 666 // 644 667 this.nETTODataGridViewTextBoxColumn.DataPropertyName = "NETTO"; 645 dataGridViewCellStyle8 8.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;646 dataGridViewCellStyle8 8.Format = "C2";647 this.nETTODataGridViewTextBoxColumn.DefaultCellStyle = dataGridViewCellStyle8 8;668 dataGridViewCellStyle8.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight; 669 dataGridViewCellStyle8.Format = "C2"; 670 this.nETTODataGridViewTextBoxColumn.DefaultCellStyle = dataGridViewCellStyle8; 648 671 this.nETTODataGridViewTextBoxColumn.HeaderText = "Netto"; 649 672 this.nETTODataGridViewTextBoxColumn.Name = "nETTODataGridViewTextBoxColumn"; … … 655 678 this.sVATDataGridViewTextBoxColumn.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.None; 656 679 this.sVATDataGridViewTextBoxColumn.DataPropertyName = "S_VAT"; 657 dataGridViewCellStyle 89.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;658 dataGridViewCellStyle 89.Format = "P";659 this.sVATDataGridViewTextBoxColumn.DefaultCellStyle = dataGridViewCellStyle 89;680 dataGridViewCellStyle9.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; 681 dataGridViewCellStyle9.Format = "P"; 682 this.sVATDataGridViewTextBoxColumn.DefaultCellStyle = dataGridViewCellStyle9; 660 683 this.sVATDataGridViewTextBoxColumn.HeaderText = "%VAT"; 661 684 this.sVATDataGridViewTextBoxColumn.Name = "sVATDataGridViewTextBoxColumn"; … … 666 689 // 667 690 this.vATDataGridViewTextBoxColumn.DataPropertyName = "VAT"; 668 dataGridViewCellStyle 90.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;669 dataGridViewCellStyle 90.Format = "C2";670 dataGridViewCellStyle 90.NullValue = null;671 this.vATDataGridViewTextBoxColumn.DefaultCellStyle = dataGridViewCellStyle 90;691 dataGridViewCellStyle10.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight; 692 dataGridViewCellStyle10.Format = "C2"; 693 dataGridViewCellStyle10.NullValue = null; 694 this.vATDataGridViewTextBoxColumn.DefaultCellStyle = dataGridViewCellStyle10; 672 695 this.vATDataGridViewTextBoxColumn.HeaderText = "VAT"; 673 696 this.vATDataGridViewTextBoxColumn.Name = "vATDataGridViewTextBoxColumn"; … … 678 701 // 679 702 this.BRUTTO.DataPropertyName = "BRUTTO"; 680 dataGridViewCellStyle 91.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;681 dataGridViewCellStyle 91.Format = "C";682 this.BRUTTO.DefaultCellStyle = dataGridViewCellStyle 91;703 dataGridViewCellStyle11.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight; 704 dataGridViewCellStyle11.Format = "C"; 705 this.BRUTTO.DefaultCellStyle = dataGridViewCellStyle11; 683 706 this.BRUTTO.HeaderText = "Brutto"; 684 707 this.BRUTTO.Name = "BRUTTO"; … … 689 712 // 690 713 this.wplata_brutto.DataPropertyName = "wplata_brutto"; 691 dataGridViewCellStyle 92.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;692 dataGridViewCellStyle 92.Format = "c";693 this.wplata_brutto.DefaultCellStyle = dataGridViewCellStyle 92;714 dataGridViewCellStyle12.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight; 715 dataGridViewCellStyle12.Format = "c"; 716 this.wplata_brutto.DefaultCellStyle = dataGridViewCellStyle12; 694 717 this.wplata_brutto.HeaderText = "Wp³ata PLN"; 695 718 this.wplata_brutto.Name = "wplata_brutto"; … … 701 724 this.waluta_miano.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.None; 702 725 this.waluta_miano.DataPropertyName = "waluta_miano"; 703 dataGridViewCellStyle 93.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;704 dataGridViewCellStyle 93.NullValue = "PLN";705 this.waluta_miano.DefaultCellStyle = dataGridViewCellStyle 93;726 dataGridViewCellStyle13.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; 727 dataGridViewCellStyle13.NullValue = "PLN"; 728 this.waluta_miano.DefaultCellStyle = dataGridViewCellStyle13; 706 729 this.waluta_miano.HeaderText = "W"; 707 730 this.waluta_miano.Name = "waluta_miano"; … … 712 735 // 713 736 this.waluta_brutto.DataPropertyName = "waluta_brutto"; 714 dataGridViewCellStyle 94.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;715 dataGridViewCellStyle 94.Format = "N2";716 dataGridViewCellStyle 94.NullValue = null;717 this.waluta_brutto.DefaultCellStyle = dataGridViewCellStyle 94;737 dataGridViewCellStyle14.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight; 738 dataGridViewCellStyle14.Format = "N2"; 739 dataGridViewCellStyle14.NullValue = null; 740 this.waluta_brutto.DefaultCellStyle = dataGridViewCellStyle14; 718 741 this.waluta_brutto.HeaderText = "Waluta brutto"; 719 742 this.waluta_brutto.Name = "waluta_brutto"; … … 724 747 // 725 748 this.wplata_waluta_brutto.DataPropertyName = "wplata_waluta_brutto"; 726 dataGridViewCellStyle 95.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;727 dataGridViewCellStyle 95.Format = "N";728 this.wplata_waluta_brutto.DefaultCellStyle = dataGridViewCellStyle 95;749 dataGridViewCellStyle15.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight; 750 dataGridViewCellStyle15.Format = "N"; 751 this.wplata_waluta_brutto.DefaultCellStyle = dataGridViewCellStyle15; 729 752 this.wplata_waluta_brutto.HeaderText = "Wp³ata wal."; 730 753 this.wplata_waluta_brutto.Name = "wplata_waluta_brutto"; … … 736 759 this.dATASPRZEDAZYDataGridViewTextBoxColumn.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.None; 737 760 this.dATASPRZEDAZYDataGridViewTextBoxColumn.DataPropertyName = "DATA_SPRZEDAZY"; 738 dataGridViewCellStyle 96.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;739 this.dATASPRZEDAZYDataGridViewTextBoxColumn.DefaultCellStyle = dataGridViewCellStyle 96;761 dataGridViewCellStyle16.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; 762 this.dATASPRZEDAZYDataGridViewTextBoxColumn.DefaultCellStyle = dataGridViewCellStyle16; 740 763 this.dATASPRZEDAZYDataGridViewTextBoxColumn.HeaderText = "Data sprzed."; 741 764 this.dATASPRZEDAZYDataGridViewTextBoxColumn.Name = "dATASPRZEDAZYDataGridViewTextBoxColumn"; … … 767 790 this.SposobZaplaty.Width = 97; 768 791 // 769 // toolStripLabel7 770 // 771 this.toolStripLabel7.Name = "toolStripLabel7"; 772 this.toolStripLabel7.Size = new System.Drawing.Size(58, 22); 773 this.toolStripLabel7.Text = "Wydawca:"; 774 // 775 // cbWydawca 776 // 777 this.cbWydawca.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; 778 this.cbWydawca.Items.AddRange(new object[] { 779 "", 780 "AACT", 781 "Sam Press"}); 782 this.cbWydawca.Name = "cbWydawca"; 783 this.cbWydawca.Size = new System.Drawing.Size(75, 25); 784 // 785 // FacturesFormNEW 792 // FacturesFormNew 786 793 // 787 794 this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); … … 793 800 this.Controls.Add(this.wyszukajToolStrip); 794 801 this.Controls.Add(this.bindingNavigator1); 795 this.Name = "FacturesFormN EW";802 this.Name = "FacturesFormNew"; 796 803 this.Text = "Faktury"; 797 804 this.WindowState = System.Windows.Forms.FormWindowState.Maximized; … … 881 888 private System.Windows.Forms.ToolStripLabel toolStripLabel7; 882 889 private System.Windows.Forms.ToolStripComboBox cbWydawca; 890 private System.Windows.Forms.ToolStripSeparator toolStripSeparator3; 883 891 884 892 } -
trunk/BazaReklam/FacturesFormNew1.cs
r629 r631 10 10 namespace Baza_Reklam 11 11 { 12 public partial class FacturesFormN EW: Form, IForm12 public partial class FacturesFormNew : Form, IForm 13 13 { 14 private const string query = "SELECT top 2000 * fromVIEW_ZESTAWIENIE_FAKTUR_NOWE ";15 16 private static FacturesFormN EWfakturesForm;14 private const string QUERY = "SELECT TOP 2000 * FROM VIEW_ZESTAWIENIE_FAKTUR_NOWE "; 15 16 private static FacturesFormNew fakturesForm; 17 17 private readonly SqlCommand command; 18 18 private readonly SqlDataAdapter sqlDataAdapter; … … 20 20 private bool commandExecuted; 21 21 22 public static FacturesFormNEW getFacturesForm(MDIBazaReklam parent) 23 { 24 if (fakturesForm == null){ 25 fakturesForm = new FacturesFormNEW(parent); 22 public static FacturesFormNew GetFacturesForm(MDIBazaReklam parent) 23 { 24 if (fakturesForm == null) 25 { 26 fakturesForm = new FacturesFormNew(parent); 26 27 } 27 28 return fakturesForm; 28 29 } 29 30 30 private FacturesFormN EW(Form parent)31 private FacturesFormNew(Form parent) 31 32 { 32 33 InitializeComponent(); … … 37 38 VIEW_ZESTAWIENIE_FAKTUR_NOWETableAdapter.Connection.ConnectionString = ConnString.getConnString().Value; 38 39 reklamaTableAdapter.Connection.ConnectionString = ConnString.getConnString().Value; 39 40 40 41 //obiekty wykorzytywane przy wyszukiwaniu 41 42 SqlConnection conn = new SqlConnection(ConnString.getConnString().Value); 42 43 43 44 command = new SqlCommand(); 44 45 command.CommandType = CommandType.Text; 45 46 command.Connection = conn; 46 47 47 48 sqlDataAdapter = new SqlDataAdapter(); 48 49 … … 56 57 ((CheckBox)((ToolStripControlHost)wyszukajToolStrip.Items["zalegleCheckBox"]).Control).CheckState = CheckState.Indeterminate; 57 58 58 PoznanKatowicetoolStripButton.Enabled = User.Instance().St_produkcja ;59 PoznanKatowicetoolStripButton.Enabled = User.Instance().St_produkcja && User.Instance().St_kierownik; 59 60 } 60 61 … … 64 65 65 66 DBBindings.bindujAgencje(agencjaToolStripComboBox); 66 67 command.CommandText = query;67 68 command.CommandText = QUERY; 68 69 sqlDataAdapter.SelectCommand = command; 69 70 } 70 71 71 72 private void wyszukajToolStripButton_Click(object sender, EventArgs e) 72 73 { … … 76 77 private void szukajToolStripButton_Click(object sender, EventArgs e) 77 78 { 78 command.CommandText = query;79 command.CommandText = QUERY; 79 80 80 81 rEKLAMADataSet.VIEW_ZESTAWIENIE_FAKTUR_NOWE.Clear(); … … 97 98 } 98 99 99 if ( kodRozliczeniowyToolStripTextBox.Text.Trim() != "")100 { 101 command.CommandText += " AND N R_FK like '%' + @kod + '%'";100 if (!string.IsNullOrEmpty(kodRozliczeniowyToolStripTextBox.Text.Trim())) 101 { 102 command.CommandText += " AND Numer_Roz = @kod "; 102 103 command.Parameters.AddWithValue("@kod", kodRozliczeniowyToolStripTextBox.Text.Trim()); 104 } 105 else 106 { 107 command.CommandText += " AND Numer_Roz <> 'KAT' AND Numer_Roz <> 'POZ' "; 103 108 } 104 109 … … 129 134 } 130 135 131 if ( agencjaToolStripComboBox.Text.Trim() != "")136 if (!string.IsNullOrEmpty(agencjaToolStripComboBox.Text.Trim())) 132 137 { 133 138 command.CommandText += " AND Agencja=@agencja"; … … 141 146 command.Parameters.AddWithValue("@systemKsiegowy", systemKsiegowy); 142 147 } 143 148 144 149 if (((CheckBox)((ToolStripControlHost)wyszukajToolStrip.Items["zalegleCheckBox"]).Control).CheckState == CheckState.Checked) 145 150 { … … 158 163 command.Parameters.AddWithValue("@sposobZaplaty", cbSposobZaplaty.Text.Trim()); 159 164 } 160 165 161 166 sqlDataAdapter.SelectCommand = command; 162 167 … … 173 178 } 174 179 175 180 176 181 } 177 182 … … 184 189 /// Podsumowuje brutto i zaplate z wyswietlonych faktur 185 190 /// </summary> 186 private void podsumuj() { 191 private void podsumuj() 192 { 187 193 188 194 if (VIEW_ZESTAWIENIE_FAKTUR_NOWEBindingSource.List.Count != 0) 189 195 { 190 decimal brutto = Convert.ToDecimal(rEKLAMADataSet.VIEW_ZESTAWIENIE_FAKTUR_NOWE.Compute("Sum(BRUTTO)",""));191 decimal netto = Convert.ToDecimal(rEKLAMADataSet.VIEW_ZESTAWIENIE_FAKTUR_NOWE.Compute("Sum(netto)", ""));192 193 bruttoTextBox.Text = String.Format("{0:C}", brutto);194 nettoTextBox.Text = String.Format("{0:C}", netto);196 decimal brutto = Convert.ToDecimal(rEKLAMADataSet.VIEW_ZESTAWIENIE_FAKTUR_NOWE.Compute("Sum(BRUTTO)", "")); 197 decimal netto = Convert.ToDecimal(rEKLAMADataSet.VIEW_ZESTAWIENIE_FAKTUR_NOWE.Compute("Sum(netto)", "")); 198 199 bruttoTextBox.Text = String.Format("{0:C}", brutto); 200 nettoTextBox.Text = String.Format("{0:C}", netto); 195 201 } 196 202 else 197 203 { 198 bruttoTextBox.Clear();199 nettoTextBox.Clear();204 bruttoTextBox.Clear(); 205 nettoTextBox.Clear(); 200 206 } 201 207 } 202 208 203 209 private void zestawienieFakturBindingSource_ListChanged(object sender, ListChangedEventArgs e) 204 { 205 podsumuj();210 { 211 podsumuj(); 206 212 } 207 213 208 214 private void toolStripButton1_Click(object sender, EventArgs e) 209 215 { 210 PrintDGV.Print_DataGridView(fakturyDataGridView, 50);216 PrintDGV.Print_DataGridView(fakturyDataGridView, 50); 211 217 } 212 218 … … 236 242 237 243 Cursor = Cursors.WaitCursor; 238 FactureViewer fv = new FactureViewer(faktura.ID_FAKTURY, false);244 FactureViewer fv = new FactureViewer(faktura.ID_FAKTURY, false); 239 245 fv.ShowDialog(); 240 246 241 247 Cursor = Cursors.Default; 242 248 } … … 251 257 { 252 258 DataRowView row = (DataRowView)VIEW_ZESTAWIENIE_FAKTUR_NOWEBindingSource.Current; 253 259 254 260 int custID = Convert.ToInt32(row["ID_NABYWCY"]); 255 261 ClientsForm.getClientsForm((MDIBazaReklam)MdiParent).pokazKlienta(custID); … … 258 264 259 265 ClientsForm.getClientsForm((MDIBazaReklam)MdiParent).Show(); 260 } 266 } 261 267 } 262 268 … … 306 312 } 307 313 308 //private static bool IsSumaEmisjiMniejszaOdFakturyNetto(REKLAMADataSet.VIEW_ZESTAWIENIE_FAKTUR_NOWERow faktura)309 //{310 // if (faktura.IssumaNettoZEmisjiNull()) return false;311 312 // if (IsFakturaWWalucie(faktura) && !faktura.Iswaluta_kursNull())313 // return Math.Round(faktura.sumaNettoZEmisji / faktura.waluta_kurs, 0) < (decimal)Math.Round(faktura.waluta_brutto, 0);314 315 // return Math.Round(faktura.sumaNettoZEmisji, 0) < Math.Round(faktura.NETTO, 0);316 //}317 318 //private static bool IsFakturaWWalucie(REKLAMADataSet.VIEW_ZESTAWIENIE_FAKTUR_NOWERow faktura)319 //{320 // if (faktura.Iswaluta_mianoNull()) return false;321 // if (string.IsNullOrEmpty(faktura.waluta_miano)) return false;322 // if (faktura.waluta_miano.ToUpper() == "PLN") return false;323 324 // return true;325 //}326 327 314 private void wplata2toolStripButton_Click(object sender, EventArgs e) 328 315 { … … 332 319 REKLAMADataSet.VIEW_ZESTAWIENIE_FAKTUR_NOWERow f = (REKLAMADataSet.VIEW_ZESTAWIENIE_FAKTUR_NOWERow)row.Row; 333 320 334 PaymentForm2 pf2 = f.IsidWplatyNull() ? new PaymentForm2(0, f.ID_FAKTURY) : new PaymentForm2(f.idWplaty, f.ID_FAKTURY);321 PaymentForm2 pf2 = f.IsidWplatyNull() ? new PaymentForm2(0, f.ID_FAKTURY) : new PaymentForm2(f.idWplaty, f.ID_FAKTURY); 335 322 336 323 if (pf2.ShowDialog() == DialogResult.OK) … … 341 328 } 342 329 } 343 344 330 } 345 331 … … 351 337 REKLAMADataSet.VIEW_ZESTAWIENIE_FAKTUR_NOWERow f = (REKLAMADataSet.VIEW_ZESTAWIENIE_FAKTUR_NOWERow)row.Row; 352 338 353 ZamowieniaForm zf = new ZamowieniaForm(f.ID_NABYWCY, f.idZamowienia);339 ZamowieniaForm zf = new ZamowieniaForm(f.ID_NABYWCY, f.idZamowienia); 354 340 zf.ShowDialog(); 355 341 } … … 362 348 } 363 349 364 350 365 351 private void odswiezToolStripButton_Click(object sender, EventArgs e) 366 352 { -
trunk/BazaReklam/FacturesFormNew1.resx
r629 r631 213 213 RYVi4HJW0WO3c+c77GwONpq9/fYXo+NgXLNBufeCSSmSD9CItx8xIaWBVxqIRwQPDQ2GVFGP1oFetPT1 214 214 oqqzE9cb2nrPSO5UeUhqqtwSiu8dFxztXmlqupNMzBzPlFRqPW8SjFhzIO0wILEDMu0xWJOISIpcIleg 215 beAxegefoP1xD6ofdCBdoXgYJJFV+SQVVzmlVMqdE4ua9++2kKuqqr5FBtTH3BWZYoN3 vYSrhpBiA9yi215 beAxegefoP1xD6ofdCBdoXgYJJFV+SQVVzmlVMqdE4ua9++2kKuqqr5FBtTH3BWZYoN3PYSrhpBiA9yi 216 216 TOT7oirnZwRFRKG27xG6+vvQP9CPh2REKBQOSeqaHwSklVT6JMmqXBLLq13S6muFgYE9hkuXehJcbzzL 217 217 89TmQKN0RG0Fkmg9KL2EXyND8GOeDNXdvZB3P8T93h7UdnYhu/F+71VpRRU34JVcXn0yoUzudkte73mz … … 240 240 eKJKq6cya3NjrN6BMdl+xtI/ZCz2dcYuURl8bhQqoiuvhtaQdEl8K55sYGr65lGBqNnY2CRcV1f3kpKS 241 241 Eq8VNo2+/8PDcCZUSXNIS0hvkniVSywmIDmRXEfF78kH+3YUyM8DpiR+MuL/54eT/6wJ+XfyyvaSeOS8 242 /3n6n3mW5Eb4C75y8azwH/KD5/xRAIfwex3SK6NAPpi4eQ591pLLn/Gpx9viaeel2jD8X 2iLB4IB/wJ2242 /3n6n3mW5Eb4C75y8azwH/KD5/xRAIfwex3SK6NAPpi4eQ591pLLn/Gpx9viaeel2jD8X1WPB4CBe56u 243 243 AAAAAElFTkSuQmCC 244 244 </value> … … 247 247 <value> 248 248 iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 249 YQUAAAAgY0hSTQAAeiYAAICEAAD6AAAAgOgAAHUwAADqYAAAOpgAABdwnLpRPAAABX RJREFUSEuVlQtQ250 VFUYx10VG0JbMg0ZSGAmncpycPIxlqESW1CoEYyMj5BU1NDMCgNcl8tj WFCUQZHAlZVhWQQUYuQlaqRi251 giSKxAryEkRhAUkWlzfL/vvOzlIqC9aZ+c3de+49//89337fd3gTxhnbth034vONjsycaeTW2vqkXal8252 kD801JOdnh79By0bIKBnPJmxn4WG5okbG9vAhlYLVFY2geM4rY/P0foNG/yPuLjssKfVLxMTCd7/comI253 kJlIJJe6dOrPDWZWVfVAZ7ZzZ0iDm5v3sVWrPAVkYEJM+k9GwcH5zjdu1BrSHzUXFhYDV9ftWldXryZH254 x6/EJiYmZmRiNK5RQEB6qErV/UKDuLhE7NoVheJiIC3tIYTCVMyfb5dA4jbjmvj6pmb8q04xMTAGBwew255 bp0I/v7JWLjwY5SUDKG6GnB09Ggl8XXEjDF3IRZn3mSag4PD0GgMG2RmnsOWLYcQEVEAkUiClhbg0SNg256 0aJlVSQsIqzGMuDFxOS1Dg8DfX1D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Dk8Xgn6J0vWIFZvTRpBQRT0BK6GmWKZqz3 271 8Kih+Z+I2QZrgyafNhJYWs6OmDfvvbLFi1f3L1jwvsLY2JgdKELiHWIK+6hZkyfYefv5/eXu7l5mamoq 272 obnvmflYBiPzI0asSj8nfIgw4keCNbRXiJEWw0K8RC+8m64f6KPxIg/d88kEa71vEMyMXVkony4sZmSs 273 /2qLked/A577utGNKIc+AAAAAElFTkSuQmCC 274 274 </value> 275 275 </data> … … 378 378 <value> 379 379 iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 380 YQUAAAAgY0hSTQAAeiYAAICEAAD6AAAAgOgAAHUwAADqYAAAOpgAABdwnLpRPAAAB X9JREFUSEudlQtQ381 zXkUx0+lbrfYWiVW JY+1TYNYochOK90sFXlEtCwJO9u23munGd1NKEIpdHWlqBS9F3dVQ+T9quxaj8VY382 irLrMXtLY8q93z0//2tHiZnd38xn/vd//7/f95zf+Z1zfkb0vrGyqj81ab8jY5nigy4WvV68aGluedRQ383 Q40P86gyJo+0dVpe/vK9Gu/8uPbBqs5Rt18MVbViwn5gIhNcBMwpAUYlPgAFFVTRkAVevN6SMfpvRtY/384 2tIt/hkGqADnba34NBXwSAc8MwCvPYB/LhB0QAezr478RQNDprO4VTsj7zGorJ8uj0rTm0de1lLw7nLy385 WlFA/onl8vDzWg9VM/xY3G8fEHgAmJYPmAYX1ZOd+8RXRsYfm0re+cU0PHkWv3dhjNvuTKk0puVVd2jh386 4RySW63hj3HMcmYRWdisJL/1ZW6J9ZjJoZrB4qEHgflFrSDvpHPkFDDFfubR5xurAavJOY95jQif2Nkb387 I/K+PS29Esv/zGbmMCOYXkwP6dnJg3zjCn1SH2PRYWBZGRB9kne09S7IPeXZ5tN6xJ4HLH133uH53xvW388 tjEhtiTERjJ9GHNDbEVMBXKydBhIgblXV5UDMSwedxpIYNEfDjch4QKw5RJAzksrea6S6d12B5KIGdOZ389 6dT+o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jGPWMdGMuJSGMd3+j/jrVoVn 404 IrY9mT5Gg8JjEdLXCqpjR/8Bweqyb1vu0RMAAAAASUVORK5CYII= 405 405 </value> 406 406 </data> … … 420 420 </value> 421 421 </data> 422 <metadata name="rEKLAMADataSet.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">423 <value>17, 54</value>424 </metadata>425 422 <metadata name="wyszukajToolStrip.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> 426 423 <value>310, 54</value> -
trunk/BazaReklam/MDIBazaReklam.cs
r591 r631 287 287 } 288 288 289 if (!_forms.ContainsKey("FacturesFormN EW"))290 _forms.Add("FacturesFormN EW", FacturesFormNEW.getFacturesForm(this));291 292 FacturesFormN EW.getFacturesForm(this).WindowState = FormWindowState.Maximized;293 FacturesFormN EW.getFacturesForm(this).Show();289 if (!_forms.ContainsKey("FacturesFormNew")) 290 _forms.Add("FacturesFormNew", FacturesFormNew.GetFacturesForm(this)); 291 292 FacturesFormNew.GetFacturesForm(this).WindowState = FormWindowState.Maximized; 293 FacturesFormNew.GetFacturesForm(this).Show(); 294 294 295 295 Cursor = Cursors.Default; -
trunk/SQL/Views/VIEW_ZESTAWIENIE_FAKTUR_NOWE.txt
r629 r631 50 50 T.SposobZaplaty, 51 51 T.waluta_kurs, 52 T.SystemKsiegowyId 52 T.SystemKsiegowyId, 53 T.Numer_Roz 53 54 FROM (SELECT dbo.FAKTURY.ID_NABYWCY, dbo.FAKTURY.NUMER, YEAR(dbo.FAKTURY.DATA_SPRZEDAZY) AS ROK, 54 MONTH(dbo.FAKTURY.DATA_SPRZEDAZY) AS MS, dbo.FAKTURY.DATA_SPRZEDAZY, CONVERT(VARCHAR, dbo.FAKTURY.NUMER)55 + '/' + CONVERT(VARCHAR, dbo.FAKTURY.NUMER_ROZ) + '/' + CONVERT(VARCHAR, dbo.FAKTURY.NUMER_ROK) AS NR_FK,55 MONTH(dbo.FAKTURY.DATA_SPRZEDAZY) AS MS, dbo.FAKTURY.DATA_SPRZEDAZY, 56 CONVERT(VARCHAR, dbo.FAKTURY.NUMER) + '/' + CONVERT(VARCHAR, dbo.FAKTURY.NUMER_ROZ) + '/' + CONVERT(VARCHAR, dbo.FAKTURY.NUMER_ROK) AS NR_FK, 56 57 dbo.[LISTA TYTU£ÓW].SYMB AS TYTUL, SUM(dbo.FAKTURA_DETAILS.NETTO) AS NETTO, dbo.FAKTURA_DETAILS.S_VAT, 57 58 SUM(dbo.FAKTURA_DETAILS.VAT) AS VAT, SUM(dbo.FAKTURA_DETAILS.NETTO * (1 + dbo.FAKTURA_DETAILS.S_VAT)) AS BRUTTO, count(dbo.FAKTURA_DETAILS.id_faktura_details) as ilPozycji, … … 67 68 COALESCE(Korekta.waluta_brutto, NULL) AS KorektaWalutaBrutto, 68 69 dbo.FAKTURY.waluta_kurs, 69 dbo.FAKTURY.SystemKsiegowyId 70 dbo.FAKTURY.SystemKsiegowyId, 71 dbo.FAKTURY.Numer_Roz 70 72 FROM dbo.FAKTURY LEFT OUTER JOIN 71 73 dbo.FAKTURA_DETAILS ON dbo.FAKTURY.ID_FAKTURY = dbo.FAKTURA_DETAILS.ID_FAKTURY LEFT OUTER JOIN … … 86 88 dbo.FAKTURY.SPOSOB_ZAPLATY, 87 89 Korekta.S_VAT, Korekta.Netto, Korekta.Brutto, Korekta.waluta_brutto, 88 dbo.FAKTURY.waluta_kurs, dbo.FAKTURY.SystemKsiegowyId 90 dbo.FAKTURY.waluta_kurs, dbo.FAKTURY.SystemKsiegowyId, 91 dbo.FAKTURY.Numer_Roz 89 92 ) AS T LEFT OUTER JOIN 90 93 (SELECT idFaktury, round(SUM(netto),2) AS sumaNettoZEmisji, count(id) as ilEmisji
