- Data:
- 2009-03-19 14:57:39 (17 years ago)
- Lokalizacja:
- trunk
- Pliki:
-
- 5 zmodyfikowane
-
BazaReklam/ClientsForm.cs (zmodyfikowane) (4 diffs)
-
BazaReklam/Properties/AssemblyInfo.cs (zmodyfikowane) (1 diff)
-
BazaReklam/Raporty/ReportsTree.xml (zmodyfikowane) (1 diff)
-
BazaReklam/app.config (zmodyfikowane) (1 diff)
-
BazaReklamSetup/BazaReklamSetup.vdproj (zmodyfikowane) (2 diffs)
Legenda:
- Bez zmian
- Dodane
- Usunięte
-
trunk/BazaReklam/ClientsForm.cs
r467 r470 2494 2494 2495 2495 DataRowView r = datatable.AddNew(); 2496 AddUpdateKontakt(r, custId );2496 AddUpdateKontakt(r, custId, DateTime.Now.AddMonths(-1)); 2497 2497 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 2504 2498 kONTAKTYBindingSource.MoveLast(); 2505 2499 kONTAKTYBindingSource.EndEdit(); … … 2613 2607 { 2614 2608 r["customerId"] = customerId; 2615 r["data"] = DateTime.Now .AddMonths(-1);2609 r["data"] = DateTime.Now; 2616 2610 r["symbol_agenta"] = User.getUser().Login; 2617 2611 if (cbTypKontaktu.Enabled && cbTypKontaktu.SelectedValue != null) … … 2619 2613 else 2620 2614 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; 2621 2628 } 2622 2629 … … 2626 2633 if (kLIENCIBindingSource.Current == null || kONTAKTYBindingSource.Current == null) return; 2627 2634 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); 2629 2636 } 2630 2637 -
trunk/BazaReklam/Properties/AssemblyInfo.cs
r467 r470 30 30 // 31 31 [assembly: AssemblyVersion("1.0.0.0")] 32 [assembly: AssemblyFileVersion("1.0.0.8 5")]32 [assembly: AssemblyFileVersion("1.0.0.87")] -
trunk/BazaReklam/Raporty/ReportsTree.xml
r466 r470 66 66 <Report text="Raport testowy 2" path="testowyAll2" rights="" /> 67 67 </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>-->73 68 <Report text="Koszty biur"> 74 69 <Report text="Koszty biur" path="KosztyBiur" rights="k" /> -
trunk/BazaReklam/app.config
r469 r470 12 12 <add name="BAZA_REKLAM" connectionString="Data Source=sql.ct.com.pl;Initial Catalog=BAZA_REKLAM;Persist Security Info=True" 13 13 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" />--> 16 16 </connectionStrings> 17 17 <applicationSettings> -
trunk/BazaReklamSetup/BazaReklamSetup.vdproj
r467 r470 762 762 "Name" = "8:Microsoft Visual Studio" 763 763 "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}" 766 766 "UpgradeCode" = "8:{4E2DBBA4-3139-4790-8DDB-7AADFC963A7D}" 767 767 "RestartWWWService" = "11:FALSE" … … 769 769 "DetectNewerInstalledVersion" = "11:TRUE" 770 770 "InstallAllUsers" = "11:TRUE" 771 "ProductVersion" = "8:1.0.8 5"771 "ProductVersion" = "8:1.0.87" 772 772 "Manufacturer" = "8:AACT" 773 773 "ARPHELPTELEPHONE" = "8:"
