fix contract obligation reference

This commit is contained in:
omair saleh
2021-08-30 00:00:46 +08:00
parent d06a16e59c
commit 599a098991
4 changed files with 1 additions and 23940 deletions
@@ -114,6 +114,7 @@ class ContractObligationModule extends BaseController
$contract_obligation->contract_id = $contract->id;
$contract_obligation->contract_template_obligation_id = $contract_template_obligation->id;
$contract_obligation->name = $contract_template_obligation->name;
$contract_obligation->reference = $contract_template_obligation->reference;
$contract_obligation->sequence = $contract_template_obligation->sequence;
$contract_obligation->content = json_encode($contract_template_obligation->content);
$contract_obligation->must_complete = $contract_template_obligation->must_complete;