Преглед изворни кода

Merge pull request #76 from andrewdwallo/fix/fiscal-year-end-localization

Fix #75
3.x
Andrew Wallo пре 11 месеци
родитељ
комит
8166db5a25
No account linked to committer's email address
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1
    1
      app/Filament/Company/Clusters/Settings/Pages/Localization.php

+ 1
- 1
app/Filament/Company/Clusters/Settings/Pages/Localization.php Прегледај датотеку

184
                                 ->softRequired()
184
                                 ->softRequired()
185
                                 ->columnSpan(1)
185
                                 ->columnSpan(1)
186
                                 ->options(function (Get $get) {
186
                                 ->options(function (Get $get) {
187
-                                    $month = $get('fiscal_year_end_month');
187
+                                    $month = (int) $get('fiscal_year_end_month');
188
 
188
 
189
                                     $daysInMonth = now()->month($month)->daysInMonth;
189
                                     $daysInMonth = now()->month($month)->daysInMonth;
190
 
190
 

Loading…
Откажи
Сачувај