Fix Graph Calc
This commit is contained in:
parent
755f7e92d4
commit
f2336e2996
@ -1,15 +1,5 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
/**
|
|
||||||
* PrintshopCreator Suite
|
|
||||||
*
|
|
||||||
* PHP Version 5.3
|
|
||||||
*
|
|
||||||
* @author Thomas Peterson <info@thomas-peterson.de>
|
|
||||||
* @copyright 2012-2013 PrintshopCreator GmbH
|
|
||||||
* @license Private
|
|
||||||
* @link http://www.printshopcreator.de
|
|
||||||
*/
|
|
||||||
namespace Plugin\Custom\PSC\Upload\Controller\Backend;
|
namespace Plugin\Custom\PSC\Upload\Controller\Backend;
|
||||||
|
|
||||||
use Doctrine\ODM\MongoDB\DocumentManager;
|
use Doctrine\ODM\MongoDB\DocumentManager;
|
||||||
@ -21,7 +11,6 @@ use Plugin\Custom\PSC\Upload\Helper\UploaderHelper;
|
|||||||
use PSC\Shop\EntityBundle\Entity\Motiv;
|
use PSC\Shop\EntityBundle\Entity\Motiv;
|
||||||
use PSC\Shop\QueueBundle\Service\Event\Manager;
|
use PSC\Shop\QueueBundle\Service\Event\Manager;
|
||||||
use PSC\System\SettingsBundle\Service\Shop;
|
use PSC\System\SettingsBundle\Service\Shop;
|
||||||
use Symfony\Component\Security\Http\Attribute\IsGranted;
|
|
||||||
use Symfony\Bridge\Twig\Attribute\Template;
|
use Symfony\Bridge\Twig\Attribute\Template;
|
||||||
use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
|
use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
|
||||||
use Symfony\Component\HttpFoundation\BinaryFileResponse;
|
use Symfony\Component\HttpFoundation\BinaryFileResponse;
|
||||||
@ -31,7 +20,8 @@ use Symfony\Component\HttpFoundation\JsonResponse;
|
|||||||
use Symfony\Component\HttpFoundation\RedirectResponse;
|
use Symfony\Component\HttpFoundation\RedirectResponse;
|
||||||
use Symfony\Component\HttpFoundation\Request;
|
use Symfony\Component\HttpFoundation\Request;
|
||||||
use Symfony\Component\HttpFoundation\StreamedResponse;
|
use Symfony\Component\HttpFoundation\StreamedResponse;
|
||||||
use Symfony\Component\Routing\Annotation\Route;
|
use Symfony\Component\Routing\Attribute\Route;
|
||||||
|
use Symfony\Component\Security\Http\Attribute\IsGranted;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* ListController fürs Backend
|
* ListController fürs Backend
|
||||||
@ -52,7 +42,7 @@ class ListController extends AbstractController
|
|||||||
* @throws \Doctrine\ORM\ORMException
|
* @throws \Doctrine\ORM\ORMException
|
||||||
*/
|
*/
|
||||||
#[Route(path: '/list/index', name: 'psc_shop_upload_backend_list_index')]
|
#[Route(path: '/list/index', name: 'psc_shop_upload_backend_list_index')]
|
||||||
#[Template('@PluginCustomPSCUploadControllerBackend/list/index.html.twig')]
|
#[Template('@PluginCustomPSCUpload/backend/list/index.html.twig')]
|
||||||
public function indexAction(Request $request, Shop $shopService, DocumentManager $documentManager)
|
public function indexAction(Request $request, Shop $shopService, DocumentManager $documentManager)
|
||||||
{
|
{
|
||||||
$selectedShop = $shopService->getSelectedShop();
|
$selectedShop = $shopService->getSelectedShop();
|
||||||
@ -101,12 +91,12 @@ class ListController extends AbstractController
|
|||||||
* @throws \Doctrine\ODM\MongoDB\MongoDBException
|
* @throws \Doctrine\ODM\MongoDB\MongoDBException
|
||||||
*/
|
*/
|
||||||
#[Route(path: '/list/delete/{uid}', name: 'psc_shop_upload_backend_list_delete')]
|
#[Route(path: '/list/delete/{uid}', name: 'psc_shop_upload_backend_list_delete')]
|
||||||
#[Template('@PluginCustomPSCUploadControllerBackend/list/delete.html.twig')]
|
#[Template('@PluginCustomPSCUpload/backend/list/delete.html.twig')]
|
||||||
public function deleteAction(Request $request, DocumentManager $documentManager, $uid)
|
public function deleteAction(Request $request, DocumentManager $documentManager, $uid)
|
||||||
{
|
{
|
||||||
/** @var Upload $upload */
|
/** @var Upload $upload */
|
||||||
$upload = $documentManager
|
$upload = $documentManager
|
||||||
->getRepository(\Plugin\Cusomt\PSC\Upload\Document\Upload::class)
|
->getRepository(\Plugin\Custom\PSC\Upload\Document\Upload::class)
|
||||||
->findOneBy(['id' => new ObjectId($uid)]);
|
->findOneBy(['id' => new ObjectId($uid)]);
|
||||||
|
|
||||||
$form = $this->createForm(DeleteType::class);
|
$form = $this->createForm(DeleteType::class);
|
||||||
|
|||||||
@ -1,15 +1,5 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
/**
|
|
||||||
* PrintshopCreator Suite
|
|
||||||
*
|
|
||||||
* PHP Version 5.3
|
|
||||||
*
|
|
||||||
* @author Thomas Peterson <info@thomas-peterson.de>
|
|
||||||
* @copyright 2012-2013 PrintshopCreator GmbH
|
|
||||||
* @license Private
|
|
||||||
* @link http://www.printshopcreator.de
|
|
||||||
*/
|
|
||||||
namespace Plugin\Custom\PSC\Upload\Controller\Frontend;
|
namespace Plugin\Custom\PSC\Upload\Controller\Frontend;
|
||||||
|
|
||||||
use Doctrine\ODM\MongoDB\DocumentManager;
|
use Doctrine\ODM\MongoDB\DocumentManager;
|
||||||
@ -20,40 +10,16 @@ use Plugin\Custom\PSC\Upload\Helper\UploaderHelper;
|
|||||||
use PSC\Shop\QueueBundle\Event\Package\Created;
|
use PSC\Shop\QueueBundle\Event\Package\Created;
|
||||||
use PSC\Shop\QueueBundle\Service\Event\Manager;
|
use PSC\Shop\QueueBundle\Service\Event\Manager;
|
||||||
use PSC\System\SettingsBundle\Service\Shop;
|
use PSC\System\SettingsBundle\Service\Shop;
|
||||||
use Symfony\Component\Security\Http\Attribute\IsGranted;
|
|
||||||
use Symfony\Bridge\Twig\Attribute\Template;
|
use Symfony\Bridge\Twig\Attribute\Template;
|
||||||
use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
|
use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
|
||||||
use Symfony\Component\Form\Extension\Core\Type\CheckboxType;
|
|
||||||
use Symfony\Component\Form\Extension\Core\Type\ChoiceType;
|
|
||||||
use Symfony\Component\Form\Extension\Core\Type\NumberType;
|
|
||||||
use Symfony\Component\Form\Extension\Core\Type\SubmitType;
|
|
||||||
use Symfony\Component\Form\Extension\Core\Type\TextType;
|
|
||||||
use Symfony\Component\HttpFoundation\File\UploadedFile;
|
use Symfony\Component\HttpFoundation\File\UploadedFile;
|
||||||
use Symfony\Component\HttpFoundation\JsonResponse;
|
|
||||||
use Symfony\Component\HttpFoundation\Request;
|
use Symfony\Component\HttpFoundation\Request;
|
||||||
use Symfony\Component\HttpFoundation\Response;
|
use Symfony\Component\Routing\Attribute\Route;
|
||||||
use Symfony\Component\HttpFoundation\StreamedResponse;
|
|
||||||
use Symfony\Component\Routing\Annotation\Route;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* CreateController fürs Frontend
|
|
||||||
*
|
|
||||||
* @package PSC\Shop\Upload
|
|
||||||
* @subpackage Controller
|
|
||||||
*/
|
|
||||||
class CreateController extends AbstractController
|
class CreateController extends AbstractController
|
||||||
{
|
{
|
||||||
/**
|
|
||||||
* @param Request $request
|
|
||||||
*
|
|
||||||
* @param Shop $shopService
|
|
||||||
* @param DocumentManager $documentManager
|
|
||||||
* @param Manager $eventManager
|
|
||||||
* @return array
|
|
||||||
* @throws \Doctrine\ODM\MongoDB\MongoDBException
|
|
||||||
*/
|
|
||||||
#[Route(path: '/create', name: 'psc_shop_upload_frontend_create')]
|
#[Route(path: '/create', name: 'psc_shop_upload_frontend_create')]
|
||||||
#[Template('@PluginCustomPSCUploadControllerFrontend/create/create.html.twig')]
|
#[Template('@PluginCustomPSCUpload/frontend/create/create.html.twig')]
|
||||||
public function createAction(
|
public function createAction(
|
||||||
Request $request,
|
Request $request,
|
||||||
Shop $shopService,
|
Shop $shopService,
|
||||||
|
|||||||
@ -1,8 +1,12 @@
|
|||||||
info:
|
info:
|
||||||
datum: 17.02.2026
|
datum: 25.02.2026
|
||||||
release: 2.3.2
|
release: 2.3.3
|
||||||
|
|
||||||
changelog:
|
changelog:
|
||||||
|
- version: 2.3.3
|
||||||
|
datum: 25.02.2026
|
||||||
|
changes:
|
||||||
|
- "Fix Graphgeneration in Calc"
|
||||||
- version: 2.3.2
|
- version: 2.3.2
|
||||||
datum: 17.02.2026
|
datum: 17.02.2026
|
||||||
changes:
|
changes:
|
||||||
@ -12,7 +16,6 @@ changelog:
|
|||||||
- "Gutschein-Produkt: Verknüpfung mit VoucherBundle"
|
- "Gutschein-Produkt: Verknüpfung mit VoucherBundle"
|
||||||
- "Plugin-Liste: Tailwind Redesign"
|
- "Plugin-Liste: Tailwind Redesign"
|
||||||
- "Kontakt-Liste: Tailwind Redesign"
|
- "Kontakt-Liste: Tailwind Redesign"
|
||||||
|
|
||||||
- version: 2.3.1
|
- version: 2.3.1
|
||||||
datum: 15.01.2026
|
datum: 15.01.2026
|
||||||
changes:
|
changes:
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user