瀏覽代碼

Merge pull request #148 from andrewdwallo/development-3.x

Development 3.x
3.x
Andrew Wallo 5 月之前
父節點
當前提交
d8300e217e
沒有連結到貢獻者的電子郵件帳戶。
共有 1 個檔案被更改,包括 2 行新增0 行删除
  1. 2
    0
      app/Filament/Company/Pages/Accounting/Transactions.php

+ 2
- 0
app/Filament/Company/Pages/Accounting/Transactions.php 查看文件

@@ -16,6 +16,7 @@ use App\Models\Accounting\JournalEntry;
16 16
 use App\Models\Accounting\Transaction;
17 17
 use App\Models\Banking\BankAccount;
18 18
 use App\Models\Company;
19
+use App\Services\PlaidService;
19 20
 use App\Utilities\Currency\CurrencyAccessor;
20 21
 use App\Utilities\Currency\CurrencyConverter;
21 22
 use Awcodes\TableRepeater\Header;
@@ -123,6 +124,7 @@ class Transactions extends Page implements HasTable
123 124
                     ->after(fn (Transaction $transaction) => $transaction->updateAmountIfBalanced()),
124 125
                 Actions\Action::make('connectBank')
125 126
                     ->label('Connect your bank')
127
+                    ->visible(app(PlaidService::class)->isEnabled())
126 128
                     ->url(ConnectedAccount::getUrl()),
127 129
             ])
128 130
                 ->label('More')

Loading…
取消
儲存