forked from morrning/hesabixCore
start working on inquiry plugin
This commit is contained in:
parent
b1f8af83f4
commit
90f5a5b338
|
@ -0,0 +1,36 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
namespace App\Controller\Plugins;
|
||||||
|
|
||||||
|
use Symfony\Component\Routing\Annotation\Route;
|
||||||
|
use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
|
||||||
|
use Symfony\Component\HttpFoundation\JsonResponse;
|
||||||
|
use Symfony\Component\HttpFoundation\Request;
|
||||||
|
use Doctrine\ORM\EntityManagerInterface;
|
||||||
|
use App\Entity\PlugGhestaDoc;
|
||||||
|
use App\Entity\PlugGhestaItem;
|
||||||
|
use App\Entity\HesabdariDoc;
|
||||||
|
use App\Entity\Person;
|
||||||
|
use App\Service\Access;
|
||||||
|
use App\Service\Provider;
|
||||||
|
use App\Service\Printers;
|
||||||
|
use App\Entity\PrintOptions;
|
||||||
|
use App\Service\Log;
|
||||||
|
use App\Entity\Business;
|
||||||
|
|
||||||
|
class PlugInquiryMainController extends AbstractController
|
||||||
|
{
|
||||||
|
private $entityManager;
|
||||||
|
|
||||||
|
public function __construct(EntityManagerInterface $entityManager)
|
||||||
|
{
|
||||||
|
$this->entityManager = $entityManager;
|
||||||
|
}
|
||||||
|
|
||||||
|
#[Route('/api/admin/plugins/inquiry/settings/get', name: 'plugin_inquiry_settings_get', methods: ['GET'])]
|
||||||
|
public function plugin_inquiry_settings_get(EntityManagerInterface $entityManager, Access $access) : JsonResponse
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
Loading…
Reference in a new issue