new API endpoint to save invoice meta-fields (#5916)

This commit is contained in:
Kevin Papst
2026-04-25 18:14:10 +02:00
committed by GitHub
parent 087350ab72
commit 3eebb02ad3
39 changed files with 1427 additions and 659 deletions

View File

@@ -9,7 +9,7 @@
namespace App\Form\Type;
use App\Invoice\ServiceInvoice;
use App\Invoice\InvoiceService;
use Symfony\Component\Form\AbstractType;
use Symfony\Component\Form\Extension\Core\Type\ChoiceType;
use Symfony\Component\OptionsResolver\OptionsResolver;
@@ -19,7 +19,7 @@ use Symfony\Component\OptionsResolver\OptionsResolver;
*/
final class InvoiceCalculatorType extends AbstractType
{
public function __construct(private ServiceInvoice $service)
public function __construct(private InvoiceService $service)
{
}

View File

@@ -9,7 +9,7 @@
namespace App\Form\Type;
use App\Invoice\ServiceInvoice;
use App\Invoice\InvoiceService;
use Symfony\Component\Form\AbstractType;
use Symfony\Component\Form\Extension\Core\Type\ChoiceType;
use Symfony\Component\OptionsResolver\OptionsResolver;
@@ -19,7 +19,7 @@ use Symfony\Component\OptionsResolver\OptionsResolver;
*/
final class InvoiceNumberGeneratorType extends AbstractType
{
public function __construct(private ServiceInvoice $service)
public function __construct(private InvoiceService $service)
{
}

View File

@@ -9,7 +9,7 @@
namespace App\Form\Type;
use App\Invoice\ServiceInvoice;
use App\Invoice\InvoiceService;
use Symfony\Component\Form\AbstractType;
use Symfony\Component\Form\Extension\Core\Type\ChoiceType;
use Symfony\Component\OptionsResolver\OptionsResolver;
@@ -19,7 +19,7 @@ use Symfony\Component\OptionsResolver\OptionsResolver;
*/
final class InvoiceRendererType extends AbstractType
{
public function __construct(private ServiceInvoice $service)
public function __construct(private InvoiceService $service)
{
}