From 6b12c14cc10503d6b0783e8ef71fe44d9a9b37b6 Mon Sep 17 00:00:00 2001 From: ivan Date: Mon, 19 Jun 2006 08:05:28 +0000 Subject: add ability to select specific package defs. and package status to package report for qis --- httemplate/elements/tr-select-cust-fields.html | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 httemplate/elements/tr-select-cust-fields.html (limited to 'httemplate/elements/tr-select-cust-fields.html') diff --git a/httemplate/elements/tr-select-cust-fields.html b/httemplate/elements/tr-select-cust-fields.html new file mode 100644 index 000000000..ca37e4276 --- /dev/null +++ b/httemplate/elements/tr-select-cust-fields.html @@ -0,0 +1,14 @@ +<% + my( $cust_fields, %opt ) = @_; + + use FS::ConfDefaults; + $opt{'avail_fields'} ||= [ FS::ConfDefaults->cust_fields_avail() ]; + +%> + + + <%= $opt{'label'} || 'Customer fields' %> + + <%= include( '/elements/select-cust-fields.html', $cust_fields, %opt ) %> + + -- cgit v1.2.1 From 3ce7691203a7737406bf2d4442f7fd84b81f847e Mon Sep 17 00:00:00 2001 From: ivan Date: Wed, 23 Aug 2006 22:25:39 +0000 Subject: Will things ever be the same again? It's the final masonize --- httemplate/elements/tr-select-cust-fields.html | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) (limited to 'httemplate/elements/tr-select-cust-fields.html') diff --git a/httemplate/elements/tr-select-cust-fields.html b/httemplate/elements/tr-select-cust-fields.html index ca37e4276..80562fe3d 100644 --- a/httemplate/elements/tr-select-cust-fields.html +++ b/httemplate/elements/tr-select-cust-fields.html @@ -1,14 +1,15 @@ -<% - my( $cust_fields, %opt ) = @_; +% +% my( $cust_fields, %opt ) = @_; +% +% use FS::ConfDefaults; +% $opt{'avail_fields'} ||= [ FS::ConfDefaults->cust_fields_avail() ]; +% +% - use FS::ConfDefaults; - $opt{'avail_fields'} ||= [ FS::ConfDefaults->cust_fields_avail() ]; - -%> - <%= $opt{'label'} || 'Customer fields' %> + <% $opt{'label'} || 'Customer fields' %> - <%= include( '/elements/select-cust-fields.html', $cust_fields, %opt ) %> + <% include( '/elements/select-cust-fields.html', $cust_fields, %opt ) %> -- cgit v1.2.1