GnuCash  5.6-150-g038405b370+
Public Member Functions
PageStockAmount Class Reference

Stock Amount page. More...

Public Member Functions

 PageStockAmount (GtkBuilder *builder, Account *account)
 
void prepare (StockTransactionEntry *)
 
gnc_numeric get_stock_amount ()
 
void set_stock_amount (std::string new_amount_str)
 
void connect (StockTransactionEntry *entry)
 

Detailed Description

Stock Amount page.

Display and the amount entered depend on the type of the transaction. It always displays the balanance on the transaction date before the transaction. For buy and sell transactions it collects the number of units bought or sold (always as a positive number) and displays the new balance. For split and reverse-split transactions it collects the balance after the transaction and computes the change in the amount of shares and the split ratio, displaying the latter.

Definition at line 1887 of file assistant-stock-transaction.cpp.


The documentation for this class was generated from the following file: