Zbiór zmian 769 dla branches

Pokaż
Ignoruj:
Data:
2009-07-22 16:04:57 (17 years ago)
Autor:
marek
Opis:

re #184 - merged with latest trunk

Lokalizacja:
branches/Abonament
Pliki:
23 zmodyfikowane
1 skopiowane

Legenda:

Bez zmian
Dodane
Usunięte
  • branches/Abonament

    • Property svn:mergeinfo
      •  

        old new  
        11/branches/ReklamaReorganizacja:568-731 
        2 /trunk:708-758,760-762 
         2/trunk:708-758,760-768 
  • branches/Abonament/BazaReklam.Updater/ICSharpCode.SharpZipLib/BZip2

    • Włąściwość: svn:mergeinfo changed from /trunk/BazaReklam.Updater/ICSharpCode.SharpZipLib/BZip2:708-758,760-762 to /trunk/BazaReklam.Updater/ICSharpCode.SharpZipLib/BZip2:708-758,760-768
  • branches/Abonament/BazaReklam.Updater/ICSharpCode.SharpZipLib/Checksums

    • Włąściwość: svn:mergeinfo changed from /trunk/BazaReklam.Updater/ICSharpCode.SharpZipLib/Checksums:708-758,760-762 to /trunk/BazaReklam.Updater/ICSharpCode.SharpZipLib/Checksums:708-758,760-768
  • branches/Abonament/BazaReklam.Updater/ICSharpCode.SharpZipLib/Core

    • Włąściwość: svn:mergeinfo changed from /trunk/BazaReklam.Updater/ICSharpCode.SharpZipLib/Core:708-758,760-762 to /trunk/BazaReklam.Updater/ICSharpCode.SharpZipLib/Core:708-758,760-768
  • branches/Abonament/BazaReklam.Updater/ICSharpCode.SharpZipLib/Encryption

    • Włąściwość: svn:mergeinfo changed from /trunk/BazaReklam.Updater/ICSharpCode.SharpZipLib/Encryption:708-758,760-762 to /trunk/BazaReklam.Updater/ICSharpCode.SharpZipLib/Encryption:708-758,760-768
  • branches/Abonament/BazaReklam.Updater/ICSharpCode.SharpZipLib/Tar

    • Włąściwość: svn:mergeinfo changed from /trunk/BazaReklam.Updater/ICSharpCode.SharpZipLib/Tar:708-758,760-762 to /trunk/BazaReklam.Updater/ICSharpCode.SharpZipLib/Tar:708-758,760-768
  • branches/Abonament/BazaReklam.Updater/ICSharpCode.SharpZipLib/Zip

    • Włąściwość: svn:mergeinfo changed from /trunk/BazaReklam.Updater/ICSharpCode.SharpZipLib/Zip:708-758,760-762 to /trunk/BazaReklam.Updater/ICSharpCode.SharpZipLib/Zip:708-758,760-768
  • branches/Abonament/BazaReklam/Baza Reklam.csproj

    r763 r769  
    3333    <WebPage>index.htm</WebPage> 
    3434    <OpenBrowserOnPublish>false</OpenBrowserOnPublish> 
    35     <ApplicationVersion>1.1.22.0</ApplicationVersion> 
     35    <ApplicationVersion>1.1.23.0</ApplicationVersion> 
    3636    <BootstrapperEnabled>false</BootstrapperEnabled> 
    3737  </PropertyGroup> 
  • branches/Abonament/BazaReklam/Classes/Helpers/ReklamaHelper.cs

    r754 r769  
    6868 
    6969        } 
     70 
     71        public static void AddUpdateIssueChange(double issueId, int currentIssueNumer, int newIssueNumber) 
     72        { 
     73            SqlConnection conn = null; 
     74            SqlCommand cmd = null; 
     75 
     76            try 
     77            { 
     78                conn = new SqlConnection(ConnString.getConnString().Value); 
     79                conn.Open(); 
     80                cmd = new SqlCommand("sp_AddUpdateIssueChange", conn); 
     81                cmd.CommandType = CommandType.StoredProcedure; 
     82                cmd.Parameters.AddWithValue("@issueId", issueId); 
     83                cmd.Parameters.AddWithValue("@currentIssueNumer", currentIssueNumer); 
     84                cmd.Parameters.AddWithValue("@newIssueNumber", newIssueNumber); 
     85                cmd.ExecuteNonQuery(); 
     86            } 
     87            finally 
     88            { 
     89                if (cmd != null) 
     90                    cmd.Dispose(); 
     91 
     92                if (conn != null && conn.State == ConnectionState.Open) 
     93                { 
     94                    conn.Close(); 
     95                    conn.Dispose(); 
     96                } 
     97            } 
     98 
     99        } 
    70100    } 
    71101} 
  • branches/Abonament/BazaReklam/Docs/versioninfo.html

    r763 r769  
    66<body> 
    77   <h1>Baza reklam - Informacje o wersji</h1> 
     8   <div> 
     9        <a id="1.1.23" /> 
     10        <h2>Wersja 1.1.23 (2009-07-22)</h2> 
     11        <p>Opis zmian wprowadzonych do wersji 1.1.23</p> 
     12        <ul> 
     13            <li>Zgłoszenie #185: poprawiono błąd występujący podczas zmiany numeru emisji - czasem jako nr wydania pojawiały się zera</li> 
     14        </ul> 
     15   </div> 
    816   <div> 
    917        <a id="1.1.22" /> 
  • branches/Abonament/BazaReklam/KalendarzEmisji.cs

    r754 r769  
    99    public partial class KalendarzEmisji : Form 
    1010    { 
    11         //emisja, która ukazala sie w gazecie 
    12         public readonly string WYDANA = "wydana"; 
    13         //emisja, ktora sie dopiero ukaze 
    14         public readonly string NIEWYDANA = "niewydana"; 
    15         //emisja zafakturowana 
    16         public readonly string ZAFAKTUROWANA = "zafakturowana"; 
    17         //emisja zafakturowana i wydana 
    18         public readonly string ZAFAKTUROWANA_WYDANA = "zafakturowana_wydana"; 
    19         //emisja siê nie ukazala, ale jest w miesiacu, ktory jest juz zafakturowany 
    20         public readonly string MS_ZAFAKTUROWANY_NIEWYDANA = "zafakturowana_wydana"; 
    21         //emisja do zmiany 
    22         public readonly string DO_ZMIANY = "do_zmiany"; 
    23         //emisja do zmiany 
    24         public readonly string NOWA = "nowa"; 
    25  
    2611        string tytul; 
    2712 
     
    3722 
    3823        readonly short emisjaDoZmiany; 
    39         short nowaEmisja; 
     24        short? nowaEmisja; 
    4025 
    4126        int iloscEmisji; 
     
    4732        #region properties 
    4833 
    49         public short NowaEmisja 
     34        public short? NowaEmisja 
    5035        { 
    5136            get { return nowaEmisja; } 
     
    117102            nRDataGridView.CellValueChanged += nRDataGridView_CellValueChanged; 
    118103            nRDataGridView.CellContentClick += nRDataGridView_CellContentClicked; 
    119  
    120            // nRBindingSource.ResetBindings(false); 
    121104        } 
    122105 
     
    155138        private void zmienButton_Click(object sender, EventArgs e) 
    156139        { 
    157             foreach (REKLAMADataSet.UKAZE_SIE_W_NRRow r in emisje) 
    158             { 
    159                 if (r.RowState != DataRowState.Deleted) 
    160                 { 
    161                     if (r.Nr_Wydania == emisjaDoZmiany) 
    162                     { 
    163                         r.Nr_Wydania = nowaEmisja; 
    164                         r.EndEdit(); 
    165                         break; 
    166                     } 
    167                 } 
    168             } 
     140            //foreach (REKLAMADataSet.UKAZE_SIE_W_NRRow r in emisje) 
     141            //{ 
     142            //    if (r.RowState != DataRowState.Deleted) 
     143            //    { 
     144            //        if (r.Nr_Wydania == emisjaDoZmiany && nowaEmisja.HasValue) 
     145            //        { 
     146            //            r.Nr_Wydania = nowaEmisja.Value; 
     147            //            r.EndEdit(); 
     148            //            break; 
     149            //        } 
     150            //    } 
     151            //} 
     152            nowaEmisja = GetNewIssueNumber(); 
     153 
     154        } 
     155 
     156        private short? GetNewIssueNumber() 
     157        { 
     158            short? newIssueNumer = null; 
     159            bool? isIssueChecked; 
     160 
     161            foreach (DataGridViewRow row in nRDataGridView.Rows) 
     162            { 
     163                if (row.ReadOnly || (row.DefaultCellStyle.BackColor != Color.White && row.DefaultCellStyle.BackColor != Color.LightYellow)) continue; 
     164 
     165                isIssueChecked = (bool?)row.Cells[3].Value; 
     166                if (!isIssueChecked.HasValue || !isIssueChecked.Value) continue; 
     167 
     168                newIssueNumer = (short)row.Cells[0].Value; 
     169                break; 
     170            } 
     171 
     172            return newIssueNumer; 
    169173        } 
    170174 
    171175        private void nRDataGridView_CellContentClicked(object sender, DataGridViewCellEventArgs e) 
    172176        { 
    173             if (e.RowIndex >= 0) 
    174             { 
    175                 if (!nRDataGridView.Rows[e.RowIndex].ReadOnly) 
    176                 { 
    177                     if (e.ColumnIndex == 3) 
    178                     { 
    179                         if (nRDataGridView.Rows[e.RowIndex].DefaultCellStyle.BackColor == Color.White) 
    180                         { 
    181                             if (emisjaDoZmiany != 0 && index != -1) 
    182                             { 
    183                                 nRDataGridView.Rows[index].Cells[3].Value = false; 
    184                                 nRDataGridView.Rows[index].DefaultCellStyle.BackColor = Color.White; 
    185                             } 
    186  
    187                             nowaEmisja = (short)nRDataGridView.Rows[e.RowIndex].Cells[0].Value; 
    188                             index = e.RowIndex; 
    189  
    190                             nRDataGridView.Rows[e.RowIndex].DefaultCellStyle.BackColor = Color.LightYellow; 
    191                         } 
    192                         else 
    193                         { 
    194                             nowaEmisja = (short)nRDataGridView.Rows[e.RowIndex].Cells[0].Value; 
    195                             index = e.RowIndex; 
    196  
    197                             nRDataGridView.Rows[e.RowIndex].DefaultCellStyle.BackColor = Color.White; 
    198                         } 
    199  
    200                     } 
    201                 } 
     177            if (e.RowIndex < 0) return; 
     178 
     179            if (nRDataGridView.Rows[e.RowIndex].ReadOnly) return; 
     180 
     181            if (e.ColumnIndex != 3) return; 
     182 
     183            if (nRDataGridView.Rows[e.RowIndex].DefaultCellStyle.BackColor == Color.White) 
     184            { 
     185                if (emisjaDoZmiany != 0 && index != -1) 
     186                { 
     187                    nRDataGridView.Rows[index].Cells[3].Value = false; 
     188                    nRDataGridView.Rows[index].DefaultCellStyle.BackColor = Color.White; 
     189                } 
     190 
     191                nowaEmisja = (short) nRDataGridView.Rows[e.RowIndex].Cells[0].Value; 
     192                index = e.RowIndex; 
     193 
     194                nRDataGridView.Rows[e.RowIndex].DefaultCellStyle.BackColor = Color.LightYellow; 
     195            } 
     196            else 
     197            { 
     198                nowaEmisja = (short) nRDataGridView.Rows[e.RowIndex].Cells[0].Value; 
     199                index = e.RowIndex; 
     200 
     201                nRDataGridView.Rows[e.RowIndex].DefaultCellStyle.BackColor = Color.White; 
    202202            } 
    203203            nRDataGridView.EndEdit(); 
     
    206206        private void nRDataGridView_CellValueChanged(object sender, DataGridViewCellEventArgs e) 
    207207        { 
    208             if (e.ColumnIndex == 3) 
    209             { 
    210                 if (((bool)nRDataGridView[e.ColumnIndex, e.RowIndex].Value)) 
    211                 { 
    212                     iloscEmisji++; 
    213                 } 
    214                 else 
    215                 { 
    216                     iloscEmisji--; 
    217                 } 
    218  
    219                 label2.Text = iloscEmisji.ToString(); 
    220             } 
     208            if (e.ColumnIndex != 3) return; 
     209 
     210            if (((bool) nRDataGridView[e.ColumnIndex, e.RowIndex].Value)) 
     211                iloscEmisji++; 
     212            else 
     213                iloscEmisji--; 
     214 
     215            label2.Text = iloscEmisji.ToString(); 
    221216        } 
    222217 
    223218        private void nRDataGridView_DataBindingComplete(object sender, DataGridViewBindingCompleteEventArgs e) 
    224219        { 
    225             if (e.ListChangedType == ListChangedType.Reset) 
    226             { 
    227                 foreach (DataGridViewRow row in nRDataGridView.Rows) 
    228                 { 
    229                     row.DefaultCellStyle.BackColor = Color.White; 
    230  
    231                     row.Cells[2].Value = System.Globalization.CultureInfo.CurrentCulture.DateTimeFormat.DayNames 
    232                         [(int)Convert.ToDateTime(row.Cells[1].Value).DayOfWeek]; 
    233  
    234                     DataRow[] table = emisje.Select("[Nr Wydania]=" + row.Cells[0].Value); 
    235  
    236                     if (table != null && table.Length > 0) 
     220            if (e.ListChangedType != ListChangedType.Reset) return; 
     221 
     222            foreach (DataGridViewRow row in nRDataGridView.Rows) 
     223            { 
     224                row.DefaultCellStyle.BackColor = Color.White; 
     225 
     226                row.Cells[2].Value = System.Globalization.CultureInfo.CurrentCulture.DateTimeFormat.DayNames 
     227                    [(int) Convert.ToDateTime(row.Cells[1].Value).DayOfWeek]; 
     228 
     229                DataRow[] table = emisje.Select("[Nr Wydania]=" + row.Cells[0].Value); 
     230 
     231                if (table != null && table.Length > 0) 
     232                { 
     233                    row.ReadOnly = true; 
     234                    row.Cells[3].Value = true; 
     235                    row.DefaultCellStyle.BackColor = Color.WhiteSmoke; 
     236 
     237                    REKLAMADataSet.UKAZE_SIE_W_NRRow em = 
     238                        (REKLAMADataSet.UKAZE_SIE_W_NRRow) table[0]; 
     239 
     240                    if (Convert.ToDateTime(row.Cells[1].Value) < DateTime.Today) 
     241                    { 
     242                        row.DefaultCellStyle.BackColor = Color.MintCream; 
     243                    } 
     244                    else 
     245                    { 
     246                        if (em.zafakturowana) 
     247                        { 
     248                            row.DefaultCellStyle.BackColor = Color.LightGray; 
     249                        } 
     250 
     251                        //anulowana 
     252                        if (em.status == 2) 
     253                        { 
     254                            row.DefaultCellStyle.ForeColor = Color.Red; 
     255                        } 
     256 
     257                        if (emisjaDoZmiany == (short) row.Cells[0].Value) 
     258                        { 
     259                            row.DefaultCellStyle.BackColor = Color.MistyRose; 
     260                        } 
     261                    } 
     262                } 
     263                else if (emisjaDoZmiany == 0) 
     264                { 
     265                    //emisja nie zosta³a wczeœniej wybrana, ale jej misi¹c ju¿ 
     266                    // jest zafakturowany 
     267                    DateTime dataWydania = (DateTime) row.Cells[1].Value; 
     268                    if (dataWydania.Year <= dataOstatatniejZafakturowanejEmisji.Year 
     269                        && 
     270                        dataWydania.Month <= dataOstatatniejZafakturowanejEmisji.Month) 
    237271                    { 
    238272                        row.ReadOnly = true; 
    239                         row.Cells[3].Value = true; 
    240                         row.DefaultCellStyle.BackColor = Color.WhiteSmoke; 
    241  
    242                         REKLAMADataSet.UKAZE_SIE_W_NRRow em = 
    243                             (REKLAMADataSet.UKAZE_SIE_W_NRRow)table[0]; 
    244  
    245                         if (Convert.ToDateTime(row.Cells[1].Value) < DateTime.Today) 
    246                         { 
    247                             row.DefaultCellStyle.BackColor = Color.MintCream; 
    248                         } 
    249                         else 
    250                         { 
    251                             if (em.zafakturowana) 
    252                             { 
    253                                 row.DefaultCellStyle.BackColor = Color.LightGray; 
    254                             } 
    255  
    256                             //anulowana 
    257                             if (em.status == 2) 
    258                             { 
    259                                 row.DefaultCellStyle.ForeColor = Color.Red; 
    260                             } 
    261  
    262                             if (emisjaDoZmiany == (short)row.Cells[0].Value) 
    263                             { 
    264                                 row.DefaultCellStyle.BackColor = Color.MistyRose; 
    265                             } 
    266                         } 
    267                     } 
    268                     else if (emisjaDoZmiany == 0) 
    269                     { 
    270                         //emisja nie zosta³a wczeœniej wybrana, ale jej misi¹c ju¿ 
    271                         // jest zafakturowany 
    272                         DateTime dataWydania = (DateTime)row.Cells[1].Value; 
    273                         if (dataWydania.Year <= dataOstatatniejZafakturowanejEmisji.Year 
    274                             && 
    275                             dataWydania.Month <= dataOstatatniejZafakturowanejEmisji.Month) 
    276                         { 
    277                             row.ReadOnly = true; 
    278                             row.DefaultCellStyle.BackColor = Color.LightGray; 
    279                         } 
    280                     } 
    281                 } 
    282             } 
    283         } 
    284  
     273                        row.DefaultCellStyle.BackColor = Color.LightGray; 
     274                    } 
     275                } 
     276            } 
     277        } 
    285278    } 
    286279} 
  • branches/Abonament/BazaReklam/OrderDetails.cs

    r754 r769  
    12851285                    if (emisjaRow.zafakturowana) 
    12861286                    { 
    1287                         zmienToolStripMenuItem.Visible = true; 
     1287                        zmienToolStripMenuItem.Visible = emisjaRow.status == 0; 
    12881288                        usunToolStripMenuItem.Visible = false; 
    1289                         anulujToolStripMenuItem.Visible = true; 
     1289                        anulujToolStripMenuItem.Visible = emisjaRow.status == 0; 
    12901290 
    12911291                        e.ContextMenuStrip = emisjeContextMenuStrip; 
     
    13691369                                                            emisja.Nr_Wydania); 
    13701370 
    1371             if (kalendarz.ShowDialog() == DialogResult.OK) 
     1371            if (kalendarz.ShowDialog() == DialogResult.OK && kalendarz.NowaEmisja.HasValue) 
    13721372            { 
    13731373                short staraEmisja = emisja.Nr_Wydania; 
    13741374 
    1375                 emisja.Nr_Wydania = kalendarz.NowaEmisja; 
     1375                emisja.Nr_Wydania = kalendarz.NowaEmisja.Value; 
    13761376                emisja.EndEdit(); 
    13771377                rEKLAMADataSet.UKAZE_SIE_W_NR.EndInit(); 
     
    13791379 
    13801380                if (emisja.zafakturowana && (staraEmisja != kalendarz.NowaEmisja)) 
    1381                     rEKLAMADataSet.zmianyEmisji.AddzmianyEmisjiRow(emisja, 
    1382                                                                    staraEmisja, 
    1383                                                                    kalendarz.NowaEmisja, 
    1384                                                                    DateTime.Now); 
     1381                    ReklamaHelper.AddUpdateIssueChange((double)emisja.ID, staraEmisja, kalendarz.NowaEmisja.Value); 
    13851382            } 
    13861383        } 
  • branches/Abonament/BazaReklam/Properties/AssemblyInfo.cs

    r763 r769  
    3030// 
    3131[assembly: AssemblyVersion("1.0.0.0")] 
    32 [assembly: AssemblyFileVersion("1.1.22")] 
     32[assembly: AssemblyFileVersion("1.1.23")] 
  • branches/Abonament/BazaReklam/ZamowieniaForm.cs

    r760 r769  
    12431243                usunKorekte(faktura); 
    12441244            else 
    1245                 usunFakture(faktura); 
     1245                UsunFakture(faktura); 
    12461246 
    12471247            Cursor = Cursors.Default; 
     
    13061306        } 
    13071307 
    1308         private void usunFakture(REKLAMADataSet.FAKTURYRow faktura) 
     1308        private void UsunFakture(REKLAMADataSet.FAKTURYRow faktura) 
    13091309        { 
    13101310            int idFakt = faktura.ID_FAKTURY; 
     
    14271427                DataRow[] rows = rEKLAMADataSet.FAKTURY.Select("id_faktury=" + id); 
    14281428                if (rows.Length > 0) 
    1429                     usunFakture((REKLAMADataSet.FAKTURYRow)rows[0]); 
    1430  
     1429                    UsunFakture((REKLAMADataSet.FAKTURYRow) rows[0]); 
     1430                 
    14311431                RestoreConnections(); 
    14321432                Cursor = Cursors.Default; 
  • branches/Abonament/BazaReklamSetup/BazaReklamSetup.vdproj

    r763 r769  
    656656        "Name" = "8:Microsoft Visual Studio" 
    657657        "ProductName" = "8:Baza Reklam" 
    658         "ProductCode" = "8:{6D59D318-A28A-4635-9D6F-1EBFDD3FDA32}" 
    659         "PackageCode" = "8:{B8039EEE-AE21-4E96-ACC4-9A59E89D2E0F}" 
     658        "ProductCode" = "8:{F0CEF34A-E815-4D04-8A8E-28047479257F}" 
     659        "PackageCode" = "8:{22ABD221-8699-47FA-96A6-F0FC1D3952C9}" 
    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.22" 
     665        "ProductVersion" = "8:1.1.23" 
    666666        "Manufacturer" = "8:AACT" 
    667667        "ARPHELPTELEPHONE" = "8:" 
  • branches/Abonament/BazaZamowien/Classes/Premie

    • Włąściwość: svn:mergeinfo changed from /trunk/BazaZamowien/Classes/Premie:708-758,760-762 to /trunk/BazaZamowien/Classes/Premie:708-758,760-768
  • branches/Abonament/BazaZamowien/Classes/Zamowienia

    • Włąściwość: svn:mergeinfo changed from /trunk/BazaZamowien/Classes/Zamowienia:708-758,760-762 to /trunk/BazaZamowien/Classes/Zamowienia:708-758,760-768
  • branches/Abonament/BazaZamowien/Properties

    • Włąściwość: svn:mergeinfo changed from /trunk/BazaZamowien/Properties:708-758,760-762 to /trunk/BazaZamowien/Properties:708-758,760-768
  • branches/Abonament/BazaZamowien/Raporty

    • Włąściwość: svn:mergeinfo changed from /trunk/BazaZamowien/Raporty:708-758,760-762 to /trunk/BazaZamowien/Raporty:708-758,760-768
  • branches/Abonament/BazaZamowien_Updater/Properties

    • Włąściwość: svn:mergeinfo changed from /trunk/BazaZamowien_Updater/Properties:708-758,760-762 to /trunk/BazaZamowien_Updater/Properties:708-758,760-768
  • branches/Abonament/RaportySQL/ZmianyEmisji.rdl

    r130 r769  
    7272        <Field Name="netto"> 
    7373          <DataField>netto</DataField> 
    74           <rd:TypeName>System.Double</rd:TypeName> 
     74          <rd:TypeName>System.Decimal</rd:TypeName> 
    7575        </Field> 
    7676        <Field Name="DATA_W"> 
     
    8282        <DataSourceName>BAZA_REKLAM</DataSourceName> 
    8383        <CommandText>SELECT     idFaktury, NrFaktury, reklamaId, [id reklamy], idZamowienia, nrWyd, dataZmiany, netto, DATA_W 
    84 FROM         VIEW_RAPORT_ZMIAN_EMISJI 
     84FROM         dbo.VIEW_RAPORT_ZMIAN_EMISJI 
    8585WHERE     (dataZmiany &gt;= @od) AND (dataZmiany &lt;= @do) 
    8686ORDER BY dataZmiany</CommandText> 
     
    9797  </DataSets> 
    9898  <Code /> 
    99   <Width>19cm</Width> 
     99  <Width>17.27645cm</Width> 
    100100  <Body> 
    101101    <ColumnSpacing>1cm</ColumnSpacing> 
     
    104104        <DataSetName>Zmiany</DataSetName> 
    105105        <Top>0.5cm</Top> 
    106         <Width>18.77645cm</Width> 
    107106        <Details> 
    108107          <TableRows> 
     
    508507        <TableColumns> 
    509508          <TableColumn> 
    510             <Width>0.75cm</Width> 
    511           </TableColumn> 
    512           <TableColumn> 
    513             <Width>4.25cm</Width> 
     509            <Width>1cm</Width> 
     510          </TableColumn> 
     511          <TableColumn> 
     512            <Width>3.75cm</Width> 
     513          </TableColumn> 
     514          <TableColumn> 
     515            <Width>2.77646cm</Width> 
    514516          </TableColumn> 
    515517          <TableColumn> 
     
    517519          </TableColumn> 
    518520          <TableColumn> 
    519             <Width>2.75cm</Width> 
    520           </TableColumn> 
    521           <TableColumn> 
    522             <Width>2.02645cm</Width> 
     521            <Width>1.5cm</Width> 
    523522          </TableColumn> 
    524523          <TableColumn> 
     
    526525          </TableColumn> 
    527526          <TableColumn> 
    528             <Width>3.75cm</Width> 
     527            <Width>3cm</Width> 
    529528          </TableColumn> 
    530529        </TableColumns> 
  • branches/Abonament/SQL/Views/VIEW_RAPORT_ZMIAN_EMISJI.txt

    r754 r769  
    3232FROM dbo.zmianyEmisji ZE  
    3333LEFT JOIN dbo.[UKA¯E SIÊ W NR] U ON ZE.idEmisji = U.id  
    34 WHERE ZE.popNrWyd > 0 
     34WHERE U.idFaktury IS NOT NULL 
    3535UNION  
    3636select U.idFaktury,U.reklamaId, ZE.idEmisji, ZE.nastNrWyd, ZE.dataZmiany, + U.netto, 0 as Korekta  
    3737FROM dbo.zmianyEmisji ZE  
    3838LEFT JOIN dbo.[UKA¯E SIÊ W NR] U ON ZE.idEmisji = U.id  
    39 WHERE ZE.nastNrWyd > 0 
     39WHERE U.idFaktury IS NOT NULL 
    4040--UNION  
    4141--SELECT idFaktury, reklamaId, ID, [Nr Wydania], dataAnulowania, -netto, 1 as Korekta