2003-05-29 Christian Stimming <stimming@tuhh.de>

* src/import-export/hbci/gnc-hbci-transfer.c: Make sure the amount
	stays a decimal number instead of some fraction.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8454 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
Christian Stimming 2003-05-29 21:21:35 +00:00
parent ff4ed7a94b
commit 8229a40084
4 changed files with 11 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2003-05-29 Christian Stimming <stimming@tuhh.de>
* src/import-export/hbci/gnc-hbci-transfer.c: Make sure the amount
stays a decimal number instead of some fraction.
2003-05-29 Derek Atkins <derek@ihtfp.com>
* src/business/business-core/gncInvoice.[ch]: add APIs to get

View File

@ -94,6 +94,7 @@ gnc_hbci_trans (GtkWidget *parent,
GNCInteractor *interactor,
const HBCI_Account *h_acc,
const HBCI_Customer *customer,
Account *gnc_acc,
GNC_HBCI_Transtype trans_type,
GList **templ)
{
@ -186,6 +187,8 @@ gnc_hbci_trans (GtkWidget *parent,
gtk_box_pack_start_defaults(GTK_BOX(amount_hbox), td.amount_edit);
gnc_amount_edit_set_evaluate_on_enter (GNC_AMOUNT_EDIT (td.amount_edit),
TRUE);
gnc_amount_edit_set_fraction (GNC_AMOUNT_EDIT (td.amount_edit),
xaccAccountGetCommoditySCU (gnc_acc));
/* Check for what kind of transaction this should be, and change
the labels accordingly. */

View File

@ -30,6 +30,7 @@
#include <openhbci/customer.h>
#include <openhbci/transaction.h>
#include "Account.h"
#include "hbci-interaction.h"
typedef enum GNC_HBCI_Transtype {
@ -44,6 +45,7 @@ gnc_hbci_trans (GtkWidget *parent,
GNCInteractor *interactor,
const HBCI_Account *h_acc,
const HBCI_Customer *customer,
Account *gnc_acc,
GNC_HBCI_Transtype type,
GList **templ);

View File

@ -101,6 +101,7 @@ gnc_hbci_maketrans (GtkWidget *parent, Account *gnc_acc,
/* Now open the HBCI_trans_dialog. */
HBCI_Transaction *h_trans = gnc_hbci_trans (parent, api, interactor,
h_acc, customer,
gnc_acc,
trans_type, &template_list);
/* New templates? If yes, store them */