Change-Id: I9cff379aa6b67d666ede7c32acbc6b2af708409achanges/99/3699/3
parent
da9d1a6e2b
commit
4ab6ff3e1e
@ -0,0 +1,28 @@
|
||||
package NGCP::Panel::Field::PbxCustomerContract;
|
||||
use Moose;
|
||||
use HTML::FormHandler::Moose;
|
||||
extends 'HTML::FormHandler::Field::Compound';
|
||||
|
||||
has_field 'id' => (
|
||||
type => '+NGCP::Panel::Field::DataTable',
|
||||
label => 'Customer',
|
||||
do_label => 0,
|
||||
do_wrapper => 0,
|
||||
required => 1,
|
||||
template => 'helpers/datatables_field.tt',
|
||||
ajax_src => '/customer/ajax_pbx_only',
|
||||
table_titles => ['#', 'Reseller', 'Contact Email', 'External #', 'Status'],
|
||||
table_fields => ['id', 'contact_reseller_name', 'contact_email', 'external_id', 'status'],
|
||||
);
|
||||
|
||||
has_field 'create' => (
|
||||
type => 'Button',
|
||||
do_label => 0,
|
||||
value => 'Create Contract',
|
||||
element_class => [qw/btn btn-tertiary pull-right/],
|
||||
);
|
||||
|
||||
no Moose;
|
||||
1;
|
||||
|
||||
# vim: set tabstop=4 expandtab:
|
||||
Loading…
Reference in new issue