WarehouseOffer fixed bugs

This commit is contained in:
Luca Haid
2025-07-21 07:27:15 +02:00
parent b0f72e58f3
commit 92117cf973

View File

@@ -57,9 +57,9 @@ class WarehouseOfferController extends TTCrud
return true;
}
protected function afterCreate(WarehouseOfferModel $offer): void
protected function afterCreate($offer): void
{
$id = $offer->id;
$id = $offer['id'];
$offer = WarehouseOfferModel::get($id);
$this->createHistoryEntry($id, 1, $offer);
}