MT#5879 Revert "Add invoice email template to reseller contract form."

This reverts commit cf9d3ee42d.
mr3.3.1
Irina Peshinskaya 12 years ago
parent 5c738da665
commit 96a6fe97a6

@ -100,12 +100,7 @@ has_field 'add_vat' => (
default => 0,
);
has_field 'invoice_email_template' => (
type => '+NGCP::Panel::Field::EmailTemplate',
label => 'Invoice Email Template',
do_label => 1,
required => 0,
);
has_field 'save' => (
type => 'Submit',
@ -131,7 +126,7 @@ sub update_fields {
my $c = $self->ctx;
return unless $c;
foreach my $field(qw/subscriber_email_template passreset_email_template invoice_email_template/) {
foreach my $field(qw/subscriber_email_template passreset_email_template/) {
my $email = $self->field($field);
if($email && $c->stash->{contract}) {
$email->field('id')->ajax_src(

@ -18,7 +18,7 @@ has_field 'contact.id' => (
has_block 'fields' => (
tag => 'div',
class => [qw/modal-body/],
render_list => [qw/contact billing_profile status external_id subscriber_email_template passreset_email_template invoice_email_template/],
render_list => [qw/contact billing_profile status external_id/],
);
1;

Loading…
Cancel
Save