Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/moneymanagerex/general-reports
Bunch of general reports for Money Manager Ex
https://github.com/moneymanagerex/general-reports
chart data-visualization graph html lua report sql
Last synced: about 1 month ago
JSON representation
Bunch of general reports for Money Manager Ex
- Host: GitHub
- URL: https://github.com/moneymanagerex/general-reports
- Owner: moneymanagerex
- License: mit
- Created: 2014-03-11T09:01:53.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2023-07-28T08:06:57.000Z (over 1 year ago)
- Last Synced: 2024-03-26T05:38:32.323Z (9 months ago)
- Topics: chart, data-visualization, graph, html, lua, report, sql
- Language: Lua
- Homepage: http://moneymanagerex.org/
- Size: 648 KB
- Stars: 70
- Watchers: 27
- Forks: 47
- Open Issues: 25
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
general-reports
===============General reports for [Money Manager Ex](https://github.com/moneymanagerex/moneymanagerex) which can be [downloaded](https://github.com/moneymanagerex/general-reports/releases/latest) and imported easily.
Reports can be created using Money Manager Ex as well.[![Demo Doccou alpha](https://j.gifs.com/3QPAjR.gif)](https://youtu.be/1FDAhWueHm8)
[![Build Status](https://secure.travis-ci.org/moneymanagerex/general-reports.png)](http://travis-ci.org/moneymanagerex/general-reports)
Report structure
----------------Typically, one general report contains:
1. sqlcontent.sql (MMEX will execute this SQL first to return one result set)
~~~sql
select * from assets;
~~~2. luacontent.lua (There are two APIs here)
* handle_record~~~lua
function handle_record(record)
-- Your logic to modify a record and apply this function against every record from SQL.
record:set("extra_value", record::get("VALUE") * 2);
end
~~~* complete
~~~lua
function complete(result)
-- Put some accumulated value and apply this function after SQL completes.
result:set("TOTAL", 1000);
end
~~~3. template.htt (a plain text template file powered by [html template](https://github.com/moneymanagerex/html-template) which shares the same syntax with Perl's [HTML::Template](http://search.cpan.org/~wonko/HTML-Template-2.95/lib/HTML/Template.pm))
Contributing
------------1. Fork the [repository](http://github.com/moneymanagerex/general-reports)
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'Add some feature'`)
4. Push to the branch (`git push origin my-new-feature`)
5. Create a new pull requestDonations
---------1. Star it
2. Donate to my [Ripple](https://ripple.com/) address:
`rUY7DvWqNnSYCYiVr986W71tuaKtDCMNz3`
3. [PayPal](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=moneymanagerex%40gmail%2ecom&lc=US&item_name=MoneyManagerEx&no_note=0¤cy_code=USD&bn=PP%2dDonationsBF%3abtn_donateCC_LG%2egif%3aNonHostedGuest)