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

Diff of /papo/forms/productInvoice.neb

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

revision 1.32 by apronotti, Thu Jul 24 21:30:47 2003 UTC revision 1.33 by mhepp, Tue Jul 29 19:46:02 2003 UTC
# Line 360  Line 360 
360          <!--    <cfield name="own_item.id"/> -->          <!--    <cfield name="own_item.id"/> -->
361          <!--    <cfield name="own_item_tax.own_item"/> -->          <!--    <cfield name="own_item_tax.own_item"/> -->
362          <!--  </eq> -->          <!--  </eq> -->
363          <eq>          <!--  <eq> -->
364             <cfield name="own_item_tax.tax"/>          <!--            <cfield name="own_item_tax.tax"/> -->
365             <cconst value="1"/>          <!--            <cconst value="1"/> -->
366           </eq>          <!--          </eq> -->
367        </and>        </and>
368      </condition>      </condition>
369    </datasource>    </datasource>
# Line 628  Line 628 
628        lTNeto += lItemPrice        lTNeto += lItemPrice
629        #lTTax += hack.a2f(lRecord.getField("own_item_tax.amount"),4)        #lTTax += hack.a2f(lRecord.getField("own_item_tax.amount"),4)
630    
     #TRecords =  ownItemIVADataSource.getRecords()  
     #for index in range(len(TRecords)):  
     #    TRecord = TRecords[index]  
     #    lTTax += hack.a2f(TRecord.getField("own_item_tax.amount"),4)  
     #    print index,hack.a2f(TRecord.getField("own_item_tax.amount"),4)  
     #if str(tmpValuesDataSource.IVARNIGraft) != "None":  
     #    TRecords =  ownItemIVARNIDataSource.getRecords()  
     #    for index in range(len(TRecords)):  
     #        TRecord = TRecords[index]  
     #        lTTax += hack.a2f(TRecord.getField("own_item_tax.amount"),4)  
     #        print index,hack.a2f(TRecord.getField("own_item_tax.amount"),4)  
631      ownDocumentBlock.netTotalEntry = str(round(lTNeto,2))      ownDocumentBlock.netTotalEntry = str(round(lTNeto,2))
632      totalBlock.netoEntry = str(round(lTNeto,2))      totalBlock.netoEntry = str(round(lTNeto,2))
633      ownDocumentBlock.taxTotalEntry = str(round(lTTax,2))      ownDocumentBlock.taxTotalEntry = str(round(lTTax,2))

Legend:
Removed from v.1.32  
changed lines
  Added in v.1.33

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