diff options
| author | ivan <ivan> | 2007-08-01 22:26:52 +0000 |
|---|---|---|
| committer | ivan <ivan> | 2007-08-01 22:26:52 +0000 |
| commit | eb4ff7f73c5d4bdf74a3472448b5a195598ff4cd (patch) | |
| tree | bb38241e8c865c3bca861da7749071feeadd2b5b /httemplate/edit/part_bill_event.cgi | |
| parent | 32b5d3a31f112a381f0a15ac5e3a2204242f3405 (diff) | |
event refactor, landing on HEAD!
Diffstat (limited to 'httemplate/edit/part_bill_event.cgi')
| -rwxr-xr-x | httemplate/edit/part_bill_event.cgi | 18 |
1 files changed, 16 insertions, 2 deletions
diff --git a/httemplate/edit/part_bill_event.cgi b/httemplate/edit/part_bill_event.cgi index 0921a9577..ff0e0a334 100755 --- a/httemplate/edit/part_bill_event.cgi +++ b/httemplate/edit/part_bill_event.cgi @@ -504,7 +504,14 @@ Invoice Event #<% $hashref->{eventpart} ? $hashref->{eventpart} : "(NEW)" %> <TABLE BGCOLOR="#cccccc" BORDER=0 WIDTH="100%"> <TR><TD> <TABLE BORDER=0 id="Ctable" style="display:<% $currentreasonclass eq 'C' ? 'inline' : 'none' %>"> -<% include('/elements/tr-select-reason.html', 'creason', 'C', $creason, $newcreasonT, $newcreason) %> +<% include('/elements/tr-select-reason.html', + 'field' => 'creason', + 'reason_class' => 'C', + 'curr_value' => $creason, + 'init_type' => $newcreasonT, + 'init_newreason' => $newcreason + ) +%> </TABLE> </TR></TD> </TABLE> @@ -512,7 +519,14 @@ Invoice Event #<% $hashref->{eventpart} ? $hashref->{eventpart} : "(NEW)" %> <TABLE BGCOLOR="#cccccc" BORDER=0 WIDTH="100%"> <TR><TD> <TABLE BORDER=0 id="Stable" style="display:<% $currentreasonclass eq 'S' ? 'inline' : 'none' %>"> -<% include('/elements/tr-select-reason.html', 'sreason', 'S', $sreason, $newsreasonT, $newsreason) %> +<% include('/elements/tr-select-reason.html', + 'field' => 'sreason', + 'reason_class' => 'S', + 'curr_value' => $sreason, + 'init_type' => $newsreasonT, + 'init_newreason' => $newsreason + ) +%> </TABLE> </TR></TD> </TABLE> |
