Skip to content

Commit

Permalink
Reassigning some or all reviewers -- after reassingnig, update gui wi…
Browse files Browse the repository at this point in the history
…th new o|r|a after successful db query; do not otherwise...
  • Loading branch information
alexsav815 committed Feb 6, 2024
1 parent 1b94fea commit a0fa382
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions programs/us_esigner_gmp/us_esigner_gmp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2512,11 +2512,6 @@ void US_eSignaturesGMP::assignOperRevs_sa( void )
qDebug() << "revs_updated -- " << revs_updated;
qDebug() << "apprs_updated -- " << apprs_updated;

//[TEMP] Update te fileds, move to back later
te_operator_names -> setText( opers_updated );
te_reviewer_names -> setText( revs_updated );
te_appr_names -> setText( apprs_updated );

//check existing EsignStatusJson: "to_sign", "signed"
QString eSignStatusJson = eSign_details[ "eSignStatusJson" ];
QString eSignStatusAll = eSign_details[ "eSignStatusAll" ];
Expand Down Expand Up @@ -2582,8 +2577,14 @@ void US_eSignaturesGMP::assignOperRevs_sa( void )
<< logJsonUpdateTime;

qDebug() << "update_gmp_review_record_by_admin, qry -- " << qry;
//db->query( qry );

db->query( qry );

//Update te fileds
te_operator_names -> setText( opers_updated );
te_reviewer_names -> setText( revs_updated );
te_appr_names -> setText( apprs_updated );

qApp->processEvents();
}

//updated lists of o,r,a
Expand Down

0 comments on commit a0fa382

Please sign in to comment.