Define an endpoint with a global summary of expenses and attendance #184

Merged
bustikiller merged 3 commits from dashboard into main 2024-12-11 22:44:35 +00:00
2 changed files with 4 additions and 0 deletions
Showing only changes of commit f68caca5a4 - Show all commits

View File

@ -1,3 +1,5 @@
# Copyright (C) 2024 Manuel Bustillo
class SummaryController < ApplicationController
def index
expense_summary = Expenses::TotalQuery.new(wedding: ActsAsTenant.current_tenant).call

View File

@ -1,3 +1,5 @@
# Copyright (C) 2024 Manuel Bustillo
require 'swagger_helper'
RSpec.describe 'summary', type: :request do