From 609ab8051ed637957a2b7d32b8015c2ea5ae554a Mon Sep 17 00:00:00 2001 From: Xavier Morel Date: Tue, 17 Mar 2015 11:39:23 +0100 Subject: [PATCH] [CHG] review stuff --- _static/accounting.css | 4 ++-- _static/accounts.js | 10 +++------- _static/chart-of-accounts.js | 4 ++-- _static/entries.js | 28 ---------------------------- _static/reconciliation.js | 2 +- index.rst | 12 +++++++----- 6 files changed, 15 insertions(+), 45 deletions(-) diff --git a/_static/accounting.css b/_static/accounting.css index b895e27eb..8eb5e6298 100644 --- a/_static/accounting.css +++ b/_static/accounting.css @@ -108,11 +108,11 @@ font-style: italic; } -#reconciliation #example div.buttons { +#reconciliation .reconciliation-example div.buttons { display: flex; justify-content: center; } -#reconciliation #example div.buttons button { +#reconciliation .reconciliation-example div.buttons button { margin: 0 0.5em; } diff --git a/_static/accounts.js b/_static/accounts.js index 565b958d5..9bc9318c0 100644 --- a/_static/accounts.js +++ b/_static/accounts.js @@ -73,17 +73,14 @@ React.DOM.dt(null, "Current Assets"), React.DOM.dd( null, - "Cash", React.DOM.br(), - "Bank Accounts", React.DOM.br(), + "Cash & Bank Accounts", React.DOM.br(), "Accounts Receivable", React.DOM.br(), - "Prepayments", React.DOM.br(), "Deferred Tax Assets" ), React.DOM.dt(null, "Plus ", "Non-current Assets"), React.DOM.dd( null, "Land & buildings", React.DOM.br(), - "Investments", React.DOM.br(), "Intangible Assets" ) ) @@ -99,8 +96,7 @@ React.DOM.dt(null, "Less ", "Non-current liabilities"), React.DOM.dd( null, - "Long-term loans", React.DOM.br(), - "Product Warranties") + "Long-term loans") ) ), React.DOM.div( @@ -114,7 +110,7 @@ "Common Stock", React.DOM.br(), "Treasury Stock" ), - React.DOM.dt(null, "Plus ", "Net Profit") + React.DOM.dt(null, "Plus ", "Retained Earnings") ) ) ) diff --git a/_static/chart-of-accounts.js b/_static/chart-of-accounts.js index 32c6afccd..a51137e7a 100644 --- a/_static/chart-of-accounts.js +++ b/_static/chart-of-accounts.js @@ -154,7 +154,7 @@ BANK: { code: 11000, label: "Cash" }, ACCOUNTS_RECEIVABLE: { code: 13100, label: "Accounts Receivable" }, STOCK: { code: 14000, label: "Inventory" }, - STOCK_OUT: { code: 14600, label: "Temporary Inventory Output" }, + STOCK_OUT: { code: 14600, label: "Goods Issued Not Invoiced" }, STOCK_IN: { code: 14700, label: "Inventory Purchases" }, BUILDINGS: { code: 17200, label: "Buildings" }, DEPRECIATION: { code: 17800, label: "Accumulated Depreciation" }, @@ -278,7 +278,7 @@ }, { label: "Supplier Bill (Invoice: $52 but PO $50)", operations: [ - {account: ASSETS.STOCK.code, debit: constant(purchase-cor)}, + {account: EXPENSES.DEPRECIATION.code, debit: constant(purchase-cor)}, {account: ASSETS.STOCK_IN.code, debit: constant(cor)}, {account: ASSETS.TAXES_PAID.code, debit: constant(purchase_tax)}, {account: LIABILITIES.ACCOUNTS_PAYABLE.code, credit: constant(purchase + purchase_tax)}, diff --git a/_static/entries.js b/_static/entries.js index 59f6fa6e7..4fe9dcebd 100644 --- a/_static/entries.js +++ b/_static/entries.js @@ -175,34 +175,6 @@ null, "In this scenario, the purchase order is at $48, but the invoice the company will receive later will be at $50 (extra shipping costs)." ] - }, { - title: "Customer Invoice ($100 + 9% tax) - perpetual inventory", - operations: [ - {account: 'Revenue: Goods', credit: 100}, - {account: 'Liabilities: Deferred Tax Liabilities', credit: 9}, - {account: 'Assets: Accounts Receivable', debit: 109}, - {account: 'Assets: Uninvoiced Inventory', credit: 48}, - {account: 'Assets: Inventory', credit: 2}, - {account: 'Expenses: Cost of Goods Sold', debit: 50} - ], - explanation: [ - "Revenues increase by $100", - "A tax to pay at the end of the month of $9", - "The customer owns you $109", - "The inventory is decreased by $2 ($48 has already been posted)", - "The temporary account (Uninvoiced Inventory) is cleared", - "The cost of goods sold decrease the gross profit by $50" - ], - configuration: [ - "Revenue Goods: defined on the product, or the product category if not on the product, field: Income Account", - "Defered Tax Liabilities: defined on the tax used on the invoice line", - "Accounts Receivable: defined on the customer (property)", - "Inventory: defined on the category of the related product: Price Difference", - "Uninvoiced Inventory: defined on the product or the category of the related product: Stock Input Account", - "Expenses: defined on the product, or the category of product (property)", - null, - "The fiscal position used on the invoice may have a rule that replaces the Income Account or the tax defined on the product by another one." - ] }, { title: "Customer payment", operations: [ diff --git a/_static/reconciliation.js b/_static/reconciliation.js index 99088ae11..d0205eb1b 100644 --- a/_static/reconciliation.js +++ b/_static/reconciliation.js @@ -17,7 +17,7 @@ return 0; } ]; - var $rec = $('#reconciliation #example'); + var $rec = $('#reconciliation .reconciliation-example'); var $buttons = $('
').on('click', 'button', function () { this.disabled = true; state = operations[state](); diff --git a/index.rst b/index.rst index 267536de3..65f0bf0d9 100644 --- a/index.rst +++ b/index.rst @@ -43,6 +43,8 @@ Accounting Memento For Entrepreneurs **Equity** is the amount of the funds contributed by the owners (founders or shareholders) plus previously retained earnings (or losses). + Each year, net profits (or losses) are reported to retained earnings. + .. h:div:: force-right accounts-table .. placeholder @@ -137,14 +139,14 @@ reconciled with the related payment journal items. Reconciliation is performed automatically by the system when: * the payment is registered directly on the invoice -* the link between the payment and the invoice is detected at the bank matching - process +* the links between the payments and the invoices are detected at the bank + matching process -.. rst-class:: force-right +.. rst-class:: force-right reconciliation-example -Example -------- +Customer Statement Example +-------------------------- .. rst-class:: table-condensed d-c-table