This commit is contained in:
parent
6cc6bed806
commit
cbddb5e699
1 changed files with 3 additions and 1 deletions
|
|
@ -3704,7 +3704,9 @@ export class PositionController extends Controller {
|
||||||
dataMaster.current_holderId = _null;
|
dataMaster.current_holderId = _null;
|
||||||
}
|
}
|
||||||
await this.posMasterRepository.save(dataMaster, { data: request });
|
await this.posMasterRepository.save(dataMaster, { data: request });
|
||||||
|
if (chkRevision?.orgRevisionIsCurrent) {
|
||||||
await CreatePosMasterHistoryOfficer(dataMaster.id, request);
|
await CreatePosMasterHistoryOfficer(dataMaster.id, request);
|
||||||
|
}
|
||||||
setLogDataDiff(request, { before, after: dataMaster });
|
setLogDataDiff(request, { before, after: dataMaster });
|
||||||
|
|
||||||
return new HttpSuccess();
|
return new HttpSuccess();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue