- Pliki:
-
- 1 zmodyfikowane
-
Baza Reklam 2 - Faktury/ClientsForm.cs (zmodyfikowane) (2 diffs)
Legenda:
- Bez zmian
- Dodane
- Usunięte
-
Baza Reklam 2 - Faktury/ClientsForm.cs
r12 r28 1159 1159 1160 1160 int idFaktury = Convert.ToInt32(row["id_faktury"]); 1161 if (User.getUser().IdAgencji == 6) 1162 { 1163 FactureViewer fv = new FactureViewer(idFaktury); 1164 fv.ShowDialog(); 1165 } 1166 else 1167 { 1168 FactureViewer fv = new FactureViewer(idFaktury, true); 1169 fv.ShowDialog(); 1170 } 1171 1172 this.Cursor = Cursors.Default; 1161 1162 FactureViewer fv = new FactureViewer(idFaktury, true, 0); 1163 fv.ShowDialog(); 1164 1165 this.Cursor = Cursors.Default; 1173 1166 } 1174 1167 else { … … 1474 1467 if (row["id_faktury"] != DBNull.Value) 1475 1468 { 1469 this.Cursor = Cursors.WaitCursor; 1470 1476 1471 int idFaktury = Convert.ToInt32(row["id_faktury"]); 1477 1472 1478 if (User.getUser().IdAgencji == 6) 1479 { 1480 FactureViewer fv = new FactureViewer(idFaktury); 1481 fv.ShowDialog(); 1482 } 1483 else 1484 { 1485 FactureViewer fv = new FactureViewer(idFaktury, true); 1486 fv.ShowDialog(); 1487 } 1473 FactureViewer fv = new FactureViewer(idFaktury, true, 0); 1474 fv.ShowDialog(); 1475 1476 this.Cursor = Cursors.Default; 1488 1477 } 1489 1478 }
