feat(AvisPaymentState): Ajoute les champs year et month pour le suivi.

🌐 i18n(messages.fr.yaml): Ajoute la traduction pour l'hébergement de site.
 feat(templates/price.twig): Ajoute les prix pour les offres d'hébergement.
 feat(AutoCreatedAvisPaymentCommand): Génère les avis de paiement pour l'hébergement.
♻️ refactor(PriceController): Gère la sauvegarde des prix d'hébergement.
📧 feat(avis-payment-wait.twig): Améliore le formatage du mail d'avis de paiement.
This commit is contained in:
Serreau Jovann
2025-11-12 19:02:23 +01:00
parent f008903b8c
commit 0fa2bbaee8
7 changed files with 318 additions and 3 deletions

View File

@@ -0,0 +1,34 @@
<?php
declare(strict_types=1);
namespace DoctrineMigrations;
use Doctrine\DBAL\Schema\Schema;
use Doctrine\Migrations\AbstractMigration;
/**
* Auto-generated Migration: Please modify to your needs!
*/
final class Version20251112173808 extends AbstractMigration
{
public function getDescription(): string
{
return '';
}
public function up(Schema $schema): void
{
// this up() migration is auto-generated, please modify it to your needs
$this->addSql('ALTER TABLE avis_payment_state ADD year VARCHAR(255) DEFAULT NULL');
$this->addSql('ALTER TABLE avis_payment_state ADD month VARCHAR(255) DEFAULT NULL');
}
public function down(Schema $schema): void
{
// this down() migration is auto-generated, please modify it to your needs
$this->addSql('CREATE SCHEMA public');
$this->addSql('ALTER TABLE avis_payment_state DROP year');
$this->addSql('ALTER TABLE avis_payment_state DROP month');
}
}