Skip to content

Commit

Permalink
fix: renamed variable for clarity
Browse files Browse the repository at this point in the history
  • Loading branch information
AbleKSaju committed Jan 13, 2025
1 parent ad07746 commit 2b0821b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions models/baseModels/Invoice/Invoice.ts
Original file line number Diff line number Diff line change
Expand Up @@ -983,12 +983,12 @@ export abstract class Invoice extends Transactional {
let linkedEntries;

if (this.returnAgainst) {
const someDOC = (await this.fyo.doc.getDoc(
const sinvDoc = (await this.fyo.doc.getDoc(
ModelNameEnum.SalesInvoice,
this.returnAgainst
)) as SalesInvoice;

linkedEntries = await getLinkedEntries(someDOC);
linkedEntries = await getLinkedEntries(sinvDoc);
}

const schemaName = this.stockTransferSchemaName;
Expand Down

0 comments on commit 2b0821b

Please sign in to comment.