Rock.Apps.CheckScannerUtility.BatchPage.ShowTransactionGridItemDetail C# (CSharp) Méthode

ShowTransactionGridItemDetail() private méthode

Shows the transaction grid item detail.
private ShowTransactionGridItemDetail ( ) : void
Résultat void
        private void ShowTransactionGridItemDetail()
        {
            try
            {
                FinancialTransaction financialTransaction = grdBatchItems.SelectedValue as FinancialTransaction;

                if ( financialTransaction != null )
                {
                    RockConfig config = RockConfig.Load();
                    RockRestClient client = new RockRestClient( config.RockBaseUrl );
                    client.Login( config.Username, config.Password );
                    financialTransaction.Images = client.GetData<List<FinancialTransactionImage>>( "api/FinancialTransactionImages", string.Format( "TransactionId eq {0}", financialTransaction.Id ) );
                    BatchItemDetailPage.batchPage = this;
                    BatchItemDetailPage.FinancialTransaction = financialTransaction;
                    this.NavigationService.Navigate( BatchItemDetailPage );
                }
            }
            catch ( Exception ex )
            {
                ShowException( ex );
            }
        }