Ver código fonte

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

Development 3.x
3.x
Andrew Wallo 5 meses atrás
pai
commit
d8300e217e
Nenhuma conta vinculada ao e-mail do autor do commit

+ 2
- 0
app/Filament/Company/Pages/Accounting/Transactions.php Ver arquivo

@@ -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')

Carregando…
Cancelar
Salvar