/[papo]/papo/forms/serviceProviderInvoice.gfd
ViewVC logotype

Diff of /papo/forms/serviceProviderInvoice.gfd

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

revision 1.2 by apronotti, Wed Dec 11 22:14:43 2002 UTC revision 1.3 by apronotti, Mon Dec 16 20:25:14 2002 UTC
# Line 352  Line 352 
352    </trigger>    </trigger>
353    
354    <trigger name="resultFocusOutTrigger" type="NAMED">    <trigger name="resultFocusOutTrigger" type="NAMED">
355       import hack
356     alienDocumentBlock.processRollback()     alienDocumentBlock.processRollback()
357     if resultBlock.getRecordCount() > 0 and not resultBlock.getCurrentRecord().isEmpty():     if resultBlock.getRecordCount() > 0 and not resultBlock.getCurrentRecord().isEmpty():
358       alienDocumentBlock.initQuery()       alienDocumentBlock.initQuery()
359       alienDocumentBlock.idEntry = ("%s" % resultBlock.idREntry)       alienDocumentBlock.idEntry = ("%s" % resultBlock.idREntry)
360       alienDocumentBlock.processQuery()       alienDocumentBlock.processQuery()
361         recordCount = alienDocumentBlock.getRecordCount()
362         alienDocumentBlock.firstRecord()
363         for index in range(recordCount):
364             alienItemBlock.taxPercentEntry = hack.a2f(alienItemBlock.taxAmountEntry) / hack.a2f(alienItemBlock.priceEntry) * 100
365             alienItemBlock.nextRecord()
366        
367    </trigger>    </trigger>
368    
369    <trigger name="providerTrigger" type="NAMED">    <trigger name="providerTrigger" type="NAMED">

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

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