commit9
tests / ci (push) Canceled after 0s

This commit is contained in:
2026-10-30 20:02:30 +02:00
parent 6d14b4e6f0
commit c6373365bf
225 changed files with 15365 additions and 285 deletions
+5 -2
View File
@@ -7,7 +7,10 @@ use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\Relations\BelongsTo;
use Illuminate\Database\Eloquent\Relations\HasMany;
/** @property array<string, mixed> $weights */
/**
* @property array<string, mixed> $weights
* @property array<string, mixed>|null $commercial_terms Stored JSON is validated against the pricing contract before comparison.
*/
class Quotation extends Model
{
use BelongsToTenant;
@@ -16,7 +19,7 @@ class Quotation extends Model
protected function casts(): array
{
return ['weights' => 'array', 'valid_until' => 'date:Y-m-d'];
return ['weights' => 'array', 'commercial_terms' => 'array', 'valid_until' => 'date:Y-m-d'];
}
/** @return BelongsTo<Supplier, $this> */