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/BillingFee/API.pm

37 lines
1.0 KiB

package NGCP::Panel::Form::BillingFee::API;
use HTML::FormHandler::Moose;
extends 'NGCP::Panel::Form::BillingFee';
has_field 'billing_profile_id' => (
type => 'PosInteger',
required => 1,
element_attr => {
rel => ['tooltip'],
title => ['The billing profile this billing fee belongs to.']
},
);
has_field 'purge_existing' => (
type => 'Boolean',
element_attr => {
rel => ['tooltip'],
title => ['If fees are uploaded via text/csv bulk upload, this option defines whether to purge any existing fees for the given billing profile before inserting the new ones.']
},
default => 0,
);
has_block 'fields' => (
tag => 'div',
class => [qw/modal-body/],
render_list => [qw/purge_existing billing_zone billing_profile_id source destination direction
onpeak_init_rate onpeak_init_interval onpeak_follow_rate
onpeak_follow_interval offpeak_init_rate offpeak_init_interval
offpeak_follow_rate offpeak_follow_interval use_free_time
/],
);
1;
# vim: set tabstop=4 expandtab: