Modificata la creazione del form: ora viene passato "" in caso
_codice sia == 0. git-svn-id: svn://10.65.10.50/trunk@2148 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
		
							parent
							
								
									0b5adc807d
								
							
						
					
					
						commit
						47ac23a568
					
				@ -328,7 +328,7 @@ bool TStampa_deleghe_IVA::print_deleghe()
 | 
				
			|||||||
{
 | 
					{
 | 
				
			||||||
  bool ok = printer().open();
 | 
					  bool ok = printer().open();
 | 
				
			||||||
  bool arng = FALSE;
 | 
					  bool arng = FALSE;
 | 
				
			||||||
  TForm f(_profilo, format("%05ld",_codice));
 | 
					  TForm f(_profilo, (_codice != 0) ? format("%05ld",_codice) : "");
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  TCursor& cur = *f.cursor();
 | 
					  TCursor& cur = *f.cursor();
 | 
				
			||||||
  TLocalisamfile& delega = cur.file();
 | 
					  TLocalisamfile& delega = cur.file();
 | 
				
			||||||
 | 
				
			|||||||
@ -328,7 +328,7 @@ bool TStampa_deleghe_IVA::print_deleghe()
 | 
				
			|||||||
{
 | 
					{
 | 
				
			||||||
  bool ok = printer().open();
 | 
					  bool ok = printer().open();
 | 
				
			||||||
  bool arng = FALSE;
 | 
					  bool arng = FALSE;
 | 
				
			||||||
  TForm f(_profilo, format("%05ld",_codice));
 | 
					  TForm f(_profilo, (_codice != 0) ? format("%05ld",_codice) : "");
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  TCursor& cur = *f.cursor();
 | 
					  TCursor& cur = *f.cursor();
 | 
				
			||||||
  TLocalisamfile& delega = cur.file();
 | 
					  TLocalisamfile& delega = cur.file();
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user