<?php

namespace OfficeBrain\Bundle\ReportBundle\Controller;

use Symfony\Bundle\FrameworkBundle\Controller\Controller;
use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route;
use Sensio\Bundle\FrameworkExtraBundle\Configuration\Template;
use Symfony\Component\HttpFoundation\Request;
use Symfony\Component\HttpFoundation\Response;

/**
 *
 * @author software
 * @Route("admin/{_locale}/")
 */
class QuoteReportController extends Controller
{
    private $reportService;
    public function initAction()
    {
        $this->reportService=$this->get("office_brain_report_manager");
    }
    /**
     * @Route("report/quote/user-wise",name="office_brain_bundle_report_quote_userwise")
     */
    public function userWiseQuoteAction()
    {
        $this->initAction();
        $this->reportService->viewUserWiseReport();
        $this->reportService->viewUserWiseReportAbstract();
        exit;
    }
}
