{"repo":"moneymanagerex/general-reports","free":true,"listed":false,"github":"https://github.com/moneymanagerex/general-reports","clone":"git clone https://github.com/moneymanagerex/general-reports.git","description":"Bunch of general reports for Money Manager Ex","language":"Lua","stars":83,"topics":["sql","lua","html","data-visualization","report","graph","chart"],"license":"MIT","category":"databases-storage","readme_excerpt":"general-reports =============== General reports for Money Manager Ex which can be downloaded and imported easily. Reports can be created using Money Manager Ex as well. Badges ---------------- 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 which shares the same syntax with Perl's HTML::Template) Contributing ------------ 1. Fork the repository 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 request Donations --------- 1. Star it 3. PayPal","default_branch":null,"files":null,"tree":[],"storefront":"/r/moneymanagerex","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/moneymanagerex/general-reports/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}