Patch level : 12.0 36
Files correlati : cg4.exe Non stampava più i progressivi precedenti nella stampa registri git-svn-id: svn://10.65.10.50/branches/R_10_00@23682 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
		
							parent
							
								
									05e9108d56
								
							
						
					
					
						commit
						a02daab789
					
				@ -568,17 +568,9 @@ void TLiquidazione_app::zero_att(int month, const char* codatt)
 | 
			
		||||
  TString80 codtab;
 | 
			
		||||
  TString16 att;
 | 
			
		||||
  TString4 year;
 | 
			
		||||
  int m, start, stop;
 | 
			
		||||
 | 
			
		||||
  start = 0; stop = 1;
 | 
			
		||||
 | 
			
		||||
  if (_recalc_regis)
 | 
			
		||||
  {
 | 
			
		||||
    // Se stiamo ricalcolando per registri(_recalc_regis) azzera PRM e PRP
 | 
			
		||||
    start = 2; stop = 3;
 | 
			
		||||
  }
 | 
			
		||||
  int m;
 | 
			
		||||
  // PIM / PIS
 | 
			
		||||
  for (int i = start; i <= stop; i++) // Ciclo per le tabelle da azzerare
 | 
			
		||||
  for (int i = 0; i < 4; i++) // Ciclo per le tabelle da azzerare
 | 
			
		||||
  {
 | 
			
		||||
    TTable * tab = (TTable*) arr[i];
 | 
			
		||||
    CHECK(tab, "Invalid table element");
 | 
			
		||||
@ -2464,14 +2456,7 @@ void TLiquidazione_app::recalc_att(int month, const char* codatt, TAssoc_array &
 | 
			
		||||
         * Onde evitare ripetizioni di codice adotto il metodo sottoindicato,
 | 
			
		||||
         * come nell'azzeramento di zero_att().
 | 
			
		||||
         */
 | 
			
		||||
        int start = 0, stop = 1;
 | 
			
		||||
        if (_recalc_regis) // ricalcolo solo per registri.
 | 
			
		||||
        {
 | 
			
		||||
          start = 2;
 | 
			
		||||
          stop  = 3;
 | 
			
		||||
        }
 | 
			
		||||
        
 | 
			
		||||
        for (int i=start; i<=stop; i++) // Ciclo per le tabelle
 | 
			
		||||
        for (int i = 0; i< 4; i++) // Ciclo per le tabelle
 | 
			
		||||
        { 
 | 
			
		||||
          if (i == 1 || i == 3) //Is it a valid PIS/PRP (vedi anche sel. cursore & date_ok())?
 | 
			
		||||
           if ((liqmonth == 0 && month < 13) || (month == 13 && liqmonth  != 12)) 
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user