Commit da293504 authored by Alexander Stehlik's avatar Alexander Stehlik
Browse files

[TASK] Add subscription_no field to member table

parent 6b56a347
......@@ -9,7 +9,7 @@ $TCA['tx_t3omembership_domain_model_member'] = array(
'showRecordFieldList' => 'sys_language_uid, l10n_parent, l10n_diffsource, hidden, name, firstname, lastname, external_id, end_date, address, zip, city, country, email, invoice_email, url, membership',
),
'types' => array(
'1' => array('showitem' => 'sys_language_uid;;;;1-1-1, l10n_parent, l10n_diffsource, hidden;;1, name, firstname, lastname, external_id, end_date, address, zip, city, country, email, invoice_email, url, membership,--div--;LLL:EXT:cms/locallang_ttc.xml:tabs.access,starttime, endtime'),
'1' => array('showitem' => 'sys_language_uid;;;;1-1-1, l10n_parent, l10n_diffsource, hidden;;1, name, firstname, lastname, external_id, subscription_no, end_date, address, zip, city, country, email, invoice_email, url, membership,--div--;LLL:EXT:cms/locallang_ttc.xml:tabs.access,starttime, endtime'),
),
'palettes' => array(
'1' => array('showitem' => ''),
......@@ -111,6 +111,15 @@ $TCA['tx_t3omembership_domain_model_member'] = array(
'eval' => 'int,required'
),
),
'subscription_no' => array(
'exclude' => 0,
'label' => 'LLL:EXT:t3o_membership/Resources/Private/Language/locallang_db.xml:tx_t3omembership_domain_model_member.subscription_no',
'config' => array(
'type' => 'input',
'size' => 4,
'eval' => 'int,required'
),
),
'end_date' => array(
'exclude' => 0,
'label' => 'LLL:EXT:t3o_membership/Resources/Private/Language/locallang_db.xml:tx_t3omembership_domain_model_member.end_date',
......
......@@ -10,6 +10,7 @@
<label index="tx_t3omembership_domain_model_member">Member</label>
<label index="tx_t3omembership_domain_model_member.name">Name</label>
<label index="tx_t3omembership_domain_model_member.external_id">External Id</label>
<label index="tx_t3omembership_domain_model_member.subscription_no">Subscription number</label>
<label index="tx_t3omembership_domain_model_member.end_date">End Date</label>
<label index="tx_t3omembership_domain_model_member.address">Address</label>
<label index="tx_t3omembership_domain_model_member.zip">Zip</label>
......
......@@ -5,6 +5,7 @@ CREATE TABLE tx_t3omembership_domain_model_member (
uid int(11) NOT NULL auto_increment,
pid int(11) DEFAULT '0' NOT NULL,
subscription_no int(11) DEFAULT '0' NOT NULL,
name varchar(255) DEFAULT '' NOT NULL,
external_id int(11) DEFAULT '0' NOT NULL,
......@@ -35,10 +36,9 @@ CREATE TABLE tx_t3omembership_domain_model_member (
PRIMARY KEY (uid),
KEY parent (pid),
KEY subscription_no (subscription_no),
FULLTEXT (name),
KEY language (l10n_parent,sys_language_uid)
);
#
......
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