MT#5879 Provide full list of contact fields

mr3.3.1
Andreas Granig 11 years ago
parent 807e77855d
commit a49ccbc23b

@ -16,8 +16,8 @@ has_field 'reseller' => (
has_block 'fields' => (
tag => 'div',
class => [qw/modal-body/],
render_list => [qw/reseller firstname lastname email company
street postcode city country iban bic phonenumber/],
render_list => [qw/reseller firstname lastname email company street postcode city
country iban bic vatnum comregnum phonenumber mobilenumber faxnumber/],
);
1;

@ -108,6 +108,26 @@ has_field 'bic' => (
},
);
has_field 'vatnum' => (
type => 'Text',
label => 'VAT Number',
maxlength => 127,
element_attr => {
rel => ['tooltip'],
title => ['The VAT number of the contact.']
},
);
has_field 'comregnum' => (
type => 'Text',
label => 'Company Reg. Number',
maxlength => 31,
element_attr => {
rel => ['tooltip'],
title => ['The company registration number of the contact.']
},
);
has_field 'phonenumber' => (
type => 'Text',
maxlength => 31,
@ -118,6 +138,26 @@ has_field 'phonenumber' => (
},
);
has_field 'mobilenumber' => (
type => 'Text',
maxlength => 31,
label => 'Mobile Number',
element_attr => {
rel => ['tooltip'],
title => ['The mobile number of the contact.']
},
);
has_field 'faxnumber' => (
type => 'Text',
maxlength => 31,
label => 'Fax Number',
element_attr => {
rel => ['tooltip'],
title => ['The fax number of the contact.']
},
);
has_field 'save' => (
type => 'Submit',
value => 'Save',
@ -129,7 +169,7 @@ has_block 'fields' => (
tag => 'div',
class => [qw/modal-body/],
render_list => [qw/firstname lastname email company street postcode city
country iban bic phonenumber/],
country iban bic vatnum comregnum phonenumber mobilenumber faxnumber/],
);
has_block 'actions' => (

Loading…
Cancel
Save