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); }
private async void completeTransaction() { EsrTransaction.CompleteTransaction(); Comments = null; sendTransactionMessage($"Transaction for {EsrTransaction.Transaction.Member.LastName} has been completed."); PendingTransactions = await transaction.GetCompleteTransactions(); }
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(); }
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(); }
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; }