mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/unity.git
synced 2026-08-23 22:34:05 +00:00
courier deliver service seeder
This commit is contained in:
@@ -50,14 +50,14 @@ class ContractObligation extends Model
|
||||
public function getContractObligationDependencyListAttribute()
|
||||
{
|
||||
return $this->contract_obligation_dependency()
|
||||
->where('status', config('constants.contract_obligation.status.active'))
|
||||
// ->where('status', config('constants.contract_obligation.status.active'))
|
||||
->get()->makeHidden(['contract_obligation_list', 'depend_contract_obligation_list']);
|
||||
}
|
||||
|
||||
public function getDependContractObligationDependencyListAttribute()
|
||||
{
|
||||
return $this->depend_contract_obligation_dependency()
|
||||
->where('status', config('constants.contract_obligation.status.active'))
|
||||
// ->where('status', config('constants.contract_obligation.status.active'))
|
||||
->get()->makeHidden(['contract_obligation_list', 'depend_contract_obligation_list']);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user