<?php

namespace App\Http\Controllers\Accounting;

use App\Classes\Modules\Accounting\ControllersLogic\GroupApproveStatementTransactionLogic;
use Illuminate\Http\JsonResponse;
use Illuminate\Http\Request;

class GroupApproveStatementTransactionController
{
    /**
     * @param Request $request
     * @param ApprovePaymentLogic $logic
     * @return JsonResponse
     */
    public function approve(Request $request, GroupApproveStatementTransactionLogic $logic): JsonResponse {
        return $logic->execute($request);
    }

}