#2387 update
This commit is contained in:
parent
34e8ec8434
commit
da6fd7a396
2 changed files with 12 additions and 9 deletions
|
|
@ -1451,7 +1451,8 @@ export class PositionController extends Controller {
|
|||
}),
|
||||
);
|
||||
|
||||
if (posMaster.orgRevision?.orgRevisionIsCurrent == true) {
|
||||
// ถ้าไม่ใช่ตำแหน่งนั่งทับ (isSit = false) ถึงจะอัพเดทตำแหน่งในทะเบียนประวัติ
|
||||
if (posMaster.orgRevision?.orgRevisionIsCurrent == true && !posMaster.isSit) {
|
||||
const _position = requestBody.positions.find((p) => p.positionIsSelected == true);
|
||||
if (_position) {
|
||||
const current_holderId: any = posMaster.current_holderId;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue