Esempio n. 1
0
 public async void removeFromBatch()
 {
     EsrTransaction.RemoveFromBatch();
     Comments = null;
     sendBatchMessage($"Transaction for {EsrTransaction.Transaction.Member.LastName} has been removed from Batch {SelectedBatch.BatchNumber}.");
     BatchTransactions = await transaction.GetBatchTransactions(SelectedBatch);
 }
Esempio n. 2
0
 private async void completeTransaction()
 {
     EsrTransaction.CompleteTransaction();
     Comments = null;
     sendTransactionMessage($"Transaction for {EsrTransaction.Transaction.Member.LastName} has been completed.");
     PendingTransactions = await transaction.GetCompleteTransactions();
 }
Esempio n. 3
0
 private async void returnToPreparer()
 {
     EsrTransaction.RejectToPreparer();
     sendTransactionMessage($"Transaction for {EsrTransaction.Transaction.Member.LastName} has been returned to the Preparers");
     Comments = null;
     if (SelectedBatch != null)
     {
         BatchTransactions = await transaction.GetBatchTransactions(SelectedBatch);
     }
     PendingTransactions = await transaction.GetNeedsConfirmedTransactions();
 }
Esempio n. 4
0
        private async void rejectToBranches()
        {
            EsrTransaction.AddComment(RejectionComment);
            EsrTransaction.RejectToBranches();
            RejectDialog = false;
            Comments     = null;
            sendTransactionMessage($"Transaction for {EsrTransaction.Transaction.Member.LastName} has been Rejected to the Branches.");
            PendingTransactions = await transaction.GetNeedsConfirmedTransactions();

            RejectionComment = new Comment();
        }
Esempio n. 5
0
        public async void BuildLists()
        {
            UploadVisibility   = Visibility.Collapsed;
            IsVisible          = true;
            TransactionComment = comment;
            EsrTransactions    = await EsrTransaction.GetNotBatched();

            Transactions = EsrTransactions;
            Batches      = await batch.GetWorkingBatches();

            DocumentTypes = await EsrTransaction.GetDocTypes();

            IsVisible = false;
        }