diff --git a/app/Http/Modules/User/ContractModule.php b/app/Http/Modules/User/ContractModule.php index c810f8a..f15293e 100644 --- a/app/Http/Modules/User/ContractModule.php +++ b/app/Http/Modules/User/ContractModule.php @@ -140,7 +140,7 @@ class ContractModule extends BaseController ->first(); $depend_contract_obligation = ContractObligation:: - where('contract_template_id', $contarct_template->id) + where('contract_id', $contarct_template->id) ->where('contract_template_obligation_id', $contract_template_obligation_dependency[0]->depend_contract_template_obligation_id) ->first();