diff --git a/app/Http/Modules/User/ContractModule.php b/app/Http/Modules/User/ContractModule.php index 7ec8d03..df9d548 100644 --- a/app/Http/Modules/User/ContractModule.php +++ b/app/Http/Modules/User/ContractModule.php @@ -137,7 +137,9 @@ class ContractModule extends BaseController where('contract_id', $contract->id) ->where('contract_template_obligation_id', $contract_template_obligation_dependency[0]->contract_template_obligation_id) ->first(); - +dd(ContractObligation:: +where('contract_id', $contract->id) + ->where('contract_template_obligation_id', $contract_template_obligation_dependency[0]->depend_contract_template_obligation_id)->dd()); $depend_contract_obligation = ContractObligation:: where('contract_id', $contract->id) ->where('contract_template_obligation_id', $contract_template_obligation_dependency[0]->depend_contract_template_obligation_id)