/[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.37 by mhepp, Tue Aug 26 18:03:19 2003 UTC revision 1.38 by apronotti, Tue Sep 9 20:54:18 2003 UTC
# Line 217  Line 217 
217    
218    <!-- Origen de datos que srive para calcular el total facturado -->    <!-- Origen de datos que srive para calcular el total facturado -->
219    <datasource name="productCreditNoteTotalDataSource" database="papo"    <datasource name="productCreditNoteTotalDataSource" database="papo"
220                table="_entity_data, own_document, own_item, own_product_item, own_item_tax"                table="_entity_data">
               order_by="own_product_item.id">  
221      <condition>      <condition>
222        <and>        <and>
223          <eq>          <eq>
# Line 719  Line 718 
718    
719          while more:          while more:
720              currOwnDoc = productCreditNoteResultSet.current.getField("own_document.id")              currOwnDoc = productCreditNoteResultSet.current.getField("own_document.id")
721              creditNoteTotal = hack.a2f(creditNoteTotalproductCreditNoteResultSet.current.getField("own_document.net_total"),4)+\              creditNoteTotal = hack.a2f(productCreditNoteResultSet.current.getField("own_document.net_total"),4)+\
722                                hack.a2f(creditNoteTotalproductCreditNoteResultSet.current.getField("own_document.tax_total"),4)                                hack.a2f(productCreditNoteResultSet.current.getField("own_document.tax_total"),4)
723    
724              creditTotal += creditNoteTotal              creditTotal += creditNoteTotal
725              more = productCreditNoteResultSet.nextRecord()              more = productCreditNoteResultSet.nextRecord()

Legend:
Removed from v.1.37  
changed lines
  Added in v.1.38

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