mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
changes to extend date handling
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@1466 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
parent
5cd602e0da
commit
ee19a5e7e9
@ -542,7 +542,6 @@ static void
|
|||||||
xaccSRLoadTransEntry (SplitRegister *reg, Split *split, int do_commit)
|
xaccSRLoadTransEntry (SplitRegister *reg, Split *split, int do_commit)
|
||||||
{
|
{
|
||||||
char buff[2];
|
char buff[2];
|
||||||
time_t secs;
|
|
||||||
double baln;
|
double baln;
|
||||||
int typo = reg->type & REG_TYPE_MASK;
|
int typo = reg->type & REG_TYPE_MASK;
|
||||||
/* int style = reg->type & REG_STYLE_MASK; */
|
/* int style = reg->type & REG_STYLE_MASK; */
|
||||||
@ -571,12 +570,13 @@ xaccSRLoadTransEntry (SplitRegister *reg, Split *split, int do_commit)
|
|||||||
xaccSetPriceCellValue (reg->valueCell, 0.0);
|
xaccSetPriceCellValue (reg->valueCell, 0.0);
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
|
long long secs;
|
||||||
double amt;
|
double amt;
|
||||||
char * accname=NULL;
|
char * accname=NULL;
|
||||||
Transaction *trans = xaccSplitGetParent (split);
|
Transaction *trans = xaccSplitGetParent (split);
|
||||||
|
|
||||||
secs = xaccTransGetDate (trans);
|
secs = xaccTransGetDateL (trans);
|
||||||
xaccSetDateCellValueSecs (reg->dateCell, secs);
|
xaccSetDateCellValueSecsL (reg->dateCell, secs);
|
||||||
|
|
||||||
xaccSetBasicCellValue (reg->numCell, xaccTransGetNum (trans));
|
xaccSetBasicCellValue (reg->numCell, xaccTransGetNum (trans));
|
||||||
xaccSetQuickFillCellValue (reg->descCell, xaccTransGetDescription (trans));
|
xaccSetQuickFillCellValue (reg->descCell, xaccTransGetDescription (trans));
|
||||||
|
Loading…
Reference in New Issue
Block a user