X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fview%2Fcust_main%2Fappointments.html;fp=httemplate%2Fview%2Fcust_main%2Fappointments.html;h=c907b25bbd9ff9de00dc3c917f941b72d6190fd6;hb=2e2fc8616751ce8fd69bc52344dd61fc03eb2ab0;hp=f8c1bb68655a4c4b3bcf1fec6edabe33993912b2;hpb=78e3c0ade972ce25fb9b3de97a2e6539854ffedd;p=freeside.git diff --git a/httemplate/view/cust_main/appointments.html b/httemplate/view/cust_main/appointments.html index f8c1bb686..c907b25bb 100644 --- a/httemplate/view/cust_main/appointments.html +++ b/httemplate/view/cust_main/appointments.html @@ -2,16 +2,7 @@ Appointments % if ( $FS::CurrentUser::CurrentUser->access_right('Make appointment') ) { -%# just a link for now, should probably be FS::TicketSystem->href_schedule -%# maybe need to add a dropdown for type (install etc.) from a custom field -%# or maybe change to a popup and get that info there -% my @sched_item = qsearch('sched_item', { 'disabled' => '', }); -% my @username = map $_->access_user->username, @sched_item; -% my $query = join('&', map "username=$_", @username). -% '&LengthMin=180'. #XXX appointment length -% '&custnum='. $cust_main->custnum; #. -% #XXX '&pkgnum=$pkgnum";need to be for specific package/location, not just for a customer... default to active(/ordered) package in a pkg_class w/ticketing_queueid, otherwise, a popup? we're getting complicated like form-creat_ticket.html -Make appointment + <& /elements/popup_link-make_appointment.html, custnum=>$cust_main->custnum &> % } %# |