1375 |
</trigger> |
</trigger> |
1376 |
|
|
1377 |
<trigger name="providerMultiCurrencyTrigger" type="NAMED"> |
<trigger name="providerMultiCurrencyTrigger" type="NAMED"> |
1378 |
|
import hack |
1379 |
|
|
1380 |
tmpAmountBlock.cashAmountEntry = str(payBlock.cashEntry) |
if hack.a2f(payBlock.cashEntry,2) != 0.0: |
1381 |
tmpAmountBlock.ctaCteAmountEntry = str(payBlock.ctaCteEntry) |
tmpAmountBlock.cashAmountEntry = str(payBlock.cashEntry) |
1382 |
currencyMovementBlock.clear() |
tmpAmountBlock.ctaCteAmountEntry = str(payBlock.ctaCteEntry) |
1383 |
|
currencyMovementBlock.clear() |
1384 |
|
|
1385 |
def callback (returnValue): |
def callback (returnValue): |
1386 |
if str(returnValue) == '1': |
if str(returnValue) == '1': |
1387 |
callTrigger('commitTrigger') |
callTrigger('commitTrigger') |
1388 |
print "Voy al runform" |
runForm ('providerMultiCurrency.gfd', {'currency': currencyMovementBlock, 'amount': tmpAmountBlock, 'callback': callback}) |
|
runForm ('providerMultiCurrency.gfd', {'currency': currencyMovementBlock, 'amount': tmpAmountBlock, 'callback': callback}) |
|
1389 |
|
|
1390 |
</trigger> |
</trigger> |
1391 |
|
|