Ejemplo n.º 1
0
 private void SaveOfferte(bool volledig)
 {
     if (Acumulator.Instance().HuidigGebruiker.Rol != UserRole.Demo && SaveNeeded)
     {
         //check for changes
         SaveLoadXML slx = new SaveLoadXML();
         slx.SaveOfferte(Acumulator.Instance().OTracker.offerteRuimte_, volledig, this);
         LogHelper.SendLog("Offerte Saved by " + Acumulator.Instance().HuidigGebruiker.GebruikersNaam + " - Bnr: " + Acumulator.Instance().Bouwnr, LogType.activity);
         SaveNeeded        = false;
         SaveXml.IsEnabled = false;
         //MessageBox.Show("Offerte Succesvol Opgeslagen");
         //MakePdf();
         NewStatusBox.Visibility = System.Windows.Visibility.Collapsed;
         Acumulator.Instance().BB.ValidateAllMarks(null);
     }
 }