private void insert(Transactions tran)
        {
            int             transactionID = tran.Serial;
            InsertDebitNote dn            = new InsertDebitNote();
            bool            loadMessage   = dn.Load(transactionID);

            if (loadMessage == true)
            {
                this.NavigationService.Navigate(new DebitNoteCreation(dn));
            }
            else
            {
                MessageBox.Show("Some of the date entries for this transaction are empty, please go back to complete them", "ERROR");
            }
        }
예제 #2
0
 public DebitNoteCreation(InsertDebitNote id) :
     this()
 {
     this.DataContext = id;
 }