fix create contract bug

This commit is contained in:
omair saleh
2021-12-29 01:58:39 +08:00
parent b7a966ef3f
commit e6fbab6372
+1 -1
View File
@@ -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)