fix create contract bug

This commit is contained in:
omair saleh
2021-12-29 01:49:54 +08:00
parent 464aff33ea
commit bf6f4c06c8
+3 -1
View File
@@ -137,7 +137,9 @@ 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());
$depend_contract_obligation = ContractObligation::
where('contract_id', $contract->id)
->where('contract_template_obligation_id', $contract_template_obligation_dependency[0]->depend_contract_template_obligation_id)