|
GnuCash 038f90a+
|
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) |
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 1890 of file assistant-stock-transaction.cpp.
| PageStockAmount::PageStockAmount | ( | GtkBuilder * | builder, |
| Account * | account | ||
| ) |
Definition at line 1908 of file assistant-stock-transaction.cpp.
| void PageStockAmount::connect | ( | StockTransactionEntry * | entry | ) |
Definition at line 1950 of file assistant-stock-transaction.cpp.
|
inline |
Definition at line 1903 of file assistant-stock-transaction.cpp.
| void PageStockAmount::prepare | ( | StockTransactionEntry * | entry | ) |
Definition at line 1921 of file assistant-stock-transaction.cpp.
| void PageStockAmount::set_stock_amount | ( | std::string | new_amount_str | ) |
Definition at line 1957 of file assistant-stock-transaction.cpp.