diff --git a/hesabixCore/src/Controller/PrintersController.php b/hesabixCore/src/Controller/PrintersController.php
index 6705ebe..7597c5f 100644
--- a/hesabixCore/src/Controller/PrintersController.php
+++ b/hesabixCore/src/Controller/PrintersController.php
@@ -104,6 +104,7 @@ class PrintersController extends AbstractController
$temp['fastsell']['cashdeskTicket'] = $settings->isFastsellCashdeskTicket();
$temp['fastsell']['invoice'] = $settings->isFastsellInvoice();
$temp['fastsell']['pdf'] = $settings->isFastsellPdf();
+ $temp['fastsell']['pos'] = $settings->isFastsellPos();
$temp['repservice']['noteString'] = $settings->getRepserviceNoteString();
$temp['repservice']['paper'] = $settings->getRepServicePaper();
@@ -225,6 +226,7 @@ class PrintersController extends AbstractController
$settings->setFastsellCashdeskTicket($params['fastsell']['cashdeskTicket'] ?? false);
$settings->setFastsellInvoice($params['fastsell']['invoice'] ?? false);
$settings->setFastsellPdf($params['fastsell']['pdf'] ?? false);
+ $settings->setFastsellPos($params['fastsell']['pos'] ?? false);
$settings->setLeftFooter($params['global']['leftFooter']);
$settings->setRightFooter($params['global']['rightFooter']);
diff --git a/hesabixCore/src/Entity/PrintOptions.php b/hesabixCore/src/Entity/PrintOptions.php
index be80fcf..fed6cc6 100644
--- a/hesabixCore/src/Entity/PrintOptions.php
+++ b/hesabixCore/src/Entity/PrintOptions.php
@@ -120,6 +120,9 @@ class PrintOptions
#[ORM\Column(nullable: true)]
private ?bool $fastsellCashdeskTicket = null;
+ #[ORM\Column(nullable: true)]
+ private ?bool $fastsellPos = null;
+
#[ORM\Column(type: Types::TEXT, nullable: true)]
private ?string $leftFooter = null;
@@ -573,6 +576,18 @@ class PrintOptions
return $this;
}
+ public function isFastsellPos(): ?bool
+ {
+ return $this->fastsellPos;
+ }
+
+ public function setFastsellPos(?bool $fastsellPos): static
+ {
+ $this->fastsellPos = $fastsellPos;
+
+ return $this;
+ }
+
public function getLeftFooter(): ?string
{
return $this->leftFooter;
diff --git a/hesabixCore/templates/pdf/posPrinters/buy.html.twig b/hesabixCore/templates/pdf/posPrinters/buy.html.twig
index 4dadc8c..e18deaf 100644
--- a/hesabixCore/templates/pdf/posPrinters/buy.html.twig
+++ b/hesabixCore/templates/pdf/posPrinters/buy.html.twig
@@ -178,7 +178,7 @@
{% endif %}
diff --git a/hesabixCore/templates/pdf/posPrinters/justBuy.html.twig b/hesabixCore/templates/pdf/posPrinters/justBuy.html.twig
index f7add2d..d99d15d 100644
--- a/hesabixCore/templates/pdf/posPrinters/justBuy.html.twig
+++ b/hesabixCore/templates/pdf/posPrinters/justBuy.html.twig
@@ -174,7 +174,7 @@