change amount in hesabadari documents

This commit is contained in:
Hesabix 2025-04-26 23:56:22 +00:00
parent 4e3bc5ccae
commit f38e3b8dee

View file

@ -50,8 +50,8 @@ class HesabdariDoc
#[ORM\Column(length: 255, nullable: true)] #[ORM\Column(length: 255, nullable: true)]
private ?string $des = null; private ?string $des = null;
#[ORM\Column(type: Types::BIGINT, nullable: true)] #[ORM\Column(type: Types::DECIMAL, precision: 20, scale: 0, nullable: true)]
private ?int $amount = 0; private ?string $amount = '0';
#[ORM\ManyToOne] #[ORM\ManyToOne]
#[ORM\JoinColumn(nullable: false)] #[ORM\JoinColumn(nullable: false)]
@ -261,12 +261,12 @@ class HesabdariDoc
return $this; return $this;
} }
public function getAmount(): ?int public function getAmount(): ?string
{ {
return $this->amount; return $this->amount;
} }
public function setAmount(?int $amount): self public function setAmount(?string $amount): self
{ {
$this->amount = $amount; $this->amount = $amount;