Zbiór zmian 729 dla branches

Pokaż
Ignoruj:
Data:
2009-06-29 09:26:40 (17 years ago)
Autor:
marek
Opis:

Aktualna wersja v1.1.18

Lokalizacja:
branches/ReklamaReorganizacja
Pliki:
8 zmodyfikowane

Legenda:

Bez zmian
Dodane
Usunięte
  • branches/ReklamaReorganizacja/BazaReklam/Baza Reklam.csproj

    r727 r729  
    3333    <WebPage>index.htm</WebPage> 
    3434    <OpenBrowserOnPublish>false</OpenBrowserOnPublish> 
    35     <ApplicationVersion>1.1.17.0</ApplicationVersion> 
     35    <ApplicationVersion>1.1.18.0</ApplicationVersion> 
    3636    <BootstrapperEnabled>false</BootstrapperEnabled> 
    3737  </PropertyGroup> 
     
    707707    <PublishFile Include="ADODB"> 
    708708      <Visible>False</Visible> 
     709      <PublishState>Exclude</PublishState> 
    709710      <Group> 
    710711      </Group> 
    711712      <TargetPath> 
    712713      </TargetPath> 
    713       <PublishState>Exclude</PublishState> 
    714714      <FileType>Assembly</FileType> 
    715715    </PublishFile> 
    716716    <PublishFile Include="Microsoft.ReportViewer.Common"> 
    717717      <Visible>False</Visible> 
     718      <PublishState>Include</PublishState> 
    718719      <Group> 
    719720      </Group> 
    720721      <TargetPath> 
    721722      </TargetPath> 
    722       <PublishState>Include</PublishState> 
    723723      <FileType>Assembly</FileType> 
    724724    </PublishFile> 
    725725    <PublishFile Include="Microsoft.ReportViewer.ProcessingObjectModel"> 
    726726      <Visible>False</Visible> 
     727      <PublishState>Include</PublishState> 
    727728      <Group> 
    728729      </Group> 
    729730      <TargetPath> 
    730731      </TargetPath> 
    731       <PublishState>Include</PublishState> 
    732732      <FileType>Assembly</FileType> 
    733733    </PublishFile> 
    734734    <PublishFile Include="Microsoft.ReportViewer.WinForms"> 
    735735      <Visible>False</Visible> 
     736      <PublishState>Include</PublishState> 
    736737      <Group> 
    737738      </Group> 
    738739      <TargetPath> 
    739740      </TargetPath> 
    740       <PublishState>Include</PublishState> 
    741741      <FileType>Assembly</FileType> 
    742742    </PublishFile> 
  • branches/ReklamaReorganizacja/BazaReklam/Classes/Helpers/AdHelper.cs

    r667 r729  
    3535                    height = Convert.ToInt32(((vertical - 1) * 3) + (vertical * 50.33)); 
    3636                } 
     37                else if (module.Section.Name.ToUpper() == "MASTER TRUCK") 
     38                { 
     39                    //max 2 x 4 
     40                    width = ((horizontal - 1) * 3) + (horizontal * 105); 
     41                    height = Convert.ToInt32(((vertical - 1) * 3) + (vertical * 72.5)); 
     42                } 
    3743                else 
    3844                { 
     
    4450            else if (module.Section.Title.ShortName == "GS") 
    4551            { 
    46                 //max 3 x 4 
    47                 width = ((horizontal - 1) * 3) + (horizontal * 67); 
    48                 height = ((vertical - 1) * 3) + (vertical * 65); 
     52                if (module.Section.Name.ToUpper() == "AUTOSALON") 
     53                { 
     54                    //max 2 x 4 
     55                    width = ((horizontal - 1) * 3) + (horizontal * 105); 
     56                    height = Convert.ToInt32(((vertical - 1) * 3) + (vertical * 72.5)); 
     57                } 
     58                else 
     59                { 
     60                    //max 3 x 4 
     61                    width = ((horizontal - 1)*3) + (horizontal*67); 
     62                    height = ((vertical - 1)*3) + (vertical*65); 
     63                } 
    4964            } 
    5065 
     
    7792                case "ALAF": 
    7893                case "AZOF": 
     94                case "SKRED": 
    7995                    return true; 
    8096            } 
     
    94110                case "GWEW_P": 
    95111                case "GWEW": 
     112                case "SKRED": 
    96113                    //case "GART_S": 
    97114                    return true; 
  • branches/ReklamaReorganizacja/BazaReklam/Docs/versioninfo.html

    r727 r729  
    66<body> 
    77   <h1>Baza reklam - Informacje o wersji</h1> 
     8   <div> 
     9        <a id="1.1.18" /> 
     10        <h2>Wersja 1.1.18 (2009-06-28)</h2> 
     11        <p>Opis zmian wprowadzonych do wersji 1.1.18</p> 
     12        <ul> 
     13            <li>Dodano możliwość wybierania rozmiaru dla modułu SKRED</li> 
     14            <li>Poprawiono błąd występujący przy próbie wydruku zamówienia dla niektórych reklam</li> 
     15        </ul> 
     16   </div> 
    817   <div> 
    918        <a id="1.1.17" /> 
  • branches/ReklamaReorganizacja/BazaReklam/OrderDetails.cs

    r727 r729  
    17811781                regex = "^[1-3]{1}$"; 
    17821782            } 
    1783             else if (SelectedTitle.ShortName == "AMT" && SelectedSection != null && SelectedSection.Name.ToUpper() == "ZOOM") 
     1783            if (SelectedTitle.ShortName == "AMT" && SelectedSection != null && SelectedSection.Name.ToUpper() == "ZOOM") 
    17841784            { 
    17851785                errorMessage = "Proszê podaæ wartoœæ z przedzia³u 1-5."; 
    17861786                regex = "^[1-5]{1}$"; 
    17871787            } 
     1788            if (SelectedSection != null && (SelectedSection.Name.ToUpper() == "MASTER TRUCK" || SelectedSection.Name.ToUpper() == "AUTOSALON")) 
     1789            { 
     1790                errorMessage = "Proszê podaæ wartoœæ z przedzia³u 1-2."; 
     1791                regex = "^[1-2]{1}$"; 
     1792            } 
     1793 
    17881794 
    17891795            if (ValidationHelper.IsTextBoxEmpty(txtHorizontal, 
     
    18131819                regex = "^[1-4]{1}$"; 
    18141820            } 
    1815             else if (SelectedTitle.ShortName == "AMT" && SelectedSection != null && 
    1816                      SelectedSection.Name.ToUpper() == "ZOOM") 
     1821            if (SelectedTitle.ShortName == "AMT" && SelectedSection != null && SelectedSection.Name.ToUpper() == "ZOOM") 
    18171822            { 
    18181823                errorMessage = "Proszê podaæ wartoœæ z przedzia³u 1-6."; 
    18191824                regex = "^[1-6]{1}$"; 
     1825            } 
     1826            if (SelectedSection != null && (SelectedSection.Name.ToUpper() == "MASTER TRUCK" || SelectedSection.Name.ToUpper() == "AUTOSALON")) 
     1827            { 
     1828                errorMessage = "Proszê podaæ wartoœæ z przedzia³u 1-4."; 
     1829                regex = "^[1-4]{1}$"; 
    18201830            } 
    18211831 
  • branches/ReklamaReorganizacja/BazaReklam/OrdersForm.cs

    r727 r729  
    2727                                     " LEFT JOIN dbo.VIEW_REKLAMA_OD_DO O ON R.ReklamaID = O.ReklamaId" + 
    2828                                     " LEFT JOIN NR ON R.TYTU£ = NR.TYT AND O.OD = NR.NRW " + 
    29                                      " LEFT OUTER JOIN [NAZWY MODU£ÓW] NM ON r.MOD_TYP = NM.MOD_TYP" + 
     29                                     " LEFT OUTER JOIN [NAZWY MODU£ÓW] NM ON r.MOD_TYP = NM.MOD_TYP AND r.[Tytu³] = NM.Tytul" + 
    3030                                     " LEFT OUTER JOIN dbo.KLIENCI AS K ON R.customerId=K.CustomerId " + 
    3131                                     " LEFT OUTER JOIN dbo.Zamowienia AS Z ON R.idZamowienia=Z.idZamowienia "; 
     
    654654            if (!string.IsNullOrEmpty(cbPromocje.Text.Trim())) 
    655655            { 
    656                 command.Parameters.AddWithValue("@promocja", Convert.ToInt32(((DataRow)cbPromocje.SelectedItem)["Id"])); 
    657             } 
    658  
    659             if (((CheckBox)((ToolStripControlHost)szukajToolStrip.Items["DRCheckBox"]).Control).CheckState == CheckState.Checked) 
     656                command.Parameters.AddWithValue("@promocja", Convert.ToInt32(((DataRow) cbPromocje.SelectedItem)["Id"])); 
     657            } 
     658 
     659            if (((CheckBox) ((ToolStripControlHost) szukajToolStrip.Items["DRCheckBox"]).Control).CheckState == 
     660                CheckState.Checked) 
    660661            { 
    661662                command.Parameters.AddWithValue("@zd", true); 
    662663            } 
    663             else if (((CheckBox)((ToolStripControlHost)szukajToolStrip.Items["DRCheckBox"]).Control).CheckState == CheckState.Unchecked) 
     664            else if (((CheckBox) ((ToolStripControlHost) szukajToolStrip.Items["DRCheckBox"]).Control).CheckState == 
     665                     CheckState.Unchecked) 
    664666            { 
    665667                command.Parameters.AddWithValue("@zd", false); 
    666668            } 
    667669 
    668             if (((CheckBox)((ToolStripControlHost)szukajToolStrip.Items["FWCheckBox"]).Control).CheckState == CheckState.Checked) 
     670            if (((CheckBox) ((ToolStripControlHost) szukajToolStrip.Items["FWCheckBox"]).Control).CheckState == 
     671                CheckState.Checked) 
    669672            { 
    670673                command.Parameters.AddWithValue("@fw", true); 
    671674            } 
    672             else if (((CheckBox)((ToolStripControlHost)szukajToolStrip.Items["FWCheckBox"]).Control).CheckState == CheckState.Unchecked) 
     675            else if (((CheckBox) ((ToolStripControlHost) szukajToolStrip.Items["FWCheckBox"]).Control).CheckState == 
     676                     CheckState.Unchecked) 
    673677            { 
    674678                command.Parameters.AddWithValue("@fw", false); 
    675679            } 
    676680 
    677             if (((CheckBox)((ToolStripControlHost)szukajToolStrip.Items["KZCheckBox"]).Control).CheckState == CheckState.Checked) 
     681            if (((CheckBox) ((ToolStripControlHost) szukajToolStrip.Items["KZCheckBox"]).Control).CheckState == 
     682                CheckState.Checked) 
    678683            { 
    679684                command.Parameters.AddWithValue("@kz", true); 
    680685            } 
    681             else if (((CheckBox)((ToolStripControlHost)szukajToolStrip.Items["KZCheckBox"]).Control).CheckState == CheckState.Unchecked) 
     686            else if (((CheckBox) ((ToolStripControlHost) szukajToolStrip.Items["KZCheckBox"]).Control).CheckState == 
     687                     CheckState.Unchecked) 
    682688            { 
    683689                command.Parameters.AddWithValue("@kz", false); 
    684690            } 
    685691 
    686             if (((CheckBox)((ToolStripControlHost)szukajToolStrip.Items["WyrCheckBox"]).Control).CheckState == CheckState.Checked) 
     692            if (((CheckBox) ((ToolStripControlHost) szukajToolStrip.Items["WyrCheckBox"]).Control).CheckState == 
     693                CheckState.Checked) 
    687694            { 
    688695                command.Parameters.AddWithValue("@wy", true); 
    689696            } 
    690             else if (((CheckBox)((ToolStripControlHost)szukajToolStrip.Items["WyrCheckBox"]).Control).CheckState == CheckState.Unchecked) 
     697            else if (((CheckBox) ((ToolStripControlHost) szukajToolStrip.Items["WyrCheckBox"]).Control).CheckState == 
     698                     CheckState.Unchecked) 
    691699            { 
    692700                command.Parameters.AddWithValue("@wy", false); 
    693701            } 
    694702 
    695             if (((CheckBox)((ToolStripControlHost)szukajToolStrip.Items["BZCheckBox"]).Control).CheckState == CheckState.Checked) 
     703            if (((CheckBox) ((ToolStripControlHost) szukajToolStrip.Items["BZCheckBox"]).Control).CheckState == 
     704                CheckState.Checked) 
    696705            { 
    697706                command.Parameters.AddWithValue("@bz", true); 
    698707            } 
    699             else if (((CheckBox)((ToolStripControlHost)szukajToolStrip.Items["BZCheckBox"]).Control).CheckState == CheckState.Unchecked) 
     708            else if (((CheckBox) ((ToolStripControlHost) szukajToolStrip.Items["BZCheckBox"]).Control).CheckState == 
     709                     CheckState.Unchecked) 
    700710            { 
    701711                command.Parameters.AddWithValue("@bz", false); 
    702712            } 
    703713 
    704  
    705             sqlDataAdapter.SelectCommand = command; 
    706  
    707             Cursor = Cursors.WaitCursor; 
    708  
    709             sqlDataAdapter.Fill(rEKLAMADataSet.ReklamyZestawienie); 
    710             commandExecuted = true; 
    711  
    712             reklamaDataGridView.Refresh(); 
    713  
    714             treeView1.CollapseAll(); 
    715             treeView1.SelectedNode = null; 
    716  
    717             Cursor = Cursors.Default; 
    718  
     714            try 
     715            { 
     716                Cursor = Cursors.WaitCursor; 
     717 
     718                sqlDataAdapter.SelectCommand = command; 
     719 
     720                sqlDataAdapter.Fill(rEKLAMADataSet.ReklamyZestawienie); 
     721                commandExecuted = true; 
     722 
     723                reklamaDataGridView.Refresh(); 
     724 
     725                treeView1.CollapseAll(); 
     726                treeView1.SelectedNode = null; 
     727            } 
     728            catch (Exception ex) 
     729            { 
     730                Logger.LogException(ex, User.Instance().Login, DateTime.Now); 
     731            } 
     732            finally 
     733            { 
     734                Cursor = Cursors.Default; 
     735            } 
    719736        } 
    720737 
  • branches/ReklamaReorganizacja/BazaReklam/Properties/AssemblyInfo.cs

    r727 r729  
    3030// 
    3131[assembly: AssemblyVersion("1.0.0.0")] 
    32 [assembly: AssemblyFileVersion("1.1.17")] 
     32[assembly: AssemblyFileVersion("1.1.18")] 
  • branches/ReklamaReorganizacja/BazaReklamSetup/BazaReklamSetup.vdproj

    r727 r729  
    656656        "Name" = "8:Microsoft Visual Studio" 
    657657        "ProductName" = "8:Baza Reklam" 
    658         "ProductCode" = "8:{8E37353C-705C-4A53-84DD-2C51D950C5F3}" 
    659         "PackageCode" = "8:{12C341A7-5AA0-4246-9FC7-AB32834CE6FC}" 
     658        "ProductCode" = "8:{4C5277D5-4413-4B14-8B5D-DB25AD935FCC}" 
     659        "PackageCode" = "8:{2BB65BFA-D87B-4904-87AD-35F12B9CB27A}" 
    660660        "UpgradeCode" = "8:{4E2DBBA4-3139-4790-8DDB-7AADFC963A7D}" 
    661661        "RestartWWWService" = "11:FALSE" 
     
    663663        "DetectNewerInstalledVersion" = "11:TRUE" 
    664664        "InstallAllUsers" = "11:TRUE" 
    665         "ProductVersion" = "8:1.1.17" 
     665        "ProductVersion" = "8:1.1.18" 
    666666        "Manufacturer" = "8:AACT" 
    667667        "ARPHELPTELEPHONE" = "8:" 
  • branches/ReklamaReorganizacja/SQL/StoredProcedures/sp_GetReklamy.txt

    r339 r729  
    5252LEFT JOIN dbo.VIEW_REKLAMA_OD_DO_DATY O ON R.ReklamaID = O.ReklamaId  
    5353LEFT JOIN NR ON R.TYTU£ = NR.TYT AND O.wyd_od = NR.NRW -- OR O.wyd_do = NR.NRW)  
    54 LEFT OUTER JOIN [NAZWY MODU£ÓW] NM ON r.MOD_TYP = NM.MOD_TYP  
     54LEFT OUTER JOIN [NAZWY MODU£ÓW] NM ON r.MOD_TYP = NM.MOD_TYP AND r.[Tytu³] = NM.Tytul 
    5555LEFT OUTER JOIN dbo.KLIENCI AS K ON R.customerId=K.CustomerId  
    5656LEFT OUTER JOIN dbo.Zamowienia AS Z ON R.idZamowienia=Z.idZamowienia  
     
    114114 
    115115 
    116 --print @query 
     116print @query 
    117117 
    118118