Pokaż
Ignoruj:
Pliki:
1 zmodyfikowane

Legenda:

Bez zmian
Dodane
Usunięte
  • Baza Reklam 2 - Faktury/ClientsForm.cs

    r12 r28  
    11591159 
    11601160                    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;      
    11731166                } 
    11741167                else { 
     
    14741467                if (row["id_faktury"] != DBNull.Value) 
    14751468                { 
     1469                    this.Cursor = Cursors.WaitCursor; 
     1470 
    14761471                    int idFaktury = Convert.ToInt32(row["id_faktury"]); 
    14771472 
    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;      
    14881477                } 
    14891478            }