====== Credits ======

<table ?f "Faction" ?s "Status" ?type "Credit Type" ?amount@sum "Total">
?c is a: credits
?c Faction [ref]: ?f
?f Status [rule]: ?s
?c Currency [rule]: ?type
?c Amount: ?amount

group {
  ?f
  ?type
}
consider {
  ?c
}
ui {
  filter: select
  Total {
    filter: none
  }
}
</table>

<table ?type "Credit Type" ?amount@sum "Total">
?c is a: credits
?c Faction [ref]: ?f
?c Currency [rule]: ?type
?c Amount: ?amount

group {
  ?type
}
consider {
  ?c
}
</table>

