fix create contract bug

This commit is contained in:
omair saleh
2021-12-29 02:23:01 +08:00
parent ebe7a05493
commit 20984d983b
+1 -1
View File
@@ -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();