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

Diff of /papo/forms/ivaSales.neb

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

revision 1.7 by mhepp, Fri Jun 6 13:59:13 2003 UTC revision 1.8 by mhepp, Fri Jun 6 19:29:01 2003 UTC
# Line 231  else: Line 231  else:
231    GConditions.GCConst(le,str(printBlock.printBox.endDateEntry))    GConditions.GCConst(le,str(printBlock.printBox.endDateEntry))
232    #condiciones por Branch    #condiciones por Branch
233    if str(printBlock.printBox.ownBranchIdSearch):    if str(printBlock.printBox.ownBranchIdSearch):
234     print str(printBlock.printBox.ownBranchIdSearch)     #print str(printBlock.printBox.ownBranchIdSearch)
235     #condiciono relacion ownPos con ownBranch     #condiciono relacion ownPos con ownBranch
236     #condiciono documentos emitidos por el pos     #condiciono documentos emitidos por el pos
237     eq1 = GConditions.GCeq(tmpAnd)     eq1 = GConditions.GCeq(tmpAnd)
# Line 269  else: Line 269  else:
269        line += "|"+printing.printField(productInvoiceResultSet.current.getField("client.name"),30)        line += "|"+printing.printField(productInvoiceResultSet.current.getField("client.name"),30)
270        line += "|"+printing.printField(productInvoiceResultSet.current.getField("_entity_uid_data.uid"),15)        line += "|"+printing.printField(productInvoiceResultSet.current.getField("_entity_uid_data.uid"),15)
271        sign= documentSign[str(productInvoiceResultSet.current.getField("own_document.own_document_type"))]        sign= documentSign[str(productInvoiceResultSet.current.getField("own_document.own_document_type"))]
272        print "void",str(productInvoiceResultSet.current.getField("own_document.is_void"))        #print "void",str(productInvoiceResultSet.current.getField("own_document.is_void"))
273        if str(productInvoiceResultSet.current.getField("own_document.is_void"))=='1':        if str(productInvoiceResultSet.current.getField("own_document.is_void"))=='1':
274           voidDocument = "true"           voidDocument = "true"
275        else :        else :
# Line 283  else: Line 283  else:
283          item = lQty * lUnitPrice - lBonus - lDiscount          item = lQty * lUnitPrice - lBonus - lDiscount
284          currItem = productInvoiceResultSet.current.getField("own_item.id")          currItem = productInvoiceResultSet.current.getField("own_item.id")
285          while productInvoiceResultSet.current.getField("own_document.id") == currOwnDoc and productInvoiceResultSet.current.getField("own_item.id") == currItem and more:          while productInvoiceResultSet.current.getField("own_document.id") == currOwnDoc and productInvoiceResultSet.current.getField("own_item.id") == currItem and more:
286              print currOwnDoc,currItem,str(productInvoiceResultSet.current.getField("own_item_tax.id")),"\n"              #print currOwnDoc,currItem,str(productInvoiceResultSet.current.getField("own_item_tax.id")),"\n"
287              itemTaxTotal += hack.a2f(productInvoiceResultSet.current.getField("own_item_tax.amount"))              itemTaxTotal += hack.a2f(productInvoiceResultSet.current.getField("own_item_tax.amount"))
288              more = productInvoiceResultSet.nextRecord()              more = productInvoiceResultSet.nextRecord()
289          invoiceTotal += item          invoiceTotal += item
# Line 354  ownDocumentBlock.clear() Line 354  ownDocumentBlock.clear()
354    <page name="Impresion IVA Ventas">    <page name="Impresion IVA Ventas">
355    
356      <block datasource="printDataSource" name="printBlock">      <block datasource="printDataSource" name="printBlock">
357        <box height="8" label="Impresion IVA Ventas" name="printBox" width="37" x="1" y="1">        <box height="8" label="Impresion IVA Ventas" name="printBox"
358        width="37" x="1" y="1" restrictInsert="" >
359          <label name="startDateLbl" text="Desde : "  x="1" y="1"/>          <label name="startDateLbl" text="Desde : "  x="1" y="1"/>
360          <entry name="startDateEntry" typecast="date" x="9" y="1" width="12" />          <entry name="startDateEntry" typecast="date" x="9" y="1" width="12" />
361          <label name="endDateLbl" text="Hasta : " x="1" y="2"/>          <label name="endDateLbl" text="Hasta : " x="1" y="2"/>

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