mirror of
https://github.com/Gnucash/gnucash.git
synced 2024-11-26 02:40:43 -06:00
Merge branch 'maint-progress3' into maint #1312
This commit is contained in:
commit
736d223198
@ -265,22 +265,6 @@ gnc_entry_ledger_config_cells (GncEntryLedger *ledger)
|
||||
((ComboCell *)
|
||||
gnc_table_layout_get_cell (ledger->table->layout, ENTRY_ACTN_CELL), FALSE);
|
||||
|
||||
/* Use GNC_COMMODITY_MAX_FRACTION for all prices and quantities */
|
||||
gnc_price_cell_set_fraction
|
||||
((PriceCell *)
|
||||
gnc_table_layout_get_cell (ledger->table->layout, ENTRY_PRIC_CELL),
|
||||
GNC_COMMODITY_MAX_FRACTION);
|
||||
|
||||
gnc_price_cell_set_fraction
|
||||
((PriceCell *)
|
||||
gnc_table_layout_get_cell (ledger->table->layout, ENTRY_DISC_CELL),
|
||||
GNC_COMMODITY_MAX_FRACTION);
|
||||
|
||||
gnc_price_cell_set_fraction
|
||||
((PriceCell *) gnc_table_layout_get_cell (ledger->table->layout,
|
||||
ENTRY_QTY_CELL),
|
||||
GNC_COMMODITY_MAX_FRACTION);
|
||||
|
||||
/* add menu items for the action and payment cells */
|
||||
gnc_entry_ledger_config_action (ledger);
|
||||
}
|
||||
|
@ -447,7 +447,9 @@ for styling the invoice. Please see the exported report for the CSS class names.
|
||||
(addif (quantity-col used-columns)
|
||||
(gnc:make-html-table-cell/markup
|
||||
"number-cell"
|
||||
(gncEntryGetDocQuantity entry credit-note?)))
|
||||
(xaccPrintAmount
|
||||
(gncEntryGetDocQuantity entry credit-note?)
|
||||
(gnc-default-print-info #f))))
|
||||
|
||||
(addif (price-col used-columns)
|
||||
(gnc:make-html-table-cell/markup
|
||||
|
@ -1090,7 +1090,7 @@ gnc_numeric_to_decimal(gnc_numeric *a, guint8 *max_decimal_places)
|
||||
}
|
||||
catch (const std::exception& err)
|
||||
{
|
||||
PWARN("%s", err.what());
|
||||
PINFO ("%s", err.what());
|
||||
return FALSE;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user