| 
				
			 | 
			
			
				
				@@ -8,7 +8,6 @@ use App\Filament\Forms\Components\CustomTableRepeater; 
			 | 
		
		
	
		
			
			| 
				8
			 | 
			
				8
			 | 
			
			
				
				 use App\Models\Accounting\JournalEntry; 
			 | 
		
		
	
		
			
			| 
				9
			 | 
			
				9
			 | 
			
			
				
				 use App\Models\Accounting\Transaction; 
			 | 
		
		
	
		
			
			| 
				10
			 | 
			
				10
			 | 
			
			
				
				 use App\Models\Banking\BankAccount; 
			 | 
		
		
	
		
			
			| 
				11
			 | 
			
				
			 | 
			
			
				
				-use App\Services\CompanySettingsService; 
			 | 
		
		
	
		
			
			| 
				12
			 | 
			
				11
			 | 
			
			
				
				 use App\Utilities\Currency\CurrencyAccessor; 
			 | 
		
		
	
		
			
			| 
				13
			 | 
			
				12
			 | 
			
			
				
				 use App\Utilities\Currency\CurrencyConverter; 
			 | 
		
		
	
		
			
			| 
				14
			 | 
			
				13
			 | 
			
			
				
				 use Awcodes\TableRepeater\Header; 
			 | 
		
		
	
	
		
			
			| 
				
			 | 
			
			
				
				@@ -40,7 +39,7 @@ trait HasTransactionAction 
			 | 
		
		
	
		
			
			| 
				40
			 | 
			
				39
			 | 
			
			
				
				     protected function getFormDefaultsForType(TransactionType $type): array 
			 | 
		
		
	
		
			
			| 
				41
			 | 
			
				40
			 | 
			
			
				
				     { 
			 | 
		
		
	
		
			
			| 
				42
			 | 
			
				41
			 | 
			
			
				
				         $commonDefaults = [ 
			 | 
		
		
	
		
			
			| 
				43
			 | 
			
				
			 | 
			
			
				
				-            'posted_at' => now(), 
			 | 
		
		
	
		
			
			| 
				
			 | 
			
				42
			 | 
			
			
				
				+            'posted_at' => company_today()->toDateString(), 
			 | 
		
		
	
		
			
			| 
				44
			 | 
			
				43
			 | 
			
			
				
				         ]; 
			 | 
		
		
	
		
			
			| 
				45
			 | 
			
				44
			 | 
			
			
				
				  
			 | 
		
		
	
		
			
			| 
				46
			 | 
			
				45
			 | 
			
			
				
				         return match ($type) { 
			 | 
		
		
	
	
		
			
			| 
				
			 | 
			
			
				
				@@ -84,7 +83,6 @@ trait HasTransactionAction 
			 | 
		
		
	
		
			
			| 
				84
			 | 
			
				83
			 | 
			
			
				
				             ->schema([ 
			 | 
		
		
	
		
			
			| 
				85
			 | 
			
				84
			 | 
			
			
				
				                 Forms\Components\DatePicker::make('posted_at') 
			 | 
		
		
	
		
			
			| 
				86
			 | 
			
				85
			 | 
			
			
				
				                     ->label('Date') 
			 | 
		
		
	
		
			
			| 
				87
			 | 
			
				
			 | 
			
			
				
				-                    ->timezone(CompanySettingsService::getDefaultTimezone()) 
			 | 
		
		
	
		
			
			| 
				88
			 | 
			
				86
			 | 
			
			
				
				                     ->required(), 
			 | 
		
		
	
		
			
			| 
				89
			 | 
			
				87
			 | 
			
			
				
				                 Forms\Components\TextInput::make('description') 
			 | 
		
		
	
		
			
			| 
				90
			 | 
			
				88
			 | 
			
			
				
				                     ->label('Description'), 
			 | 
		
		
	
	
		
			
			| 
				
			 | 
			
			
				
				@@ -127,7 +125,6 @@ trait HasTransactionAction 
			 | 
		
		
	
		
			
			| 
				127
			 | 
			
				125
			 | 
			
			
				
				             ->schema([ 
			 | 
		
		
	
		
			
			| 
				128
			 | 
			
				126
			 | 
			
			
				
				                 Forms\Components\DatePicker::make('posted_at') 
			 | 
		
		
	
		
			
			| 
				129
			 | 
			
				127
			 | 
			
			
				
				                     ->label('Date') 
			 | 
		
		
	
		
			
			| 
				130
			 | 
			
				
			 | 
			
			
				
				-                    ->timezone(CompanySettingsService::getDefaultTimezone()) 
			 | 
		
		
	
		
			
			| 
				131
			 | 
			
				128
			 | 
			
			
				
				                     ->required(), 
			 | 
		
		
	
		
			
			| 
				132
			 | 
			
				129
			 | 
			
			
				
				                 Forms\Components\TextInput::make('description') 
			 | 
		
		
	
		
			
			| 
				133
			 | 
			
				130
			 | 
			
			
				
				                     ->label('Description'), 
			 | 
		
		
	
	
		
			
			| 
				
			 | 
			
			
				
				@@ -210,7 +207,6 @@ trait HasTransactionAction 
			 | 
		
		
	
		
			
			| 
				210
			 | 
			
				207
			 | 
			
			
				
				             ->schema([ 
			 | 
		
		
	
		
			
			| 
				211
			 | 
			
				208
			 | 
			
			
				
				                 Forms\Components\DatePicker::make('posted_at') 
			 | 
		
		
	
		
			
			| 
				212
			 | 
			
				209
			 | 
			
			
				
				                     ->label('Date') 
			 | 
		
		
	
		
			
			| 
				213
			 | 
			
				
			 | 
			
			
				
				-                    ->timezone(CompanySettingsService::getDefaultTimezone()) 
			 | 
		
		
	
		
			
			| 
				214
			 | 
			
				210
			 | 
			
			
				
				                     ->softRequired(), 
			 | 
		
		
	
		
			
			| 
				215
			 | 
			
				211
			 | 
			
			
				
				                 Forms\Components\TextInput::make('description') 
			 | 
		
		
	
		
			
			| 
				216
			 | 
			
				212
			 | 
			
			
				
				                     ->label('Description') 
			 |