Fixed error on main
This commit is contained in:
parent
9c81286728
commit
cb754f6f54
1 changed files with 4 additions and 2 deletions
|
|
@ -151,8 +151,9 @@ export default () => {
|
|||
|
||||
if (updateOrderofpayment) {
|
||||
postPops(division, application)
|
||||
const popsResult = await checkPops(application)
|
||||
|
||||
if (checkPops()) {
|
||||
if (popsResult) {
|
||||
postTransaction()
|
||||
setApprovedApplication(application)
|
||||
setApproved(true)
|
||||
|
|
@ -177,8 +178,9 @@ export default () => {
|
|||
|
||||
if (updateOrderofpayment) {
|
||||
postPops(division, application)
|
||||
const popsResult = await checkPops(application)
|
||||
|
||||
if (checkPops()){
|
||||
if (popsResult) {
|
||||
postTransaction()
|
||||
setApprovedApplication(application)
|
||||
setApproved(true)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue