Categorize ledger
This commit is contained in:
parent
3ff7c0e692
commit
7501bf9ed1
|
@ -47,6 +47,7 @@ category_names:
|
||||||
- HTML
|
- HTML
|
||||||
- JavaScript
|
- JavaScript
|
||||||
- JavaScript libraries
|
- JavaScript libraries
|
||||||
|
- Ledger
|
||||||
- Markup
|
- Markup
|
||||||
- Node.js
|
- Node.js
|
||||||
- Rails
|
- Rails
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
---
|
---
|
||||||
title: Ledger CSV format
|
title: Ledger CSV format
|
||||||
|
category: Ledger
|
||||||
---
|
---
|
||||||
|
|
||||||
$ ledger csv
|
$ ledger csv
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
---
|
---
|
||||||
title: Ledger examples
|
title: Ledger examples
|
||||||
|
category: Ledger
|
||||||
---
|
---
|
||||||
|
|
||||||
Inspecting transactions:
|
Inspecting transactions:
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
---
|
---
|
||||||
title: Ledger periods
|
title: Ledger periods
|
||||||
|
category: Ledger
|
||||||
---
|
---
|
||||||
|
|
||||||
[INTERVAL] [BEGIN] [END]
|
[INTERVAL] [BEGIN] [END]
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
---
|
---
|
||||||
title: Ledger queries
|
title: Ledger queries
|
||||||
|
category: Ledger
|
||||||
---
|
---
|
||||||
|
|
||||||
- @`payee`
|
- @`payee`
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
---
|
---
|
||||||
title: Ledger CLI
|
title: Ledger CLI
|
||||||
|
category: Ledger
|
||||||
---
|
---
|
||||||
|
|
||||||
$ ledger bal
|
$ ledger bal
|
||||||
|
|
|
@ -58,4 +58,7 @@ Order
|
||||||
|
|
||||||
scope :recent, -> { order created_at: :desc }
|
scope :recent, -> { order created_at: :desc }
|
||||||
|
|
||||||
|
Group by month
|
||||||
|
|
||||||
|
.group("to_char(created_at, 'YYYY-MM')")
|
||||||
|
.group("to_char(created_at, 'YYYY-MM')").count
|
||||||
|
|
Loading…
Reference in New Issue