Skip to content

Commit

Permalink
Fix: rename closing and opening to have "time" at the end.
Browse files Browse the repository at this point in the history
  • Loading branch information
zoernert committed Feb 13, 2024
1 parent d14e302 commit 4d1fe72
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions framework/services/debit.service.js
Original file line number Diff line number Diff line change
Expand Up @@ -296,15 +296,15 @@ module.exports = {
}
current_debit.finalReading = rt;
// Collect all clearances in Time Frame
current_debit.invoice.opening = new Date().getTime(); // TODO Set with previous credit note
current_debit.invoice.openingTime = new Date().getTime(); // TODO Set with previous credit note

let offset = 0;
let results = 100;

let transient_clearing = {
meterId:current_debit.meterId,
reading:current_debit.invoice.endReading,
endTime:current_debit.invoice.closing
endTime:current_debit.invoice.closingTime
}

while(results == 100) {
Expand Down

0 comments on commit 4d1fe72

Please sign in to comment.