Fix Graph Calc
This commit is contained in:
parent
755f7e92d4
commit
f2336e2996
@ -1,15 +1,5 @@
|
||||
<?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;
|
||||
|
||||
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\QueueBundle\Service\Event\Manager;
|
||||
use PSC\System\SettingsBundle\Service\Shop;
|
||||
use Symfony\Component\Security\Http\Attribute\IsGranted;
|
||||
use Symfony\Bridge\Twig\Attribute\Template;
|
||||
use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
|
||||
use Symfony\Component\HttpFoundation\BinaryFileResponse;
|
||||
@ -31,7 +20,8 @@ use Symfony\Component\HttpFoundation\JsonResponse;
|
||||
use Symfony\Component\HttpFoundation\RedirectResponse;
|
||||
use Symfony\Component\HttpFoundation\Request;
|
||||
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
|
||||
@ -52,7 +42,7 @@ class ListController extends AbstractController
|
||||
* @throws \Doctrine\ORM\ORMException
|
||||
*/
|
||||
#[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)
|
||||
{
|
||||
$selectedShop = $shopService->getSelectedShop();
|
||||
@ -101,12 +91,12 @@ class ListController extends AbstractController
|
||||
* @throws \Doctrine\ODM\MongoDB\MongoDBException
|
||||
*/
|
||||
#[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)
|
||||
{
|
||||
/** @var Upload $upload */
|
||||
$upload = $documentManager
|
||||
->getRepository(\Plugin\Cusomt\PSC\Upload\Document\Upload::class)
|
||||
->getRepository(\Plugin\Custom\PSC\Upload\Document\Upload::class)
|
||||
->findOneBy(['id' => new ObjectId($uid)]);
|
||||
|
||||
$form = $this->createForm(DeleteType::class);
|
||||
|
||||
@ -1,15 +1,5 @@
|
||||
<?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;
|
||||
|
||||
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\Service\Event\Manager;
|
||||
use PSC\System\SettingsBundle\Service\Shop;
|
||||
use Symfony\Component\Security\Http\Attribute\IsGranted;
|
||||
use Symfony\Bridge\Twig\Attribute\Template;
|
||||
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\JsonResponse;
|
||||
use Symfony\Component\HttpFoundation\Request;
|
||||
use Symfony\Component\HttpFoundation\Response;
|
||||
use Symfony\Component\HttpFoundation\StreamedResponse;
|
||||
use Symfony\Component\Routing\Annotation\Route;
|
||||
use Symfony\Component\Routing\Attribute\Route;
|
||||
|
||||
/**
|
||||
* CreateController fürs Frontend
|
||||
*
|
||||
* @package PSC\Shop\Upload
|
||||
* @subpackage Controller
|
||||
*/
|
||||
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')]
|
||||
#[Template('@PluginCustomPSCUploadControllerFrontend/create/create.html.twig')]
|
||||
#[Template('@PluginCustomPSCUpload/frontend/create/create.html.twig')]
|
||||
public function createAction(
|
||||
Request $request,
|
||||
Shop $shopService,
|
||||
|
||||
@ -1,8 +1,12 @@
|
||||
info:
|
||||
datum: 17.02.2026
|
||||
release: 2.3.2
|
||||
datum: 25.02.2026
|
||||
release: 2.3.3
|
||||
|
||||
changelog:
|
||||
- version: 2.3.3
|
||||
datum: 25.02.2026
|
||||
changes:
|
||||
- "Fix Graphgeneration in Calc"
|
||||
- version: 2.3.2
|
||||
datum: 17.02.2026
|
||||
changes:
|
||||
@ -12,7 +16,6 @@ changelog:
|
||||
- "Gutschein-Produkt: Verknüpfung mit VoucherBundle"
|
||||
- "Plugin-Liste: Tailwind Redesign"
|
||||
- "Kontakt-Liste: Tailwind Redesign"
|
||||
|
||||
- version: 2.3.1
|
||||
datum: 15.01.2026
|
||||
changes:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user