/[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.3 by apronotti, Wed May 14 22:58:50 2003 UTC revision 1.4 by apronotti, Thu May 15 19:07:21 2003 UTC
# Line 1014  Line 1014 
1014    </trigger>    </trigger>
1015    
1016   <trigger name="bringInvoiceTypeShowTrigger" type="NAMED">   <trigger name="bringInvoiceTypeShowTrigger" type="NAMED">
1017     if resultBlock.getRecordCount() > 0 and not resultBlock.getCurrentRecord().isEmpty():
1018     typeInvoice = int(str(alienDocumentShowBlock.typeEntry))     typeInvoice = int(str(alienDocumentShowBlock.typeEntry))
1019     result = ""     result = ""
1020     if typeInvoice == 2:     if typeInvoice == 2:
# Line 1027  Line 1028 
1028   </trigger>   </trigger>
1029    
1030   <trigger name="totalCalcShowTrigger" type="NAMED">   <trigger name="totalCalcShowTrigger" type="NAMED">
1031      if resultBlock.getRecordCount() > 0 and not resultBlock.getCurrentRecord().isEmpty():
1032      import hack      import hack
1033            
1034    
# Line 1052  Line 1054 
1054      totalShowBlock.netoEntry = str(lTNeto)      totalShowBlock.netoEntry = str(lTNeto)
1055      totalShowBlock.ivaEntry = str(lTTax)      totalShowBlock.ivaEntry = str(lTTax)
1056      totalShowBlock.totalEntry = str(lTNeto+lTTax)      totalShowBlock.totalEntry = str(lTNeto+lTTax)
1057      #payBlock.cashEntry = str(lTNeto+lTTax)    else:
1058        totalShowBlock.netoEntry = "0.00"
1059        totalShowBlock.ivaEntry = "0.00"
1060        totalShowBlock.totalEntry = "0.00"
1061    
     #totalBlock.totalEntry = str(sum)  
     #payBlock.cashEntry = str(sum)  
     #payBlock.ctaCteEntry = "0.00"  
1062    </trigger>    </trigger>
1063    
1064    <trigger name="totalCalcTrigger" type="NAMED">    <trigger name="totalCalcTrigger" type="NAMED">

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

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