- Pliki:
-
- 1 zmodyfikowane
-
Baza Reklam 2 - Faktury/ClientsForm.cs (zmodyfikowane) (2 diffs)
Legenda:
- Bez zmian
- Dodane
- Usunięte
-
Baza Reklam 2 - Faktury/ClientsForm.cs
r28 r12 1159 1159 1160 1160 int idFaktury = Convert.ToInt32(row["id_faktury"]); 1161 1162 FactureViewer fv = new FactureViewer(idFaktury, true, 0); 1163 fv.ShowDialog(); 1164 1165 this.Cursor = Cursors.Default; 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; 1166 1173 } 1167 1174 else { … … 1467 1474 if (row["id_faktury"] != DBNull.Value) 1468 1475 { 1469 this.Cursor = Cursors.WaitCursor;1470 1471 1476 int idFaktury = Convert.ToInt32(row["id_faktury"]); 1472 1477 1473 FactureViewer fv = new FactureViewer(idFaktury, true, 0); 1474 fv.ShowDialog(); 1475 1476 this.Cursor = Cursors.Default; 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 } 1477 1488 } 1478 1489 }
