Andrew Wallo 6 个月前
父节点
当前提交
4e26f54b59

+ 0
- 1
app/Filament/Company/Resources/Accounting/BudgetResource.php 查看文件

309
                                                 ->iconButton()
309
                                                 ->iconButton()
310
                                                 ->action(function (Forms\Set $set, Forms\Get $get, BudgetItem $record, $livewire) use ($periods) {
310
                                                 ->action(function (Forms\Set $set, Forms\Get $get, BudgetItem $record, $livewire) use ($periods) {
311
                                                     $total = CurrencyConverter::convertToCents($get('total'));
311
                                                     $total = CurrencyConverter::convertToCents($get('total'));
312
-                                                    ray($total);
313
                                                     $numPeriods = count($periods);
312
                                                     $numPeriods = count($periods);
314
 
313
 
315
                                                     if ($numPeriods === 0) {
314
                                                     if ($numPeriods === 0) {

+ 1
- 0
app/Filament/Company/Resources/Accounting/BudgetResource/Pages/CreateBudget.php 查看文件

9
 use App\Filament\Forms\Components\CustomSection;
9
 use App\Filament\Forms\Components\CustomSection;
10
 use App\Models\Accounting\Account;
10
 use App\Models\Accounting\Account;
11
 use App\Models\Accounting\Budget;
11
 use App\Models\Accounting\Budget;
12
+use App\Models\Accounting\BudgetAllocation;
12
 use App\Models\Accounting\BudgetItem;
13
 use App\Models\Accounting\BudgetItem;
13
 use App\Utilities\Currency\CurrencyConverter;
14
 use App\Utilities\Currency\CurrencyConverter;
14
 use Filament\Forms;
15
 use Filament\Forms;

+ 1
- 0
app/Filament/Company/Resources/Accounting/BudgetResource/RelationManagers/BudgetItemsRelationManager.php 查看文件

181
                     ->color('primary')
181
                     ->color('primary')
182
                     ->label('')
182
                     ->label('')
183
                     ->default('')
183
                     ->default('')
184
+                    ->tooltip('Disperse total across periods')
184
                     ->action(
185
                     ->action(
185
                         Action::make('disperse')
186
                         Action::make('disperse')
186
                             ->label('Disperse')
187
                             ->label('Disperse')

+ 6
- 6
composer.lock 查看文件

497
         },
497
         },
498
         {
498
         {
499
             "name": "aws/aws-sdk-php",
499
             "name": "aws/aws-sdk-php",
500
-            "version": "3.342.12",
500
+            "version": "3.342.14",
501
             "source": {
501
             "source": {
502
                 "type": "git",
502
                 "type": "git",
503
                 "url": "https://github.com/aws/aws-sdk-php.git",
503
                 "url": "https://github.com/aws/aws-sdk-php.git",
504
-                "reference": "29c2c34ddc7ff02ec865355fc235c78acd095fcf"
504
+                "reference": "587475eec402e3d0326e5021cbbc1cb1e8bf4f93"
505
             },
505
             },
506
             "dist": {
506
             "dist": {
507
                 "type": "zip",
507
                 "type": "zip",
508
-                "url": "https://api.github.com/repos/aws/aws-sdk-php/zipball/29c2c34ddc7ff02ec865355fc235c78acd095fcf",
509
-                "reference": "29c2c34ddc7ff02ec865355fc235c78acd095fcf",
508
+                "url": "https://api.github.com/repos/aws/aws-sdk-php/zipball/587475eec402e3d0326e5021cbbc1cb1e8bf4f93",
509
+                "reference": "587475eec402e3d0326e5021cbbc1cb1e8bf4f93",
510
                 "shasum": ""
510
                 "shasum": ""
511
             },
511
             },
512
             "require": {
512
             "require": {
588
             "support": {
588
             "support": {
589
                 "forum": "https://github.com/aws/aws-sdk-php/discussions",
589
                 "forum": "https://github.com/aws/aws-sdk-php/discussions",
590
                 "issues": "https://github.com/aws/aws-sdk-php/issues",
590
                 "issues": "https://github.com/aws/aws-sdk-php/issues",
591
-                "source": "https://github.com/aws/aws-sdk-php/tree/3.342.12"
591
+                "source": "https://github.com/aws/aws-sdk-php/tree/3.342.14"
592
             },
592
             },
593
-            "time": "2025-03-24T18:06:44+00:00"
593
+            "time": "2025-03-26T19:03:32+00:00"
594
         },
594
         },
595
         {
595
         {
596
             "name": "aws/aws-sdk-php-laravel",
596
             "name": "aws/aws-sdk-php-laravel",

正在加载...
取消
保存