fix create contract bug

This commit is contained in:
omair saleh
2021-12-29 01:39:05 +08:00
parent 0f0567616c
commit 897175ae16
+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);
dd($contract_template_obligation_dependency[0]->depend_contract_template_obligation_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)