From e6fbab637207a475426fc4ca8a855353327f63a7 Mon Sep 17 00:00:00 2001 From: omair saleh Date: Wed, 29 Dec 2021 01:58:39 +0800 Subject: [PATCH] fix create contract bug --- app/Http/Modules/User/ContractModule.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Http/Modules/User/ContractModule.php b/app/Http/Modules/User/ContractModule.php index ffb8014..bf3e1a6 100644 --- a/app/Http/Modules/User/ContractModule.php +++ b/app/Http/Modules/User/ContractModule.php @@ -138,7 +138,7 @@ class ContractModule extends BaseController ->where('contract_template_obligation_id', $contract_template_obligation_dependency[0]->contract_template_obligation_id) ->first(); - dd($contract_obligation->hash_id); + dd($contract_template_obligation_dependency[0]); $depend_contract_obligation = ContractObligation:: where('contract_id', $contract->id) ->where('contract_template_obligation_id', $contract_template_obligation_dependency[0]->depend_contract_template_obligation_id)