crash backup

This commit is contained in:
Dennis Eichhorn 2025-03-21 02:48:17 +00:00
parent 3f9c2b96fa
commit 4d8e1fc2c0
4 changed files with 10 additions and 10 deletions

View File

@ -13,7 +13,7 @@
declare(strict_types=1);
return [
'/PRE:Module:Billing\-bill\-finalize/' => [
'/PRE:Billing\-bill\-finalize/' => [
'callback' => ['\Modules\Accounting\Controller\ApiController:eventBillArchive'],
],
];

View File

@ -13,10 +13,10 @@
declare(strict_types=1);
return [
'POST:Module:ClientManagement-client-create' => [
'POST:ClientManagement-client-create' => [
'callback' => ['\Modules\Accounting\Controller\ApiController:hookPersonalAccountCreate'],
],
'POST:Module:SupplierManagement-supplier-create' => [
'POST:SupplierManagement-supplier-create' => [
'callback' => ['\Modules\Accounting\Controller\ApiController:hookPersonalAccountCreate'],
],
];

View File

@ -245,7 +245,7 @@ final class BackendController extends Controller
$view->data['account'] = AccountAbstractMapper::get()
->with('parent')
->with('l11n')
->where('id', (int) $request->getData('id'))
->where('id', $request->getDataInt('id') ?? 0)
->where('l11n/language', $response->header->l11n->language)
->execute();
@ -351,7 +351,7 @@ final class BackendController extends Controller
$view->data['costcenter'] = CostCenterMapper::get()
->with('parent')
->with('l11n')
->where('id', (int) $request->getData('id'))
->where('id', $request->getDataInt('id') ?? 0)
->where('l11n/language', $response->header->l11n->language)
->execute();
@ -388,7 +388,7 @@ final class BackendController extends Controller
$view->data['costobject'] = CostObjectMapper::get()
->with('parent')
->with('l11n')
->where('id', (int) $request->getData('id'))
->where('id', $request->getDataInt('id') ?? 0)
->where('l11n/language', $response->header->l11n->language)
->execute();
@ -562,7 +562,7 @@ final class BackendController extends Controller
->with('attributes/type/l11n')
->with('attributes/value')
->with('attributes/value/l11n')
->where('id', (int) $request->getData('id'))
->where('id', $request->getDataInt('id') ?? 0)
->where('attributes/type/l11n/language', $response->header->l11n->language)
->where('attributes/value/l11n/language', [$response->header->l11n->language, null])
->execute();
@ -671,7 +671,7 @@ final class BackendController extends Controller
->with('attributes/type/l11n')
->with('attributes/value')
->with('attributes/value/l11n')
->where('id', (int) $request->getData('id'))
->where('id', $request->getDataInt('id') ?? 0)
->where('attributes/type/l11n/language', $response->header->l11n->language)
->where('attributes/value/l11n/language', [$response->header->l11n->language, null])
->execute();

View File

@ -31,7 +31,7 @@ $isNew = ($account?->id ?? 0) === 0;
$isClient = $account instanceof Client;
$accountImage = $this->getData('accountImage') ?? new NullMedia();
$accountImage = $this->data['accountImage'] ?? new NullMedia();
$attributeView = $this->data['attributeView'];
@ -211,7 +211,7 @@ echo $this->data['nav']->render(); ?>
<section class="portlet hl-4">
<div class="portlet-body">
<textarea class="undecorated"><?= $this->printTextarea($account->info); ?></textarea>
<textarea class="undecorated" aria-label="Info"><?= $this->printTextarea($account->info); ?></textarea>
</div>
</section>
<?php endif; ?>