mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-06-25 03:08:51 +02:00
Renamed Storelocation entity to StorageLocation
This commit is contained in:
parent
09acca950d
commit
0af5a58dbe
59 changed files with 218 additions and 176 deletions
|
@ -24,7 +24,7 @@ namespace App\Serializer;
|
|||
|
||||
use App\Entity\Parts\Part;
|
||||
use App\Entity\Parts\PartLot;
|
||||
use App\Entity\Parts\Storelocation;
|
||||
use App\Entity\Parts\StorageLocation;
|
||||
use App\Entity\Parts\Supplier;
|
||||
use App\Entity\PriceInformations\Orderdetail;
|
||||
use App\Entity\PriceInformations\Pricedetail;
|
||||
|
@ -148,7 +148,7 @@ class PartNormalizer implements NormalizerInterface, DenormalizerInterface
|
|||
}
|
||||
|
||||
if (isset($data['storelocation']) && $data['storelocation'] !== "") {
|
||||
$location = $this->locationDenormalizer->denormalize($data['storelocation'], Storelocation::class, $format, $context);
|
||||
$location = $this->locationDenormalizer->denormalize($data['storelocation'], StorageLocation::class, $format, $context);
|
||||
$partLot->setStorageLocation($location);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue