Zbiór zmian 470 dla trunk

Pokaż
Ignoruj:
Data:
2009-03-19 14:57:39 (17 years ago)
Autor:
marek
Opis:

re #128

Lokalizacja:
trunk
Pliki:
5 zmodyfikowane

Legenda:

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

    r467 r470  
    24942494 
    24952495                    DataRowView r = datatable.AddNew(); 
    2496                     AddUpdateKontakt(r, custId); 
     2496                    AddUpdateKontakt(r, custId, DateTime.Now.AddMonths(-1)); 
    24972497                     
    2498                     //r["customerId"] = custId; 
    2499                     //r["data"] = DateTime.Now.AddMonths(-1); 
    2500                     //r["symbol_agenta"] = User.getUser().Login; 
    2501                     //if (cbTypKontaktu.Enabled) 
    2502                     //    r["KontaktTypId"] = (byte) cbTypKontaktu.SelectedValue; 
    2503  
    25042498                    kONTAKTYBindingSource.MoveLast(); 
    25052499                    kONTAKTYBindingSource.EndEdit(); 
     
    26132607        { 
    26142608            r["customerId"] = customerId; 
    2615             r["data"] = DateTime.Now.AddMonths(-1); 
     2609            r["data"] = DateTime.Now; 
    26162610            r["symbol_agenta"] = User.getUser().Login; 
    26172611            if (cbTypKontaktu.Enabled && cbTypKontaktu.SelectedValue != null) 
     
    26192613            else 
    26202614                r["KontaktTypId"] = 1; 
     2615 
     2616            AddUpdateKontakt(r, customerId, DateTime.Now); 
     2617        } 
     2618 
     2619        private void AddUpdateKontakt(DataRowView r, int customerId, DateTime dateTime) 
     2620        { 
     2621            r["customerId"] = customerId; 
     2622            r["data"] = dateTime; 
     2623            r["symbol_agenta"] = User.getUser().Login; 
     2624            if (cbTypKontaktu.Enabled && cbTypKontaktu.SelectedValue != null) 
     2625                r["KontaktTypId"] = (byte)cbTypKontaktu.SelectedValue; 
     2626            else 
     2627                r["KontaktTypId"] = 1; 
    26212628        } 
    26222629 
     
    26262633            if (kLIENCIBindingSource.Current == null || kONTAKTYBindingSource.Current == null) return; 
    26272634            DataRowView row = (DataRowView)kLIENCIBindingSource.Current; 
    2628             AddUpdateKontakt((DataRowView)kONTAKTYBindingSource.Current, Int32.Parse(row["CustomerId"].ToString())); 
     2635            AddUpdateKontakt((DataRowView)kONTAKTYBindingSource.Current, Int32.Parse(row["CustomerId"].ToString()), DateTime.Now); 
    26292636        } 
    26302637         
  • trunk/BazaReklam/Properties/AssemblyInfo.cs

    r467 r470  
    3030// 
    3131[assembly: AssemblyVersion("1.0.0.0")] 
    32 [assembly: AssemblyFileVersion("1.0.0.85")] 
     32[assembly: AssemblyFileVersion("1.0.0.87")] 
  • trunk/BazaReklam/Raporty/ReportsTree.xml

    r466 r470  
    6666      <Report text="Raport testowy 2" path="testowyAll2" rights="" /> 
    6767    </Report> 
    68     <!--<Report text="Raporty_CT_EXPO"> 
    69       <Report text="Zestawienie Kontaktow CT_EXPO" path="ZestawienieKontaktowCT_EXPO" rights="k" /> 
    70       <Report text="Sprzedaz Reklam CT_EXPO" path="SprzedazReklamCT_EXPO" rights="k" /> 
    71       <Report text="Rozliczenie Wplywow Wg Daty Wplaty CT_EXPO" path="RozliczenieWplywowWgDatyWplatyCT_EXPO" rights="k" /> 
    72     </Report>--> 
    7368    <Report text="Koszty biur"> 
    7469      <Report text="Koszty biur" path="KosztyBiur" rights="k" /> 
  • trunk/BazaReklam/app.config

    r469 r470  
    1212    <add name="BAZA_REKLAM" connectionString="Data Source=sql.ct.com.pl;Initial Catalog=BAZA_REKLAM;Persist Security Info=True" 
    1313      providerName="System.Data.SqlClient" /> 
    14     <add name="BAZA_REKLAM_TEST" connectionString="Data Source=sql.ct.com.pl;Initial Catalog=BAZA_REKLAM_TEST;Persist Security Info=True" 
    15       providerName="System.Data.SqlClient" /> 
     14    <!--<add name="BAZA_REKLAM_TEST" connectionString="Data Source=sql.ct.com.pl;Initial Catalog=BAZA_REKLAM_TEST;Persist Security Info=True" 
     15      providerName="System.Data.SqlClient" />--> 
    1616  </connectionStrings> 
    1717  <applicationSettings> 
  • trunk/BazaReklamSetup/BazaReklamSetup.vdproj

    r467 r470  
    762762        "Name" = "8:Microsoft Visual Studio" 
    763763        "ProductName" = "8:Baza Reklam" 
    764         "ProductCode" = "8:{1F493BF2-537C-4B2C-B8DC-FE3DD5A38CC1}" 
    765         "PackageCode" = "8:{CFB556B3-88B7-4358-B831-23BAB85F7B37}" 
     764        "ProductCode" = "8:{2AE634B7-64F7-4180-AA7B-15DBF14D3DCD}" 
     765        "PackageCode" = "8:{4D99F805-4DDF-4E72-9D58-A036B32F9C8B}" 
    766766        "UpgradeCode" = "8:{4E2DBBA4-3139-4790-8DDB-7AADFC963A7D}" 
    767767        "RestartWWWService" = "11:FALSE" 
     
    769769        "DetectNewerInstalledVersion" = "11:TRUE" 
    770770        "InstallAllUsers" = "11:TRUE" 
    771         "ProductVersion" = "8:1.0.85" 
     771        "ProductVersion" = "8:1.0.87" 
    772772        "Manufacturer" = "8:AACT" 
    773773        "ARPHELPTELEPHONE" = "8:"