r17394 - gnucash/branches/2.2/src/import-export/qif-import - [r17344] QIF Import: Prepend the default investment-related account names with the standard top-level accounts of "Income", "Expenses", and "Equity".
Andreas Köhler
andi5 at cvs.gnucash.org
Tue Jul 22 18:35:17 EDT 2008
Author: andi5
Date: 2008-07-22 18:35:16 -0400 (Tue, 22 Jul 2008)
New Revision: 17394
Trac: http://svn.gnucash.org/trac/changeset/17394
Modified:
gnucash/branches/2.2/src/import-export/qif-import/qif-dialog-utils.scm
Log:
[r17344] QIF Import: Prepend the default investment-related account names with the standard top-level accounts of "Income", "Expenses", and "Equity".
Committed by cedayiv.
Modified: gnucash/branches/2.2/src/import-export/qif-import/qif-dialog-utils.scm
===================================================================
--- gnucash/branches/2.2/src/import-export/qif-import/qif-dialog-utils.scm 2008-07-22 22:35:07 UTC (rev 17393)
+++ gnucash/branches/2.2/src/import-export/qif-import/qif-dialog-utils.scm 2008-07-22 22:35:16 UTC (rev 17394)
@@ -10,12 +10,14 @@
(string-append brokerage (gnc-get-account-separator-string) security))
(define (default-dividend-acct brokerage security)
- (string-append (_ "Dividends") (gnc-get-account-separator-string)
+ (string-append (_ "Income") (gnc-get-account-separator-string)
+ (_ "Dividends") (gnc-get-account-separator-string)
brokerage (gnc-get-account-separator-string)
security))
(define (default-interest-acct brokerage security)
- (string-append (_ "Interest") (gnc-get-account-separator-string)
+ (string-append (_ "Income") (gnc-get-account-separator-string)
+ (_ "Interest") (gnc-get-account-separator-string)
brokerage
(if (string=? security "")
""
@@ -23,35 +25,45 @@
security))))
(define (default-capital-return-acct brokerage security)
- (string-append (_ "Cap Return") (gnc-get-account-separator-string)
+ (string-append (_ "Income") (gnc-get-account-separator-string)
+ (_ "Cap Return") (gnc-get-account-separator-string)
brokerage (gnc-get-account-separator-string)
security))
(define (default-cglong-acct brokerage security)
- (string-append (_ "Cap. gain (long)") (gnc-get-account-separator-string)
+ (string-append (_ "Income") (gnc-get-account-separator-string)
+ (_ "Cap. gain (long)") (gnc-get-account-separator-string)
brokerage (gnc-get-account-separator-string)
security))
(define (default-cgmid-acct brokerage security)
- (string-append (_ "Cap. gain (mid)") (gnc-get-account-separator-string)
+ (string-append (_ "Income") (gnc-get-account-separator-string)
+ (_ "Cap. gain (mid)") (gnc-get-account-separator-string)
brokerage (gnc-get-account-separator-string)
security))
(define (default-cgshort-acct brokerage security)
- (string-append (_ "Cap. gain (short)") (gnc-get-account-separator-string)
+ (string-append (_ "Income") (gnc-get-account-separator-string)
+ (_ "Cap. gain (short)") (gnc-get-account-separator-string)
brokerage (gnc-get-account-separator-string)
security))
-(define (default-equity-holding security) (_ "Retained Earnings"))
+(define (default-equity-holding security)
+ (string-append (_ "Equity") (gnc-get-account-separator-string)
+ (_ "Retained Earnings")))
-(define (default-equity-account) (_ "Retained Earnings"))
+(define (default-equity-account)
+ (string-append (_ "Equity") (gnc-get-account-separator-string)
+ (_ "Retained Earnings")))
(define (default-commission-acct brokerage)
- (string-append (_ "Commissions") (gnc-get-account-separator-string)
+ (string-append (_ "Expenses") (gnc-get-account-separator-string)
+ (_ "Commissions") (gnc-get-account-separator-string)
brokerage))
(define (default-margin-interest-acct brokerage)
- (string-append (_ "Margin Interest") (gnc-get-account-separator-string)
+ (string-append (_ "Expenses") (gnc-get-account-separator-string)
+ (_ "Margin Interest") (gnc-get-account-separator-string)
brokerage))
(define (default-unspec-acct)
@@ -889,5 +901,3 @@
(set-cdr! match #f))
(set! i (+ 1 i)))
matches))))
-
-
More information about the gnucash-changes
mailing list