Skip to content
Code-Schnipsel Gruppen Projekte
Commit 597d5d64 erstellt von Patrick Müller's avatar Patrick Müller
Dateien durchsuchen

Merge branch 'dev'

Übergeordnete 9fe993bc 8b0d88c8
Keine zugehörigen Branchen gefunden
Keine zugehörigen Tags gefunden
1 Merge Request!140Update 'next-4.x' with latest changes from 'main'
......@@ -127,9 +127,13 @@ public static function patchBankAccount()
'default' => true
];
$bankAccount = BankAccounts::addBankAccount($bankAccountData);
try {
$bankAccount = BankAccounts::addBankAccount($bankAccountData);
$Conf->setValue('company', 'bankAccountId', $bankAccount['id']);
} catch (\Exception $Exception) {
QUI\System\Log::writeException($Exception);
}
$Conf->setValue('company', 'bankAccountId', $bankAccount['id']);
$Conf->setValue('bankAccounts', 'isPatched', true);
$Conf->save();
}
......
0% Lade oder .
You are about to add 0 people to the discussion. Proceed with caution.
Bearbeitung dieser Nachricht zuerst beenden!
Bitte registrieren oder zum Kommentieren