fix logic and tests, update docker CI file
This commit is contained in:
@@ -30,6 +30,11 @@ class PurchaseOrderItem extends BaseModel
|
||||
'updated_at' => 'datetime',
|
||||
];
|
||||
|
||||
public function getFillable(): array
|
||||
{
|
||||
return $this->fillable;
|
||||
}
|
||||
|
||||
/* ============================================================
|
||||
* Relationships (optional but recommended)
|
||||
* ============================================================
|
||||
@@ -84,4 +89,4 @@ class PurchaseOrderItem extends BaseModel
|
||||
'unit_cost' => [$updating ? 'sometimes' : 'required', 'numeric', 'min:0'],
|
||||
];
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user