Beispiel #1
0
        public void OnInvDatesChanged(object sender, EventArgs args)
        {
            InvoiceDatesChangedEventArgs arg = args as InvoiceDatesChangedEventArgs;

            InvoiceDate    = arg.InvoiceDate;
            InvoiceDueDate = arg.InvoiceDueDate;
            BaseAmount     = arg.BaseAmount;
        }
Beispiel #2
0
        public void Update(InvoiceDatesChangedEventArgs arg)
        {
            Log.TraceWrite(CallerInfo.Create(), "at Entry");
            int skontoTageSave = _skontoFaelligDate.Days(_invoiceDate); // Alte SKontotage

            InvoiceDate    = arg.InvoiceDate;
            SkontoTage     = skontoTageSave;
            InvoiceDueDate = arg.InvoiceDueDate;
        }
Beispiel #3
0
        private void UpdateSkonto(SkontoViewModel model)
        {
            Log.TraceWrite(CallerInfo.Create(), "at Entry");
            InvoiceDatesChangedEventArgs args = new InvoiceDatesChangedEventArgs();

            args.InvoiceDate    = InvoiceDate;
            args.InvoiceDueDate = InvoiceDueDate;
            args.BaseAmount     = BaseAmount;
            model.Update(args);
            return;
        }
Beispiel #4
0
        public void OnInvDueDateChanged(object sender, EventArgs args)
        {
            InvoiceDatesChangedEventArgs arg = args as InvoiceDatesChangedEventArgs;

            Update(arg);
        }