Fix off by one error in BalancesAtToBalancesBetween
This commit is contained in:
parent
ed0fbfb5dd
commit
959a8d8fb2
@ -139,7 +139,7 @@ impl ReportingStep for BalancesAtToBalancesBetween {
|
|||||||
name: self.step_name,
|
name: self.step_name,
|
||||||
kind: ReportingProductKind::BalancesAt,
|
kind: ReportingProductKind::BalancesAt,
|
||||||
args: Box::new(DateArgs {
|
args: Box::new(DateArgs {
|
||||||
date: self.args.date_start.clone(),
|
date: self.args.date_start.pred_opt().unwrap(), // Opening balance is the closing balance of the preceding day
|
||||||
}),
|
}),
|
||||||
},
|
},
|
||||||
ReportingProductId {
|
ReportingProductId {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user