mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-06-24 18:58:46 +02:00
Added a tab "Build" to project info page, where you can see how often you can build this project.
This commit is contained in:
parent
6423e52092
commit
76ec63e760
10 changed files with 386 additions and 2 deletions
|
@ -259,7 +259,14 @@ class ProjectBOMEntry extends AbstractDBElement
|
|||
$this->price_currency = $price_currency;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Checks whether this BOM entry is a part associated BOM entry or not.
|
||||
* @return bool True if this BOM entry is a part associated BOM entry, false otherwise.
|
||||
*/
|
||||
public function isPartBomEntry(): bool
|
||||
{
|
||||
return $this->part !== null;
|
||||
}
|
||||
|
||||
/**
|
||||
* @Assert\Callback
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue