report leave
All checks were successful
Build & Deploy on Dev / build (push) Successful in 1m1s

This commit is contained in:
mamoss 2026-01-11 15:17:14 +07:00
parent 21bef607a1
commit b110575136

View file

@ -6174,7 +6174,7 @@ export class OrganizationDotnetController extends Controller {
// group by ancestorDNA แล้วเลือก create_at ล่าสุด
const grouped = new Map<string, PosMasterHistory>();
for (const item of profile) {
const key = `${item.ancestorDNA}`;
const key = `${item.shortName}-${item.posMasterNo}`;
if (!grouped.has(key)) {
grouped.set(key, item);
} else {