mirror of
				https://github.com/invoiceninja/invoiceninja.git
				synced 2025-11-04 05:27:33 -05:00 
			
		
		
		
	fixes for check data
This commit is contained in:
		
							parent
							
								
									4318423a05
								
							
						
					
					
						commit
						4140051877
					
				@ -389,7 +389,7 @@ class CheckData extends Command
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
            if ($ledger && (string) $invoice_balance != (string) $client->balance) {
 | 
					            if ($ledger && (string) $invoice_balance != (string) $client->balance) {
 | 
				
			||||||
                $wrong_paid_to_dates++;
 | 
					                $wrong_paid_to_dates++;
 | 
				
			||||||
                $this->logMessage($client->present()->name.' - '.$client->id." - client paid to dates do not match {$invoice_balance} - ".rtrim($client->balance, '0'));
 | 
					                $this->logMessage($client->present()->name.' - '.$client->id." - calculated client balances do not match {$invoice_balance} - ".rtrim($client->balance, '0'));
 | 
				
			||||||
 | 
					
 | 
				
			||||||
                $this->isValid = false;
 | 
					                $this->isValid = false;
 | 
				
			||||||
            }
 | 
					            }
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user