Official blog

LearnDoubleEntry.org official blog

Sunday, March 29, 2015

What about colored accounts?

As an experimental feature, we added the possibility of having different styles associated with accounts in the journal of the public page and in the slideshow of a firm, here at LearnDoubleEntry.org.

Let's say you want to have all assets in blue, all liabilities in red, all revenues in green and all expenses in orange.

It's quite easy. By using the keyword @classes in the comments text box, you can specify a class for each account:


Well, actually you don't need to do that for each account. The classes you specify are automatically inherited by all the children accounts.

In the Chart of Accounts page, at the bottom, you'll find a link saying Toggle visibility of classes that helps you visualize how inheritance is applied.

For instance, you should see that all accounts children of Asset Accounts are automatically assigned the class assets:

An account can have more than a class, and inheritance is not affected. This might be useful because in a complex chart of accounts you could desire to have a distinction between fixed assets and current assets. Nothing prevents you to specify a class assets at the main level, and an additional class fixed at a lower level. The result will be that you'll have two classes for the children accounts, like fixed assets.

If you want to prevent inheritance, you can put an exclamation mark after the class name.

Once you have defined your classes, how can you get colors? In the page of the configuration of the firm, click on Show advanced options: you will be presented a text area named CSS.


Here, you can past the following text (provided as an example; you can of course adapt it to your own needs):

.assets
{
  color: blue;
}

.liabilities
{
  color: red;
}

.revenues
{
  color: green;
}

.expenses
{
  color: orange;
}

and click on Save. The result should be what you expect, a colored journal:


If you want to know more about CSS, start with reading the pages at W3School, and if you have ideas for improvements, please share them with us.

Slideshow from journal entries

Some teachers like to show the journal entries of a firm and explain them to their students. Others may ask the students to show their work, entry for entry. What about letting the application generate a slideshow from the firm's data?

It is now possible: we integrated remarkjs, a handy javascript code, into our application, and now you can show the entries, one by one, followed by the connected transaction analysis.





As an added feature, you can press "p" to toggle the so-called presenter mode, and "c" to clone your view in a different browser's window.

Let us know if you have ideas on how to improve this.

Five-star Peer Review on Merlot.org

Our website got recently a five-star peer review on Merlot.org, a program of the California State University System aimed to provide a Multimedia Educational Resource for Learning and Online Teaching.



The review led to five stars on Content Quality, Potential Effectiveness as a Teaching Tool and Ease of Use for Both Students and Faculty.

There are some concerns, but they denote a lack of documentation on our side more than a deficiency in the application itself: in the next days we'll add some information in the handbook to fix this.

Many thanks to the reviewer!

Update: We wrote a new blog post, Instructions for Instructors, when we explain better what teachers can do and expect from the website.