mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-07-10 10:24:31 +02:00
Updated the list of allowed object methods in twig label mode
This commit is contained in:
parent
5736816b2b
commit
838997b959
2 changed files with 25 additions and 9 deletions
|
@ -229,6 +229,11 @@ class Orderdetail extends AbstractDBElement implements TimeStampableInterface, N
|
|||
return $this->obsolete;
|
||||
}
|
||||
|
||||
public function isObsolete(): bool
|
||||
{
|
||||
return $this->getObsolete();
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the link to the website of the article on the supplier's website.
|
||||
*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue