diff --git a/hesabixCore/src/Entity/Settings.php b/hesabixCore/src/Entity/Settings.php index b3b120e..1233d0a 100644 --- a/hesabixCore/src/Entity/Settings.php +++ b/hesabixCore/src/Entity/Settings.php @@ -44,6 +44,9 @@ class Settings #[ORM\Column(type: Types::TEXT, nullable: true)] private ?string $scripts = null; + #[ORM\Column(type: Types::TEXT, nullable: true)] + private ?string $footerScripts = null; + public function getId(): ?int { return $this->id; @@ -168,4 +171,16 @@ class Settings return $this; } + + public function getFooterScripts(): ?string + { + return $this->footerScripts; + } + + public function setFooterScripts(?string $footerScripts): static + { + $this->footerScripts = $footerScripts; + + return $this; + } } diff --git a/hesabixCore/templates/base.html.twig b/hesabixCore/templates/base.html.twig index 6008fbc..4520d1c 100644 --- a/hesabixCore/templates/base.html.twig +++ b/hesabixCore/templates/base.html.twig @@ -250,16 +250,7 @@
-
-
- -
-
- - کانال آپارات حسابیکس - -
-
+ {{settings.footerScripts | raw}}