fix create contract bug

This commit is contained in:
omair saleh
2021-12-29 01:40:12 +08:00
parent 897175ae16
commit 5d4e7aa3ab
+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_template_obligation_dependency[0]->depend_contract_template_obligation_id);
dd($contract_template_obligation_dependency[0]->depend_contract_template_obligation_id, $contract->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)