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

Diff of /papo/forms/ctaCteClient.neb

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

revision 1.9 by charlie, Mon Jun 2 18:13:50 2003 UTC revision 1.10 by charlie, Tue Jun 3 01:30:44 2003 UTC
# Line 180  if client: Line 180  if client:
180    
181              if ownDocumentResultSet.current.getField("own_document.own_document_type") < 10:              if ownDocumentResultSet.current.getField("own_document.own_document_type") < 10:
182                  invoiceToPayedBlock.invoiceBox.docEntry = "Fac"                  invoiceToPayedBlock.invoiceBox.docEntry = "Fac"
183                    multi = 1
184              else:              else:
185                  invoiceToPayedBlock.invoiceBox.docEntry = "NC "                  invoiceToPayedBlock.invoiceBox.docEntry = "NC "
186                                multi = -1
187                    
188              invoiceToPayedBlock.invoiceBox.typeEntry = documentType[str(ownDocumentResultSet.current.getField("own_document.own_document_type"))]              invoiceToPayedBlock.invoiceBox.typeEntry = documentType[str(ownDocumentResultSet.current.getField("own_document.own_document_type"))]
189              invoiceToPayedBlock.invoiceBox.numberEntry = str(ownDocumentResultSet.current.getField("own_document.number"))              invoiceToPayedBlock.invoiceBox.numberEntry = str(ownDocumentResultSet.current.getField("own_document.number"))
190              invoiceToPayedBlock.invoiceBox.dateEntry = str(ownDocumentResultSet.current.getField("own_document.date"))              invoiceToPayedBlock.invoiceBox.dateEntry = str(ownDocumentResultSet.current.getField("own_document.date"))
191              invoiceToPayedBlock.invoiceBox.payedEntry = str(pagado)              invoiceToPayedBlock.invoiceBox.payedEntry = str(pagado)
192              invoiceToPayedBlock.invoiceBox.amountEntry = str(monto)              invoiceToPayedBlock.invoiceBox.amountEntry = str(monto)
193    
194              total += monto - pagado              total += round((monto - pagado) * multi,2)
195                            
196          more = ownDocumentResultSet.nextRecord()          more = ownDocumentResultSet.nextRecord()
197                    

Legend:
Removed from v.1.9  
changed lines
  Added in v.1.10

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