Merge pull request #70 from copenhagentruckwash/limble-module

limble-module
This commit is contained in:
Jeppe B
2025-07-02 12:21:08 +02:00
committed by GitHub
+1 -1
View File
@@ -137,7 +137,7 @@ class order_items_o extends db
public function getOrder(): orders_o
{
self::requireSelected();
return (new orders_o())->select($this->id);
return (new orders_o())->select((int)$this->order_id->value());
}
public function edit(int $id, int $order_id, int $product_id, string $reference, string $notes, int $cashier_id, int $price, int $quantity): void