chinh sua theo tieu chuan phan mem BDS_1
This commit is contained in:
@@ -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')
|
||||
|
||||
Reference in New Issue
Block a user