Skip to content

Commit ceb5506

Browse files
committed
Organized payment edit page into columns and tabs as well
1 parent df192b4 commit ceb5506

File tree

2 files changed

+25
-11
lines changed

2 files changed

+25
-11
lines changed

src/Controller/Admin/PaymentOrderCrudController.php

Lines changed: 24 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -437,6 +437,7 @@ public function configureFields(string $pageName): iterable
437437
$comment,
438438
$lastModified,
439439
$creationDate,
440+
440441
//Payee informations
441442
FormField::addColumn(),
442443
$payeePanel,
@@ -476,11 +477,10 @@ public function configureFields(string $pageName): iterable
476477

477478
if (Crud::PAGE_EDIT === $pageName) {
478479
return [
479-
//Documents section
480-
$documentsPanel,
481-
$printed_form,
482-
$references,
480+
FormField::addTab('payment_order.tab.info', 'fas fa-circle-info'),
481+
483482
//Basic informations
483+
FormField::addColumn(),
484484
$infoPanel,
485485
$submitterName,
486486
$submitterEmail,
@@ -491,13 +491,11 @@ public function configureFields(string $pageName): iterable
491491
$resolution_date,
492492
$fsr_kom,
493493
$comment,
494-
//Status infos
495-
$statusPanel,
496-
$mathematicallyCorrect,
497-
$exported,
498-
$factuallyCorrect,
499-
$references_exported,
494+
495+
496+
500497
//Payee informations
498+
FormField::addColumn(),
501499
$payeePanel,
502500
$bankInfoAccountOwner,
503501
$bankInfoStreet,
@@ -509,6 +507,22 @@ public function configureFields(string $pageName): iterable
509507
$bankInfoBic,
510508
$bankInfoBankName,
511509
$bankInfoReference,
510+
511+
512+
FormField::addTab('payment_order.tab.status', 'fas fa-list-check'),
513+
//Status infos
514+
$statusPanel,
515+
$mathematicallyCorrect,
516+
$exported,
517+
$factuallyCorrect,
518+
$references_exported,
519+
520+
521+
FormField::addTab('Dokumente', 'fas fa-file'),
522+
//Documents section
523+
$documentsPanel,
524+
$printed_form,
525+
$references,
512526
];
513527
}
514528

translations/messages.de.xlf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1940,7 +1940,7 @@ Du kannst dort auch sehen, wie viele verschiedene Personen diesen Zahlungsauftra
19401940
<unit id="uD9OTtF" name="payment_order.fsr_kom.label">
19411941
<segment>
19421942
<source>payment_order.fsr_kom.label</source>
1943-
<target>Umbuchung vom FSR-Kom Konto auf FSR-Konto?</target>
1943+
<target>Umbuchung vom FSR-Kom Konto auf FSR-Konto? [ALT]</target>
19441944
</segment>
19451945
</unit>
19461946
<unit id="UHwgUW." name="payment_order.resolution_date.label">

0 commit comments

Comments
 (0)