pointonsoftware / pscore

C++ library for building your business software
GNU Affero General Public License v3.0
1 stars 2 forks source link

Only one personal ID is listed #74

Closed gbenziv closed 3 years ago

gbenziv commented 4 years ago

Build tested: https://github.com/pointonsoftware/pscore/pull/73/checks?check_run_id=1312608439

Steps to reproduce:

1) Login to an account with two personal IDs. e.g.: BGAR123; 2020 - admin account that has two personal ids as per: https://github.com/pointonsoftware/pscore/blob/master/orchestra/migration/storage/stackdb.cpp#L55

    PERSONAL_ID_TABLE.emplace_back(PersonalIdTableItem {
            "2014566",                    // Employee ID <!Must be the same as above>
            "SSS",                        // Type
            "003-311-150-413"});          // ID-number
    PERSONAL_ID_TABLE.emplace_back(PersonalIdTableItem {
            "2014566",                    // Employee ID <!Must be the same as above>
            "UMID",                       // Type
            "04-1511167-8"});             // ID-number

2) Select option [1] Personal Information 3) Observe the Personal Identification section

EXPECTED

ACTUAL

---------------------------------------------------------------------------------
|                            Personal Identification                            |
---------------------------------------------------------------------------------
ID 1        : SSS-003-311-150-413