| 
				
			 | 
			
			
				
				@@ -29,6 +29,7 @@ use App\Models\Accounting\DocumentLineItem; 
			 | 
		
		
	
		
			
			| 
				29
			 | 
			
				29
			 | 
			
			
				
				 use App\Models\Accounting\Estimate; 
			 | 
		
		
	
		
			
			| 
				30
			 | 
			
				30
			 | 
			
			
				
				 use App\Models\Common\Client; 
			 | 
		
		
	
		
			
			| 
				31
			 | 
			
				31
			 | 
			
			
				
				 use App\Models\Common\Offering; 
			 | 
		
		
	
		
			
			| 
				
			 | 
			
				32
			 | 
			
			
				
				+use App\Services\CompanySettingsService; 
			 | 
		
		
	
		
			
			| 
				32
			 | 
			
				33
			 | 
			
			
				
				 use App\Utilities\Currency\CurrencyAccessor; 
			 | 
		
		
	
		
			
			| 
				33
			 | 
			
				34
			 | 
			
			
				
				 use App\Utilities\Currency\CurrencyConverter; 
			 | 
		
		
	
		
			
			| 
				34
			 | 
			
				35
			 | 
			
			
				
				 use App\Utilities\RateCalculator; 
			 | 
		
		
	
	
		
			
			| 
				
			 | 
			
			
				
				@@ -92,6 +93,7 @@ class EstimateResource extends Resource 
			 | 
		
		
	
		
			
			| 
				92
			 | 
			
				93
			 | 
			
			
				
				                                         ->label('Estimate date') 
			 | 
		
		
	
		
			
			| 
				93
			 | 
			
				94
			 | 
			
			
				
				                                         ->live() 
			 | 
		
		
	
		
			
			| 
				94
			 | 
			
				95
			 | 
			
			
				
				                                         ->default(now()) 
			 | 
		
		
	
		
			
			| 
				
			 | 
			
				96
			 | 
			
			
				
				+                                        ->timezone(CompanySettingsService::getDefaultTimezone()) 
			 | 
		
		
	
		
			
			| 
				95
			 | 
			
				97
			 | 
			
			
				
				                                         ->columnSpan(2) 
			 | 
		
		
	
		
			
			| 
				96
			 | 
			
				98
			 | 
			
			
				
				                                         ->afterStateUpdated(function (Forms\Set $set, Forms\Get $get, $state) { 
			 | 
		
		
	
		
			
			| 
				97
			 | 
			
				99
			 | 
			
			
				
				                                             $date = $state; 
			 |