You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ngcp-panel/lib/NGCP/Panel/Form/Invoice/TemplateAdmin.pm

25 lines
557 B

package NGCP::Panel::Form::Invoice::TemplateAdmin;
use HTML::FormHandler::Moose;
extends 'NGCP::Panel::Form::Invoice::TemplateReseller';
has_field 'reseller' => (
type => '+NGCP::Panel::Field::Reseller',
label => 'Reseller',
validate_when_empty => 1,
element_attr => {
rel => ['tooltip'],
title => ['The reseller id to assign this invoice template to.']
},
);
has_block 'fields' => (
tag => 'div',
class => [qw/modal-body/],
render_list => [qw/reseller name type/],
);
1;
# vim: set tabstop=4 expandtab: