Project

General

Profile

Actions

Sub-task #501

open
NB NB

[FE] - approval - transaction - display popup after approval

Sub-task #501: [FE] - approval - transaction - display popup after approval

Added by nanon buaphet about 2 months ago. Updated about 2 months ago.

Status:
Testing
Priority:
Normal
Assignee:
Start date:
04/21/2026
Due date:
% Done:

0%

Estimated time:

Description

key:createType
1 = client
2 =admin
3 =rm

1 กับ 3 เป็น maker checker
2 เป็นใครก็ได้

NB Updated by nanon buaphet about 2 months ago Actions #1

const (
TransactionReject TransactionStatus = iota (0)
TransactionPending (1)
TransactionPendingApprove (2)
TransactionPendingPayment (3)
TransactionMerker (4)
TransactionChecker (5)
TransactionPaymentConfirm (6)
TransactionSuccess (7)
)

BE return key transactionStatus : enum, role : list[]

function isNextLevelApproval() : boolean{

const resp = role ?? []

if resp.length() > 0; return true

if transactionStatus > 5 return true

return false

}

NB Updated by nanon buaphet about 2 months ago Actions #2

const (
TransactionReject TransactionStatus = iota (0)
TransactionPending (1)
TransactionPendingApprove (2)
TransactionPendingPayment (3)
TransactionMerker (4)
TransactionChecker (5)
TransactionPaymentConfirm (6)
TransactionSuccess (7)
)

BE return key transactionStatus : enum, role : list[]

function checkNextLevel() : boolean{

   if role.length() > 0; return true

   if [4,5].include(transactionStatus) return true

   return false

}

NB Updated by nanon buaphet about 2 months ago Actions #3

  • Status changed from New to Testing
Actions

Also available in: PDF Atom