mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-19 22:30:31 +00:00
spelling: adjustment
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
This commit is contained in:
@@ -41,7 +41,7 @@ export interface ICashFlowStatementAccountMeta {
|
|||||||
code: string;
|
code: string;
|
||||||
total: ICashFlowStatementTotal;
|
total: ICashFlowStatementTotal;
|
||||||
accountType: string;
|
accountType: string;
|
||||||
adjusmentType: string;
|
adjustmentType: string;
|
||||||
sectionType: ICashFlowStatementSectionType.ACCOUNT;
|
sectionType: ICashFlowStatementSectionType.ACCOUNT;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -197,7 +197,7 @@ export default class CashFlowStatement extends compose(
|
|||||||
code: account.code,
|
code: account.code,
|
||||||
label: account.name,
|
label: account.name,
|
||||||
accountType: account.accountType,
|
accountType: account.accountType,
|
||||||
adjusmentType: relation.direction,
|
adjustmentType: relation.direction,
|
||||||
total: this.getAmountMeta(closingBalance),
|
total: this.getAmountMeta(closingBalance),
|
||||||
sectionType: ICashFlowStatementSectionType.ACCOUNT,
|
sectionType: ICashFlowStatementSectionType.ACCOUNT,
|
||||||
};
|
};
|
||||||
@@ -421,7 +421,7 @@ export default class CashFlowStatement extends compose(
|
|||||||
code: account.code,
|
code: account.code,
|
||||||
label: account.name,
|
label: account.name,
|
||||||
accountType: account.accountType,
|
accountType: account.accountType,
|
||||||
adjusmentType: relation.direction,
|
adjustmentType: relation.direction,
|
||||||
total: this.getAmountMeta(closingBalance),
|
total: this.getAmountMeta(closingBalance),
|
||||||
sectionType: ICashFlowStatementSectionType.ACCOUNT,
|
sectionType: ICashFlowStatementSectionType.ACCOUNT,
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -165,7 +165,7 @@ export const CashFlowStatementDatePeriods = (Base) =>
|
|||||||
.whereAccountId(node.id)
|
.whereAccountId(node.id)
|
||||||
.getClosingBalance();
|
.getClosingBalance();
|
||||||
|
|
||||||
return this.amountAdjustment(node.adjusmentType, closingBalance);
|
return this.amountAdjustment(node.adjustmentType, closingBalance);
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -160,8 +160,8 @@ export default class InventoryDetails extends FinancialSheet {
|
|||||||
const initial = this.getNumberMeta(0);
|
const initial = this.getNumberMeta(0);
|
||||||
|
|
||||||
const mapAccumAppender = (a, b) => {
|
const mapAccumAppender = (a, b) => {
|
||||||
const adjusmtent = b.direction === 'OUT' ? -1 : 1;
|
const adjustment = b.direction === 'OUT' ? -1 : 1;
|
||||||
const total = a.runningValuation.number + b.cost.number * adjusmtent;
|
const total = a.runningValuation.number + b.cost.number * adjustment;
|
||||||
const totalMeta = this.getNumberMeta(total, { excerptZero: false });
|
const totalMeta = this.getNumberMeta(total, { excerptZero: false });
|
||||||
const accum = { ...b, runningValuation: totalMeta };
|
const accum = { ...b, runningValuation: totalMeta };
|
||||||
|
|
||||||
|
|||||||
@@ -23,7 +23,7 @@ export default function InventoryAdjustmentDetail() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Invenoty adjusment details tabs.
|
* Invenoty adjustment details tabs.
|
||||||
* @returns {React.JSX}
|
* @returns {React.JSX}
|
||||||
*/
|
*/
|
||||||
function InventoryAdjustmentDetailTabs() {
|
function InventoryAdjustmentDetailTabs() {
|
||||||
|
|||||||
@@ -11,7 +11,7 @@ import JournalEntriesTable, {
|
|||||||
} from '../../JournalEntriesTable/JournalEntriesTable';
|
} from '../../JournalEntriesTable/JournalEntriesTable';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Inentory adjustmet detail GL entries panel.
|
* Inentory adjustment detail GL entries panel.
|
||||||
* @returns {React.JSX}
|
* @returns {React.JSX}
|
||||||
*/
|
*/
|
||||||
export default function InventoryAdjustmentDetailGLEntriesPanel() {
|
export default function InventoryAdjustmentDetailGLEntriesPanel() {
|
||||||
|
|||||||
Reference in New Issue
Block a user