mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/unity.git
synced 2026-09-02 11:13:57 +00:00
fix create contract bug
This commit is contained in:
@@ -138,7 +138,7 @@ class ContractModule extends BaseController
|
|||||||
->where('contract_template_obligation_id', $contract_template_obligation_dependency[0]->contract_template_obligation_id)
|
->where('contract_template_obligation_id', $contract_template_obligation_dependency[0]->contract_template_obligation_id)
|
||||||
->first();
|
->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::
|
$depend_contract_obligation = ContractObligation::
|
||||||
where('contract_id', $contract->id)
|
where('contract_id', $contract->id)
|
||||||
->where('contract_template_obligation_id', $contract_template_obligation_dependency[0]->depend_contract_template_obligation_id)
|
->where('contract_template_obligation_id', $contract_template_obligation_dependency[0]->depend_contract_template_obligation_id)
|
||||||
|
|||||||
Reference in New Issue
Block a user