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

Diff of /papo/forms/productProviderInvoice.gfd

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

revision 1.7 by apronotti, Mon Dec 16 20:42:26 2002 UTC revision 1.8 by apronotti, Wed Dec 18 17:54:22 2002 UTC
# Line 311  Line 311 
311          alienDocumentBlock.processRollback()          alienDocumentBlock.processRollback()
312    
313        callTrigger('rollbackTrigger')        callTrigger('rollbackTrigger')
314        alienDocumentBlock.newRecord()  
       totalBlock.totalEntry = ""  
       payBlock.cashEntry = ""  
       payBlock.ctaCteEntry = ""  
315    </trigger>    </trigger>
316    
317    <trigger name="rollbackTrigger" type="NAMED">    <trigger name="rollbackTrigger" type="NAMED">
# Line 324  Line 321 
321      alienItemBlock.processRollback()      alienItemBlock.processRollback()
322      currencyMovementBlock.processRollback()      currencyMovementBlock.processRollback()
323      alienDocumentProceedingBlock.processRollback()      alienDocumentProceedingBlock.processRollback()
324        alienDocumentBlock.newRecord()
325            
326      totalBlock.totalEntry = ""      totalBlock.totalEntry = ""
327      payBlock.cashEntry = ""      payBlock.cashEntry = ""
# Line 410  Line 408 
408       recordCount = alienItemBlock.getRecordCount()       recordCount = alienItemBlock.getRecordCount()
409       alienItemBlock.firstRecord()       alienItemBlock.firstRecord()
410       for index in range(recordCount):       for index in range(recordCount):
411           alienItemBlock.taxPercentEntry = hack.a2f(alienItemBlock.taxAmountEntry) / hack.a2f(alienItemBlock.unitPriceEntry) * \           alienItemBlock.taxPercentEntry = (hack.a2f(alienItemBlock.taxAmountEntry) / (hack.a2f(alienItemBlock.unitPriceEntry) * \
412                                            hack.a2f(alienItemBlock.qtyEntry) * 100                                            hack.a2f(alienItemBlock.qtyEntry))) * 100
413           if index != recordCount-1:           if index != recordCount-1:
414               alienItemBlock.nextRecord()               alienItemBlock.nextRecord()
415    

Legend:
Removed from v.1.7  
changed lines
  Added in v.1.8

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