mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-01-26 16:26:35 -06:00
Small updates for 3.9.1
This commit is contained in:
parent
8091dbfdfa
commit
08ff08685c
@ -32,10 +32,11 @@ class ConnectTransactionToPiggyBank
|
||||
*/
|
||||
public function handle(TransactionStored $event): bool
|
||||
{
|
||||
echo '<pre>';
|
||||
|
||||
/** @var PiggyBankRepositoryInterface $repository */
|
||||
$repository = app(PiggyBankRepositoryInterface::class);
|
||||
$transaction = $event->transaction;
|
||||
|
||||
$piggyBank = $repository->find($transaction['piggy_bank_id']);
|
||||
|
||||
// valid piggy:
|
||||
|
@ -34,6 +34,10 @@ class UpdateJournalConnection
|
||||
{
|
||||
$journal = $event->journal;
|
||||
|
||||
if (!$journal->isTransfer()) {
|
||||
return true;
|
||||
}
|
||||
|
||||
// get the event connected to this journal:
|
||||
/** @var PiggyBankEvent $event */
|
||||
$event = PiggyBankEvent::where('transaction_journal_id', $journal->id)->first();
|
||||
|
@ -4,7 +4,7 @@ declare(strict_types = 1);
|
||||
|
||||
return [
|
||||
'chart' => 'chartjs',
|
||||
'version' => '3.9.0',
|
||||
'version' => '3.9.1',
|
||||
'csv_import_enabled' => true,
|
||||
'maxUploadSize' => 5242880,
|
||||
'allowedMimes' => ['image/png', 'image/jpeg', 'application/pdf'],
|
||||
|
Loading…
Reference in New Issue
Block a user