mirror of
https://github.com/Karaka-Management/oms-ContractManagement.git
synced 2026-01-30 10:28:42 +00:00
fix value change log
This commit is contained in:
parent
32e3052565
commit
475337f5dc
|
|
@ -231,7 +231,9 @@ final class ApiAttributeController extends Controller
|
|||
|
||||
$this->updateModel($request->header->account, $old, $new, ContractAttributeMapper::class, 'contract_attribute', $request->getOrigin());
|
||||
|
||||
if ($new->value->getValue() !== $old->value->getValue()) {
|
||||
if ($new->value->getValue() !== $old->value->getValue()
|
||||
&& $new->type->custom
|
||||
) {
|
||||
$this->updateModel($request->header->account, $old->value, $new->value, ContractAttributeValueMapper::class, 'attribute_value', $request->getOrigin());
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user