Show messages, when an element can not be deleted.

Fixes issue #43.
This commit is contained in:
Jan Böhmer 2020-05-17 21:52:47 +02:00
parent be47680b60
commit 8951940be1
6 changed files with 973 additions and 888 deletions

View file

@ -82,7 +82,7 @@ class Pricedetail extends AbstractDBElement implements TimeStampableInterface
/**
* @var ?Currency The currency used for the current price information.
* If this is null, the global base unit is assumed.
* @ORM\ManyToOne(targetEntity="Currency")
* @ORM\ManyToOne(targetEntity="Currency", inversedBy="pricedetails")
* @ORM\JoinColumn(name="id_currency", referencedColumnName="id", nullable=true)
* @Selectable()
*/