fix create contract bug

This commit is contained in:
omair saleh
2021-12-29 02:22:35 +08:00
parent 38a0c4af41
commit ebe7a05493
+1 -1
View File
@@ -139,7 +139,7 @@ class ContractModule extends BaseController
->where('contract_template_obligation_id', $contract_template_obligation_dependency[0]->contract_template_obligation_id)
->first();
$depend_contract_obligation = ContractTemplateObligation::
$depend_contract_obligation = ContractObligation::
where('contract_template_id', $contarct_template->id)
->where('contract_template_obligation_id', $contract_template_obligation_dependency[0]->depend_contract_template_obligation_id)
->first();