Show shopping informations in part details

This commit is contained in:
Jan Böhmer 2019-08-02 12:17:56 +02:00
parent 855eace81d
commit c2b4d100f0
11 changed files with 250 additions and 44 deletions

View file

@ -92,7 +92,7 @@ class Part extends AttachmentContainingDBElement
protected $master_picture_attachment;
/**
* @var
* @var Orderdetail[]
* @ORM\OneToMany(targetEntity="Orderdetail", mappedBy="part")
*
* @ColumnSecurity(prefix="orderdetails", type="object")
@ -499,7 +499,7 @@ class Part extends AttachmentContainingDBElement
*
* @param bool $hide_obsolete If true, obsolete orderdetails will NOT be returned
*
* @return Orderdetails[] * all orderdetails as a one-dimensional array of Orderdetails objects
* @return Orderdetail[] * all orderdetails as a one-dimensional array of Orderdetails objects
* (empty array if there are no ones)
* * the array is sorted by the suppliers names / minimum order quantity
*