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 -1
View File
@@ -10,6 +10,7 @@ use Illuminate\Database\Eloquent\Collection;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\Relations\BelongsTo;
use Illuminate\Database\Eloquent\Relations\HasMany;
use Illuminate\Support\Carbon;
/**
* @property int $id
@@ -21,6 +22,9 @@ use Illuminate\Database\Eloquent\Relations\HasMany;
* @property int $subtotal_minor
* @property int $tax_minor
* @property int $total_minor
* @property Carbon|null $submitted_at
* @property Carbon|null $needed_by
* @property array<string,mixed>|null $comparison_policy
* @property Collection<int, ApprovalStep> $steps
* @property Collection<int, RequisitionItem> $items
*/
@@ -32,7 +36,7 @@ class Requisition extends Model
protected function casts(): array
{
return ['approval_snapshot' => 'array', 'submitted_at' => 'datetime', 'needed_by' => 'date:Y-m-d'];
return ['approval_snapshot' => 'array', 'comparison_policy' => 'array', 'submitted_at' => 'datetime', 'needed_by' => 'date:Y-m-d'];
}
/** @return HasMany<RequisitionItem, $this> */