From acbf6b27e47189e380fd5c98ada10769094383cd Mon Sep 17 00:00:00 2001 From: babak alizadeh Date: Thu, 16 May 2024 08:23:00 +0000 Subject: [PATCH] some progress in bug --- hesabixCore/src/Entity/HesabdariRow.php | 30 +++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/hesabixCore/src/Entity/HesabdariRow.php b/hesabixCore/src/Entity/HesabdariRow.php index 64abfec..f65e19d 100644 --- a/hesabixCore/src/Entity/HesabdariRow.php +++ b/hesabixCore/src/Entity/HesabdariRow.php @@ -85,6 +85,12 @@ class HesabdariRow #[ORM\ManyToOne(inversedBy: 'hesabdariRows')] private ?Cheque $cheque = null; + #[ORM\Column(length: 255, nullable: true)] + private ?string $discount = null; + + #[ORM\Column(length: 255, nullable: true)] + private ?string $tax = null; + @@ -313,4 +319,28 @@ class HesabdariRow return $this; } + + public function getDiscount(): ?string + { + return $this->discount; + } + + public function setDiscount(?string $discount): static + { + $this->discount = $discount; + + return $this; + } + + public function getTax(): ?string + { + return $this->tax; + } + + public function setTax(?string $tax): static + { + $this->tax = $tax; + + return $this; + } }