the specific 'printable' name.
* src/business/business-core/gncInvoice.c: if an invoice is owned
by an EMPLOYEE, then consider it an expense voucher. Check the
entry payment-type and post directly to a CC account if one is
available.
* src/business/business-core/gncOwner.c: use the employee->address->name
instead of the employee->username
* src/business/business-gnome/business-gnome.scm: add employee items
to the main menu
* src/business/business-gnome/dialog-employee.c:
- add a UI to choose an employee credit-card account
- add "expense vouchers" and "payments" to the employee search results
- change the search criteria and result column order
* src/business/business-gnome/dialog-invoice.c:
- hide the 'job' if this is an expense voucher
- create an expense-voucher register is the invoice owner is an employee
* src/business/business-gnome/gw-business-gnome-spec.scm:
add gnc:url-type-employee
* src/business/business-gnome/glade/employee.glade: add the
UI for the CCard account
* src/business/business-gnome/glade/invoice.glade: name the job label
widget
* src/business/business-ledger/gncEntryLedger.[ch]:
- define an expense voucher register
* src/business/business-ledger/gncEntryLedgerControl.c:
add support for expense vouchers
* src/business/business-ledger/gncEntryLedgerDisplay.c:
- add support for expense vouchers
- add a component watch on the employee and refresh if it changes.
this lets us change the available payment options based on whether
the employee has a ccard account assigned.
* src/business/business-ledger/gncEntryLedgerLayout.c:
- create the layout for an expense voucher register
- widen the account columns
* src/business/business-ledger/gncEntryLedgerLoad.c:
- add support for expense vouchers
- load the payment cell based on the invoice owner -- don't allow
'charge' unless the employee actually has an assigned ccard account.
* src/business/business-ledger/gncEntryLedgerModel.c:
- add functions to support the payment cell
- add support for expense vouchers
* src/business/business-reports/business-reports.scm:
- add gnc:employee-anchor-text
- add support for employee "owner reports" and an employee link
* src/business/business-reports/invoice.scm:
label the Expense Report "properly"
* src/business/busines-reports/owner-report.scm:
create an "employee report"
* src/business/business-utils/business-prefs.scm:
save the voucher register width
Implements RFE #90371
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8057 57a11ea4-9604-0410-9ed3-97b8803252fd
If the nameList == NULL then add a blank line, to make sure
the selector list is really empty, rather than defaulting to all of
the accounts in the tree if there are none matching.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8056 57a11ea4-9604-0410-9ed3-97b8803252fd
store a Credit Card account for the employee.
* src/business/business-core/file/gnc-employee-xml-v2.c:
store the employee's CC Account in the XML file.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8048 57a11ea4-9604-0410-9ed3-97b8803252fd
* src/import-export/import-match-map.c:
* src/import-export/import-match-map.h:
Chris Morgan's Baysian Matching code, to match transactions
based on Bayesian filtering of previously matched transactions.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8044 57a11ea4-9604-0410-9ed3-97b8803252fd
* src/import-export/hbci/dialog-hbcitrans.c: Include a latest
change in OpenHBCI: Use bank code from HBCI account instead of
HBCI bank, if the available openhbci version supports it.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8043 57a11ea4-9604-0410-9ed3-97b8803252fd
gnc:owner-get-name -- it overrides the g-wrap'ed version
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8038 57a11ea4-9604-0410-9ed3-97b8803252fd
to deal with bill 'payment types', in preparation for
employee expense vouchers.
* src/business/business-core/file/gnc-entry-xml-v2.c:
add support for the bill payment type.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8033 57a11ea4-9604-0410-9ed3-97b8803252fd
* src/app-utils/prefs.scm: Adjust the names of register styles in
the preferences to those names used in the register View
menu. This didn't require changes in any option lookup code.
* src/gnome/glade/register.glade: 'Duplicate Transaction' could
either mean 'to duplicate a transaction' or 'the duplicate of a
transaction'. Both need very different translations. Therefore
changed 'Duplicate Transaction' in the register into 'Duplicate
this Transaction' to resolve that ambiguity here.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8030 57a11ea4-9604-0410-9ed3-97b8803252fd
* src/import-export/import-backend.c:
-Disable -3 punishment for transactions which have an online ID. This punished credit card transfer yet added no tangible benefit.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8023 57a11ea4-9604-0410-9ed3-97b8803252fd
* src/import-export/hbci/dialog-hbcitrans.c: Quick fix to avoid
online transfers being sent twice to the bank.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8016 57a11ea4-9604-0410-9ed3-97b8803252fd
* src/import-export/hbci/dialog-hbcitrans.c: Quick fix to avoid
online transfers being sent to the bank twice.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8012 57a11ea4-9604-0410-9ed3-97b8803252fd
fail on gcc 3.2.2 which actually cares. This is particularly
important for AC_CHECK_HEADER(S)
* configure.in: change the configure help message from
"--enable-gui" to "--disable-gui", because the default is
enabled. Also changed "--enable-error-on-warning" for the
same reason.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8010 57a11ea4-9604-0410-9ed3-97b8803252fd
rate when returning it to callers... Compute it from the
from_amount and to_amount.
* src/register/ledger-core/split-register.c: change the rate-cell
to a shares_print_info so we don't lose accuracy due to rounding
errors.
Fixes bug #106332
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8003 57a11ea4-9604-0410-9ed3-97b8803252fd
of the Finance::Quote modules require it. It doesn't always get
installed properly.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7999 57a11ea4-9604-0410-9ed3-97b8803252fd
* src/gnome/gnc-split-reg.c:
only display an euro amount in the status bar of a register window
if the account currency is a euro currency but NOT euro itself
* src/gnome-utils/gnc-account-tree.c:
auto resize balance and total columns
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7996 57a11ea4-9604-0410-9ed3-97b8803252fd
- No need to use the 'negative' field anymore
- Save the default split, even if we've got a split transaction.
It will be useful later to make sure we have a properly balanced
transaction and everything has the "right sign"
* src/import-export/qif-import/qif-objects.scm:
- remove the 'negative' field of a split
- add a 'default-split' field of a transaction
- change the split-amounts and set-split-amounts! functions
the split-amounts will also return the default-split, if it
exists. set-split-amounts! will figure out if we need to
reverse the splits by seeing if the amounts add up to 0 and
coping appropriately.. This is to fix a bug where SOME programs
make splits positive, and some make them negative. This should
deal properly in both cases, so it's a better fix for #105139.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7994 57a11ea4-9604-0410-9ed3-97b8803252fd
* src/import-export/import-backend.c:
-Remove unused code.
-Fix "destination account written to the matchmap even when autoselected" bug.
-Disable destination account matching by memo, until bayesian filtering is implemented. It's currently unlikely to help, and causes false positives since very often the type of the transaction is stored there.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7989 57a11ea4-9604-0410-9ed3-97b8803252fd
"()" as an empty list. Change it to "'()" to make it happy.
This is backwards compatible with older guiles.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7981 57a11ea4-9604-0410-9ed3-97b8803252fd
* src/app-utils/gnc-ui-util.c:
* src/app-utils/gnc-ui-util.h:
* src/gnome-utils/gnc-account-tree.c:
* src/gnome/window-acct-tree.c:
* src/scm/main-window.scm:
recycle ACCOUNT_BALANCE_EURO and ACCOUNT_TOTAL_EURO account tree
columns to display balance resp. total in default report currency
* src/import-export/import-backend.c: in
gnc_import_TransInfo_refresh_destacc move g_assert before first
assignment, otherwise I get a syntax error
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7977 57a11ea4-9604-0410-9ed3-97b8803252fd
* src/import-export/import-main-matcher.c: Patch by cmorgan to restrict iterative destination account matching to transactions AFTER the current one in the clist.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7975 57a11ea4-9604-0410-9ed3-97b8803252fd
* src/import-export/import-backend.c,h:
* src/import-export/import-main-matcher.c: Apply most of cmorgan's patch for iterative destination account matching. Optionally restricting to the transactions after the one being edited still need's to be implemented.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7969 57a11ea4-9604-0410-9ed3-97b8803252fd
as non-visible so the ledger get's sized properly
* src/gnome/dialog-scheduledxaction.c: resize the cal after the
dialog is shown, so it get's sized properly.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7961 57a11ea4-9604-0410-9ed3-97b8803252fd
If we're expanded, ignore TRANS cursor classes. This prevents
a bug where the exchange-rate dialog is realized when there really
is nothing to do (because we're in an expanded transaction).
* src/register/ledger-core/split-register-model.c
Don't PERR() if we have no account -- this prevents annoying
messages when handling multi-currency txns in the GL. Note:
all GL txns are displayed in the locale currency (if possible).
* src/register/ledger-core/split-register.c
AUTO_LEDGER and JOURNAL register types _ARE_ expanded -- return
TRUE, not FALSE.
Fixes 105319
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7957 57a11ea4-9604-0410-9ed3-97b8803252fd
* src/scm/command-line.scm:
Add a flag to make it easier to turn on and off the various debug
messages (except the tip-list, which needs to be done manually).
* src/scm/tip-list.scm: change the 'development' message
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7954 57a11ea4-9604-0410-9ed3-97b8803252fd