mirror of
				https://github.com/invoiceninja/invoiceninja.git
				synced 2025-11-03 23:27:31 -05:00 
			
		
		
		
	Invoice w/ bash remaining not marked #1087
This commit is contained in:
		
							parent
							
								
									cb6f7fc687
								
							
						
					
					
						commit
						f7ac613c85
					
				@ -545,7 +545,7 @@ class InvoiceRepository extends BaseRepository
 | 
				
			|||||||
        }
 | 
					        }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        if ($publicId) {
 | 
					        if ($publicId) {
 | 
				
			||||||
            $invoice->balance = $total - ($invoice->amount - $invoice->balance);
 | 
					            $invoice->balance = round($total - ($invoice->amount - $invoice->balance), 2);
 | 
				
			||||||
        } else {
 | 
					        } else {
 | 
				
			||||||
            $invoice->balance = $total;
 | 
					            $invoice->balance = $total;
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user