/[papo]/papo/forms/product.gfd
ViewVC logotype

Diff of /papo/forms/product.gfd

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

revision 1.31 by apronotti, Fri Mar 28 18:09:41 2003 UTC revision 1.32 by apronotti, Wed Apr 2 15:19:01 2003 UTC
# Line 267  Line 267 
267    line = "\n\nListado de Productos\n\n\n"    line = "\n\nListado de Productos\n\n\n"
268    table.append(line)    table.append(line)
269    
270    line = " | "+printTitle("Código",15)+" | "    line = " | "+printTitle("Código",13)+" | "
271    line += printTitle("Nombre",40)+" | "    line += printTitle("Nombre",48)+" | "
272    line += printTitle("Stock",15)+" | "    line += printTitle("Stock",8)+" | "
273    lineLen = len(line)    lineLen = len(line)
274    table.append(line)    table.append(line)
275    line = ""    line = ""
# Line 281  Line 281 
281    more = productResulSet.firstRecord();    more = productResulSet.firstRecord();
282    
283    while more:    while more:
284        line = " | "+printField(productResulSet.current.getField("_product_code_data.code"),15,'r')+" | "        line = " | "+printField(productResulSet.current.getField("_product_code_data.code"),13,'l')+" | "
285        line += printField(productResulSet.current.getField("_product_data.canonical_name"),40,'l')+" | "        line += printField(productResulSet.current.getField("_product_data.canonical_name"),48,'l')+" | "
286        line += printField(productResulSet.current.getField("_product_store_data.level"),15,'r')+" | "        line += printField("%0.2f" % productResulSet.current.getField("_product_store_data.level"),8,'r')+" | "
287        table.append(line)        table.append(line)
288    
289        more = productResulSet.nextRecord()        more = productResulSet.nextRecord()

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

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