mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-07-09 18:04:33 +02:00
Allow to import orderdetails and partLots of parts
This commit is contained in:
parent
a7ea12d07d
commit
27b43041f9
3 changed files with 3 additions and 3 deletions
|
@ -39,7 +39,7 @@ trait InstockTrait
|
|||
* @ORM\OneToMany(targetEntity="PartLot", mappedBy="part", cascade={"persist", "remove"}, orphanRemoval=true)
|
||||
* @Assert\Valid()
|
||||
* @ORM\OrderBy({"amount" = "DESC"})
|
||||
* @Groups({"extended", "full"})
|
||||
* @Groups({"extended", "full", "import"})
|
||||
*/
|
||||
protected $partLots;
|
||||
|
||||
|
|
|
@ -40,7 +40,7 @@ trait OrderTrait
|
|||
* @ORM\OneToMany(targetEntity="App\Entity\PriceInformations\Orderdetail", mappedBy="part", cascade={"persist", "remove"}, orphanRemoval=true)
|
||||
* @Assert\Valid()
|
||||
* @ORM\OrderBy({"supplierpartnr" = "ASC"})
|
||||
* @Groups({"extended", "full"})
|
||||
* @Groups({"extended", "full", "import"})
|
||||
*/
|
||||
protected $orderdetails;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue