RT# 82137 - default payment amount now has processing fee in total if processing...
[freeside.git] / httemplate / elements / popup_link-make_appointment.html
1 <%doc>
2
3 Example:
4
5   include('/elements/init_overlib.html')
6
7   include( '/elements/popup_link-make-appointment.html', { #hashref or a list, either way
8              'custnum' => 54,
9   })
10
11 </%doc>
12 <& /elements/popup_link.html, $params &>\
13 <%init>
14
15 my $params = { 'closetext' => 'Close' };
16
17 if (ref($_[0]) eq 'HASH') {
18   $params = { %$params, %{ $_[0] } };
19 } else {
20   $params = { %$params, @_ };
21 }
22
23 #$params->{'label'} ||= 'schedule new appointment';
24 $params->{'label'} ||= 'Schedule new appointment';
25 $params->{'actionlabel'} ||= 'Schedule appointment';
26 #$params->{'width'} ||= 350;
27 #$params->{'height'} ||= 220;
28
29 $params->{'action'} = $p. 'misc/make_appointment.html?custnum='. $params->{'custnum'};
30
31 </%init>