Commit 6f2c2df4 authored by Keval Pandya's avatar Keval Pandya
Browse files

[fix] TCA/fe_user code improved

parent b62e0fdc
Pipeline #6725 passed with stages
in 3 minutes and 29 seconds
......@@ -148,11 +148,11 @@ $tmp_t3omy_invoiceaddress_columns = [
],
];
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addTCAcolumns('fe_users',$tmp_t3omy_invoiceaddress_columns);
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addTCAcolumns('fe_users', $tmp_t3omy_invoiceaddress_columns);
/* inherit and extend the show items from the parent class */
$GLOBALS['TCA']['fe_users']['types']['Tx_Extbase_Domain_Model_FrontendUser']['showitem'] .= ',--div--;LLL:EXT:t3omy/Resources/Private/Language/locallang_db.xlf:tx_t3omy_domain_model_invoiceaddress,';
$GLOBALS['TCA']['fe_users']['types']['Tx_Extbase_Domain_Model_FrontendUser']['showitem'] .= 'invoice_company_name, invoice_street, invoice_zip, invoice_city, invoice_phone, invoice_mail, invoice_contact_person';
$GLOBALS['TCA']['fe_users']['columns'][$GLOBALS['TCA']['fe_users']['ctrl']['type']]['config']['items'][] = ['LLL:EXT:t3omy/Resources/Private/Language/locallang_db.xlf:fe_users.tx_extbase_type.Tx_T3omy_InvoiceAddress','Tx_Extbase_Domain_Model_FrontendUser'];
$GLOBALS['TCA']['fe_users']['columns'][$GLOBALS['TCA']['fe_users']['ctrl']['type']]['config']['items'][] = ['LLL:EXT:t3omy/Resources/Private/Language/locallang_db.xlf:fe_users.tx_extbase_type.Tx_T3omy_InvoiceAddress', 'Tx_Extbase_Domain_Model_FrontendUser'];
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment