Zbiór zmian 100 dla Baza Reklam 2 - Faktury
- Data:
- 2008-12-30 21:16:18 (17 years ago)
- Lokalizacja:
- Baza Reklam 2 - Faktury
- Pliki:
-
- 6 zmodyfikowane
-
AddZamowienieForm.Designer.cs (zmodyfikowane) (1 diff)
-
Baza Reklam.suo (zmodyfikowane) (poprzedni)
-
Classes/Utils.cs (zmodyfikowane) (2 diffs)
-
FacturesFormNEW.cs (zmodyfikowane) (4 diffs)
-
OrderDetails.cs (zmodyfikowane) (3 diffs)
-
Raporty/zamowienie2.rdlc (zmodyfikowane) (4 diffs)
Legenda:
- Bez zmian
- Dodane
- Usunięte
-
Baza Reklam 2 - Faktury/AddZamowienieForm.Designer.cs
r84 r100 270 270 this.iD_KONTAComboBox.Size = new System.Drawing.Size(144, 21); 271 271 this.iD_KONTAComboBox.TabIndex = 56; 272 this.iD_KONTAComboBox.ValueMember = " IdKonta";272 this.iD_KONTAComboBox.ValueMember = "id"; 273 273 // 274 274 // kONTABindingSource -
Baza Reklam 2 - Faktury/Classes/Utils.cs
r93 r100 172 172 public static int numerNowejFaktury(string tagAgenta, int year) 173 173 { 174 string query = "select count(*) from faktury where [numer_roz]='" + tagAgenta + "' AND [numer_rok]=" + year;174 string query = "select count(*) from faktury where korekta = 0 and [numer_roz]='" + tagAgenta + "' AND [numer_rok]=" + year; 175 175 176 176 int nr = (int)ExecuteQuery(query); … … 259 259 public static int numerNowejFakturyKorekty(string tagAgenta, int year) 260 260 { 261 string query = "select count(*) from faktury where idFakturyKorekta is not nullAND [numer_rok]=" + year;261 string query = "select count(*) from faktury where korekta=1 AND [numer_rok]=" + year; 262 262 263 263 int nr = (int)ExecuteQuery(query); -
Baza Reklam 2 - Faktury/FacturesFormNEW.cs
r91 r100 490 490 { 491 491 DataRowView row = (DataRowView)VIEW_ZESTAWIENIE_FAKTUR_NOWEBindingSource.Current; 492 492 493 493 int custID = Convert.ToInt32(row["ID_NABYWCY"]); 494 495 494 ClientsForm.getClientsForm((MDIBazaReklam)this.MdiParent).pokazKlienta(custID); 496 495 … … 498 497 499 498 ClientsForm.getClientsForm((MDIBazaReklam)this.MdiParent).Show(); 500 501 499 } 502 500 } … … 512 510 kodRozliczeniowyToolStripTextBox.Text = User.getUser().Kod_agenta; 513 511 } 514 515 516 512 } 517 513 … … 538 534 != Convert.ToDecimal(r.Cells["sumaNettoZEmisji"].Value)) 539 535 { 540 r.DefaultCellStyle.ForeColor = Color. Red;536 r.DefaultCellStyle.ForeColor = Color.DarkSlateBlue; 541 537 } 542 538 } -
Baza Reklam 2 - Faktury/OrderDetails.cs
r94 r100 833 833 DataView datatable = (DataView)this.rEKLAMABindingSource.List; 834 834 DataRowView row = datatable.AddNew(); 835 835 836 836 row["CustomerId"] = this.customerId; 837 837 row["DATA ZAMÓWIENIA"] = DateTime.Now; … … 1040 1040 //oznaczenie ZD 1041 1041 ZDpanel.BackColor = zatwiedzonoDoDruku ? Color.LightGreen : Color.Red; 1042 1043 1042 1044 1043 1045 //UPRAWnienia … … 1048 1050 if (!User.getUser().St_kierownik) 1049 1051 { 1052 cENA_JEDNTextBox.ReadOnly = zatwiedzonoDoDruku; 1053 rABATTextBox.ReadOnly = zatwiedzonoDoDruku; 1054 1050 1055 if (wystawionoFakture) 1051 1056 { -
Baza Reklam 2 - Faktury/Raporty/zamowienie2.rdlc
r98 r100 1297 1297 <BorderStyle> 1298 1298 <Top>Solid</Top> 1299 <Bottom> Solid</Bottom>1299 <Bottom>None</Bottom> 1300 1300 </BorderStyle> 1301 1301 <FontSize>16pt</FontSize> … … 2327 2327 <rd:DefaultName>textbox44</rd:DefaultName> 2328 2328 <Style> 2329 <PaddingLeft>2pt</PaddingLeft> 2330 <PaddingRight>2pt</PaddingRight> 2331 <PaddingTop>2pt</PaddingTop> 2332 <PaddingBottom>2pt</PaddingBottom> 2329 <BorderColor> 2330 <Default>DimGray</Default> 2331 </BorderColor> 2332 <BorderStyle> 2333 <Default>Solid</Default> 2334 </BorderStyle> 2335 <BorderWidth> 2336 <Default>0.5pt</Default> 2337 </BorderWidth> 2338 <FontSize>8pt</FontSize> 2339 <FontWeight>700</FontWeight> 2340 <Format>C</Format> 2341 <PaddingLeft>2pt</PaddingLeft> 2342 <PaddingRight>2pt</PaddingRight> 2343 <PaddingTop>2pt</PaddingTop> 2344 <PaddingBottom>2pt</PaddingBottom> 2345 <Language>pl</Language> 2333 2346 </Style> 2334 2347 <ZIndex>17</ZIndex> 2335 2348 <CanGrow>true</CanGrow> 2336 <Value />2349 <Value>=Sum(Fields!NETTO.Value)</Value> 2337 2350 </Textbox> 2338 2351 </ReportItems> … … 2343 2356 <rd:DefaultName>textbox45</rd:DefaultName> 2344 2357 <Style> 2345 <PaddingLeft>2pt</PaddingLeft> 2346 <PaddingRight>2pt</PaddingRight> 2347 <PaddingTop>2pt</PaddingTop> 2348 <PaddingBottom>2pt</PaddingBottom> 2358 <BorderColor> 2359 <Default>DimGray</Default> 2360 </BorderColor> 2361 <BorderStyle> 2362 <Default>Solid</Default> 2363 </BorderStyle> 2364 <BorderWidth> 2365 <Default>0.5pt</Default> 2366 </BorderWidth> 2367 <FontSize>8pt</FontSize> 2368 <FontWeight>700</FontWeight> 2369 <Format>P</Format> 2370 <PaddingLeft>2pt</PaddingLeft> 2371 <PaddingRight>2pt</PaddingRight> 2372 <PaddingTop>2pt</PaddingTop> 2373 <PaddingBottom>2pt</PaddingBottom> 2374 <Language>pl</Language> 2349 2375 </Style> 2350 2376 <ZIndex>16</ZIndex> 2351 2377 <CanGrow>true</CanGrow> 2352 <Value />2378 <Value>=Fields!VAT.Value</Value> 2353 2379 </Textbox> 2354 2380 </ReportItems> … … 2359 2385 <rd:DefaultName>textbox46</rd:DefaultName> 2360 2386 <Style> 2361 <PaddingLeft>2pt</PaddingLeft> 2362 <PaddingRight>2pt</PaddingRight> 2363 <PaddingTop>2pt</PaddingTop> 2364 <PaddingBottom>2pt</PaddingBottom> 2387 <BorderColor> 2388 <Default>DimGray</Default> 2389 </BorderColor> 2390 <BorderStyle> 2391 <Default>Solid</Default> 2392 </BorderStyle> 2393 <BorderWidth> 2394 <Default>0.5pt</Default> 2395 </BorderWidth> 2396 <FontSize>8pt</FontSize> 2397 <FontWeight>700</FontWeight> 2398 <Format>C</Format> 2399 <PaddingLeft>2pt</PaddingLeft> 2400 <PaddingRight>2pt</PaddingRight> 2401 <PaddingTop>2pt</PaddingTop> 2402 <PaddingBottom>2pt</PaddingBottom> 2403 <Language>pl</Language> 2365 2404 </Style> 2366 2405 <ZIndex>15</ZIndex> 2367 2406 <CanGrow>true</CanGrow> 2368 <Value />2407 <Value>=Sum(Fields!PVAT.Value)</Value> 2369 2408 </Textbox> 2370 2409 </ReportItems>
