[IMP] enter invoice-po price difference in its own account
This commit is contained in:
parent
a9974711e8
commit
736a325399
@ -182,7 +182,8 @@
|
|||||||
code: 5,
|
code: 5,
|
||||||
label: "Expenses",
|
label: "Expenses",
|
||||||
GOODS_SOLD: { code: 51100, label: "Cost of Goods Sold" },
|
GOODS_SOLD: { code: 51100, label: "Cost of Goods Sold" },
|
||||||
DEPRECIATION: { code: 52500, label: "Other Operating Expenses" }
|
DEPRECIATION: { code: 52500, label: "Other Operating Expenses" },
|
||||||
|
PRICE_DIFFERENCE: { code: 53000, label: "Price Difference" }
|
||||||
};
|
};
|
||||||
var categories = Immutable.fromJS([ASSETS, LIABILITIES, EQUITY, REVENUE, EXPENSES], function (k, v) {
|
var categories = Immutable.fromJS([ASSETS, LIABILITIES, EQUITY, REVENUE, EXPENSES], function (k, v) {
|
||||||
return Immutable.Iterable.isIndexed(v)
|
return Immutable.Iterable.isIndexed(v)
|
||||||
@ -278,7 +279,7 @@
|
|||||||
}, {
|
}, {
|
||||||
label: "Supplier Bill (Invoice: $52 but PO $50)",
|
label: "Supplier Bill (Invoice: $52 but PO $50)",
|
||||||
operations: [
|
operations: [
|
||||||
{account: EXPENSES.DEPRECIATION.code, debit: constant(purchase-cor)},
|
{account: EXPENSES.PRICE_DIFFERENCE.code, debit: constant(purchase-cor)},
|
||||||
{account: ASSETS.STOCK_IN.code, debit: constant(cor)},
|
{account: ASSETS.STOCK_IN.code, debit: constant(cor)},
|
||||||
{account: ASSETS.TAXES_PAID.code, debit: constant(purchase_tax)},
|
{account: ASSETS.TAXES_PAID.code, debit: constant(purchase_tax)},
|
||||||
{account: LIABILITIES.ACCOUNTS_PAYABLE.code, credit: constant(purchase + purchase_tax)},
|
{account: LIABILITIES.ACCOUNTS_PAYABLE.code, credit: constant(purchase + purchase_tax)},
|
||||||
|
@ -181,7 +181,7 @@
|
|||||||
operations: [
|
operations: [
|
||||||
{account: 'Assets: Uninvoiced Inventory', debit: 50},
|
{account: 'Assets: Uninvoiced Inventory', debit: 50},
|
||||||
{account: 'Assets: Deferred Tax Assets', debit: 4.68},
|
{account: 'Assets: Deferred Tax Assets', debit: 4.68},
|
||||||
{account: 'Expenses: Other Operating Expenses', debit: 2},
|
{account: 'Expenses: Price Difference', debit: 2},
|
||||||
{account: 'Liabilities: Accounts Payable', credit: 56.68}
|
{account: 'Liabilities: Accounts Payable', credit: 56.68}
|
||||||
],
|
],
|
||||||
explanation: [
|
explanation: [
|
||||||
|
Loading…
Reference in New Issue
Block a user