Change summary
sgx_jmp.rb | 18 +-----------------
1 file changed, 1 insertion(+), 17 deletions(-)
Detailed changes
@@ -520,25 +520,9 @@ Command.new(
end
}.register(self).then(&CommandList.method(:register))
-Command.new(
- "usage",
- "📊 Show Monthly Usage"
-) {
- report_for = (Date.today..(Date.today << 1))
-
- Command.customer.then { |customer|
- customer.usage_report(report_for)
- }.then do |usage_report|
- Command.finish do |reply|
- reply.command << usage_report.form
- end
- end
-}.register(self).then(&CommandList.method(:register))
-
Command.new(
"cdrs",
- "📲 Show Call Logs",
- list_for: ->(feature_flags:, **) { feature_flags.include?(:cdrs) }
+ "📲 Show Call Logs"
) {
report_for = ((Date.today << 1)..Date.today)