| 
						
						
							
								
							
						
						
					 | 
					 | 
					@ -2,11 +2,13 @@ package info.bukova.isspst.data;
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					import info.bukova.isspst.Constants;
 | 
					 | 
					 | 
					 | 
					import info.bukova.isspst.Constants;
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					import info.bukova.isspst.storage.EntityWithAttachment;
 | 
					 | 
					 | 
					 | 
					import info.bukova.isspst.storage.EntityWithAttachment;
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					import org.hibernate.annotations.LazyCollection;
 | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					import java.math.BigDecimal;
 | 
					 | 
					 | 
					 | 
					import org.hibernate.annotations.LazyCollectionOption;
 | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					import java.util.ArrayList;
 | 
					 | 
					 | 
					 | 
					import org.hibernate.search.annotations.Analyze;
 | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					import java.util.Date;
 | 
					 | 
					 | 
					 | 
					import org.hibernate.search.annotations.Field;
 | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					import java.util.List;
 | 
					 | 
					 | 
					 | 
					import org.hibernate.search.annotations.Index;
 | 
				
			
			
				
				
			
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					import org.hibernate.search.annotations.Indexed;
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					import org.hibernate.search.annotations.IndexedEmbedded;
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					import javax.persistence.CascadeType;
 | 
					 | 
					 | 
					 | 
					import javax.persistence.CascadeType;
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					import javax.persistence.Column;
 | 
					 | 
					 | 
					 | 
					import javax.persistence.Column;
 | 
				
			
			
		
	
	
		
		
			
				
					| 
						
						
						
							
								
							
						
					 | 
					 | 
					@ -16,14 +18,10 @@ import javax.persistence.JoinColumn;
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					import javax.persistence.OneToMany;
 | 
					 | 
					 | 
					 | 
					import javax.persistence.OneToMany;
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					import javax.persistence.OneToOne;
 | 
					 | 
					 | 
					 | 
					import javax.persistence.OneToOne;
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					import javax.persistence.Table;
 | 
					 | 
					 | 
					 | 
					import javax.persistence.Table;
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					import java.math.BigDecimal;
 | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					import org.hibernate.annotations.LazyCollection;
 | 
					 | 
					 | 
					 | 
					import java.util.ArrayList;
 | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					import org.hibernate.annotations.LazyCollectionOption;
 | 
					 | 
					 | 
					 | 
					import java.util.Date;
 | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					import org.hibernate.search.annotations.Analyze;
 | 
					 | 
					 | 
					 | 
					import java.util.List;
 | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					import org.hibernate.search.annotations.Field;
 | 
					 | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					import org.hibernate.search.annotations.Index;
 | 
					 | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					import org.hibernate.search.annotations.Indexed;
 | 
					 | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					import org.hibernate.search.annotations.IndexedEmbedded;
 | 
					 | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					@Entity
 | 
					 | 
					 | 
					 | 
					@Entity
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					@Table(name = "TRIP_BILL")
 | 
					 | 
					 | 
					 | 
					@Table(name = "TRIP_BILL")
 | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
							
								
							
						
						
					 | 
					 | 
					@ -66,7 +64,7 @@ public class TripBill extends BaseData implements EntityWithAttachment {
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
						@JoinColumn(name = "APPROVAL_ID")
 | 
					 | 
					 | 
					 | 
						@JoinColumn(name = "APPROVAL_ID")
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
						private TripBillApproval approval;
 | 
					 | 
					 | 
					 | 
						private TripBillApproval approval;
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
						@Column(name = "SAVED")
 | 
					 | 
					 | 
					 | 
						@Column(name = "SAVED")
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
						private Boolean saved;
 | 
					 | 
					 | 
					 | 
						private Boolean saved; // Nastaveno na true, pokud uživatel udělá změnu- nepřenáší se pak částky od žadatele
 | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
						
 | 
					 | 
					 | 
					 | 
						
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
						public TripBill() {
 | 
					 | 
					 | 
					 | 
						public TripBill() {
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
							billItems = new ArrayList<TripBillItem>();
 | 
					 | 
					 | 
					 | 
							billItems = new ArrayList<TripBillItem>();
 | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
						
					 | 
					 | 
					
 
 |