/[papo]/papo/forms/productProviderInvoice.neb
ViewVC logotype

Diff of /papo/forms/productProviderInvoice.neb

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.19 by apronotti, Thu Jun 5 16:57:28 2003 UTC revision 1.20 by apronotti, Thu Jun 5 19:51:12 2003 UTC
# Line 1383  Line 1383 
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    

Legend:
Removed from v.1.19  
changed lines
  Added in v.1.20

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26