[freeside-commits] freeside/httemplate/edit cgp_rule.html, 1.1.2.2, 1.1.2.3
Ivan,,,
ivan at wavetail.420.am
Tue Apr 27 03:57:02 PDT 2010
- Previous message: [freeside-commits] freeside/httemplate/elements tr-select.html, 1.2, 1.3 select.html, NONE, 1.1 select-cgp_rule_action.html, NONE, 1.1 select-cgp_rule_condition.html, NONE, 1.1
- Next message: [freeside-commits] freeside/httemplate/elements tr-select.html, 1.1, 1.1.6.1 select.html, NONE, 1.1.2.2 select-cgp_rule_action.html, NONE, 1.1.2.2 select-cgp_rule_condition.html, NONE, 1.1.2.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /home/cvs/cvsroot/freeside/httemplate/edit
In directory wavetail.420.am:/tmp/cvs-serv4306/httemplate/edit
Modified Files:
Tag: FREESIDE_1_9_BRANCH
cgp_rule.html
Log Message:
communigate (phase 2): rules: start of adding conditions and actions to rule edit. RT#7514
Index: cgp_rule.html
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/edit/cgp_rule.html,v
retrieving revision 1.1.2.2
retrieving revision 1.1.2.3
diff -u -w -d -r1.1.2.2 -r1.1.2.3
--- cgp_rule.html 23 Apr 2010 06:43:40 -0000 1.1.2.2
+++ cgp_rule.html 27 Apr 2010 10:57:00 -0000 1.1.2.3
@@ -5,6 +5,8 @@
'name' => 'Name',
'comment' => 'Comment',
'priority' => 'Priority',
+ 'ruleconditionnum' => 'Condition',
+ 'ruleactionnum' => 'Action',
},
'fields' => [ 'name',
'comment',
@@ -14,6 +16,24 @@
'labels' => { 0 => 'Inactive' },
},
{ 'field' => 'svcnum', 'type' => 'hidden', },
+ { 'type' => 'tablebreak-tr-title',
+ 'value' => 'Conditions',
+ },
+ { 'field' => 'ruleconditionnum',
+ 'type' => 'select-cgp_rule_condition',
+ 'o2m_table' => 'cgp_rule_condition',
+ 'm2_label' => 'Condition',
+ #XXX m2_error_callback
+ },
+ { 'type' => 'tablebreak-tr-title',
+ 'value' => 'Actions',
+ },
+ { 'field' => 'ruleactionnum',
+ 'type' => 'select-cgp_rule_action',
+ 'o2m_table' => 'cgp_rule_action',
+ 'm2_label' => 'Action',
+ #XXX m2_error_callback
+ },
],
'new_callback' => sub { my( $cgi, $cgp_rule ) = @_;
$cgp_rule->svcnum( $cgi->param('svcnum') );
@@ -24,7 +44,9 @@
%>
<%init>
-#my $svcnum #huh
+my %opt = @_;
+
+#my $svcnum #huh XXX
#my $viewall_url = $p. "browse/$table.html?svcnum=$svcnum";
</%init>
- Previous message: [freeside-commits] freeside/httemplate/elements tr-select.html, 1.2, 1.3 select.html, NONE, 1.1 select-cgp_rule_action.html, NONE, 1.1 select-cgp_rule_condition.html, NONE, 1.1
- Next message: [freeside-commits] freeside/httemplate/elements tr-select.html, 1.1, 1.1.6.1 select.html, NONE, 1.1.2.2 select-cgp_rule_action.html, NONE, 1.1.2.2 select-cgp_rule_condition.html, NONE, 1.1.2.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the freeside-commits
mailing list