1383 |
import hack |
import hack |
1384 |
|
|
1385 |
if hack.a2f(payBlock.cashEntry,2) != 0.0: |
if hack.a2f(payBlock.cashEntry,2) != 0.0: |
1386 |
tmpAmountBlock.cashAmountEntry = str(payBlock.cashEntry) |
tmpAmountBlock.cashAmountEntry = hack.a2f(payBlock.cashEntry,2) |
1387 |
tmpAmountBlock.ctaCteAmountEntry = str(payBlock.ctaCteEntry) |
tmpAmountBlock.ctaCteAmountEntry = hack.a2f(payBlock.ctaCteEntry,2) |
1388 |
currencyMovementBlock.clear() |
currencyMovementBlock.clear() |
1389 |
|
|
1390 |
def callback (returnValue): |
def callback (returnValue): |
1391 |
if str(returnValue) == '1': |
if str(returnValue) == '1': |
1392 |
callTrigger('commitTrigger') |
callTrigger('commitTrigger') |
1393 |
runForm ('providerMultiCurrency.gfd', {'currency': currencyMovementBlock, 'amount': tmpAmountBlock, 'callback': callback}) |
runForm ('providerMultiCurrency.gfd', {'currency': currencyMovementBlock, 'amount': tmpAmountBlock, 'callback': callback}) |
1394 |
|
else: |
1395 |
|
callTrigger('commitTrigger') |
1396 |
|
|
1397 |
</trigger> |
</trigger> |
1398 |
|
|