From b7a966ef3f7d63b4b43a73083e165713ea0ed267 Mon Sep 17 00:00:00 2001 From: omair saleh Date: Wed, 29 Dec 2021 01:56:37 +0800 Subject: [PATCH] fix create contract bug --- app/Http/Modules/User/ContractModule.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/app/Http/Modules/User/ContractModule.php b/app/Http/Modules/User/ContractModule.php index df9d548..ffb8014 100644 --- a/app/Http/Modules/User/ContractModule.php +++ b/app/Http/Modules/User/ContractModule.php @@ -137,9 +137,8 @@ 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()); + + dd($contract_obligation->hash_id); $depend_contract_obligation = ContractObligation:: where('contract_id', $contract->id) ->where('contract_template_obligation_id', $contract_template_obligation_dependency[0]->depend_contract_template_obligation_id)