Add xlvask_usage_log_id property to wash item usage log

This commit is contained in:
Jeppe Bundgaard
2025-07-16 10:02:17 +02:00
parent 4e89d168de
commit 7a4c53df1b
@@ -25,6 +25,7 @@ class xlvask_usage_log_wash_items_o extends db
public object_property $PriceExVat;
public object_property $Vat;
public object_property $PriceIncVat;
public object_property $xlvask_usage_log_id; // Assuming this is a foreign key to the usage log
public function structure(): void
{
@@ -58,6 +59,7 @@ class xlvask_usage_log_wash_items_o extends db
$this->PriceExVat = new object_property($this->table, $this->id, 'PriceExVat', 'string', false);
$this->Vat = new object_property($this->table, $this->id, 'Vat', 'string', false);
$this->PriceIncVat = new object_property($this->table, $this->id, 'PriceIncVat', 'string', false);
$this->xlvask_usage_log_id = new object_property($this->table, $this->id, 'xlvask_usage_log_id', 'int', false);
}
public function objectChanged(): void