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/Contract/PeeringReseller.pm

26 lines
690 B

package NGCP::Panel::Form::Contract::PeeringReseller;
use HTML::FormHandler::Moose;
extends 'NGCP::Panel::Form::Contract::Basic';
has_field 'contact.id' => (
type => '+NGCP::Panel::Field::DataTable',
label => 'Contact',
do_label => 0,
do_wrapper => 0,
required => 1,
template => 'helpers/datatables_field.tt',
ajax_src => '/contact/ajax_noreseller',
table_titles => ['#', 'First Name', 'Last Name', 'Email'],
table_fields => ['id', 'firstname', 'lastname', 'email'],
);
has_block 'fields' => (
tag => 'div',
class => [qw/modal-body/],
render_list => [qw/contact billing_profile status external_id/],
);
1;
# vim: set tabstop=4 expandtab: