fix create contract bug

This commit is contained in:
omair saleh
2021-12-29 02:12:10 +08:00
parent 9e0a360b33
commit 67800a1f71
+1 -1
View File
@@ -143,7 +143,7 @@ class ContractModule extends BaseController
where('contract_template_id', $contarct_template->id) where('contract_template_id', $contarct_template->id)
->where('id', $contract_template_obligation_dependency[0]->depend_contract_template_obligation_id) ->where('id', $contract_template_obligation_dependency[0]->depend_contract_template_obligation_id)
->first(); ->first();
dd($depend_contract_obligation); dd($contarct_template->id);
$request->request->add([ $request->request->add([
'contract_obligation_id' => [$contract_obligation->hash_id], 'contract_obligation_id' => [$contract_obligation->hash_id],