chinh sua theo tieu chuan phan mem BDS_1

This commit is contained in:
2026-04-28 08:49:28 +00:00
parent e229da5e8c
commit 0712046f4b
18 changed files with 623 additions and 59 deletions

View File

@@ -41,6 +41,11 @@ class Contract extends Model
return $this->belongsTo(PaymentTemplate::class);
}
public function salesPhase()
{
return $this->belongsTo(SalesPhase::class);
}
public function customers()
{
return $this->belongsToMany(Customer::class, 'contract_customers')