[freeside-commits] freeside/httemplate/browse part_event.html, 1.4, 1.4.4.1
Mark Wells
mark at wavetail.420.am
Tue Feb 14 17:31:33 PST 2012
Update of /home/cvs/cvsroot/freeside/httemplate/browse
In directory wavetail.420.am:/tmp/cvs-serv27336/httemplate/browse
Modified Files:
Tag: FREESIDE_2_3_BRANCH
part_event.html
Log Message:
query billing events to see affected objects, #15142
Index: part_event.html
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/browse/part_event.html,v
retrieving revision 1.4
retrieving revision 1.4.4.1
diff -u -w -d -r1.4 -r1.4.4.1
--- part_event.html 17 Oct 2010 00:09:27 -0000 1.4
+++ part_event.html 15 Feb 2012 01:31:31 -0000 1.4.4.1
@@ -22,14 +22,14 @@
'Action',
],
'fields' => [ 'eventpart',
- 'event',
+ $event_sub,
$eventtable_sub,
$check_freq_sub,
$conditions_sub,
$action_sub,
],
'links' => [ $link,
- $link,
+ '',
'',
'',
'',
@@ -40,6 +40,33 @@
%>
<%once>
+my $link = [ $p.'edit/part_event.html?', 'eventpart' ];
+
+my $event_sub = sub {
+ my $part_event = shift;
+ my $onclick = include('/elements/popup_link_onclick.html',
+ action => $p.'view/part_event-targets.html?'.$part_event->eventpart,
+ actionlabel => 'Event query - '.$part_event->event,
+ width => 650,
+ height => 420,
+ close_text => 'Close',
+ );
+ [#rows
+ [#subcolumns
+ {
+ 'data' => $part_event->event,
+ 'link' => $p.'edit/part_event.html?'.$part_event->eventpart,
+ },
+ {
+ 'data' => ' (query) ',
+ 'size' => '-1',
+ 'data_style' => 'b',
+ 'onclick' => $onclick,
+ },
+ ],
+ ];
+};
+
my $eventtable_labels = FS::part_event->eventtable_labels;
my $eventtable_sub = sub { $eventtable_labels->{ shift->eventtable }; };
@@ -131,8 +158,6 @@
};
-my $link = [ $p.'edit/part_event.html?', 'eventpart' ];
-
</%once>
<%init>
More information about the freeside-commits
mailing list