You are not logged in. Please note that you need to log in before posting.
The latest release still does not display the custom form fields when you browse the appointments. These fields should display in column format, similar to when you browse the users. Since my client uses this program to schedule appointments at the clients location, this feature is extremely important to them, so that their providers know where their appointments are at by export the browse appointments screen in an excel format. Please inform how to correct this issue. Thank you.
Offline
hello,
I'm sorry I'm not sure how to correctly implement this feature because in general the custom fields may differ per service. So for example one service has "Custom Field 1" while another service doesn't, but we show appointments for both services in one list.
Offline
algis wrote:
I'm sorry I'm not sure how to correctly implement this feature because in general the custom fields may differ per service.
We'd like this feature also, and have a suggestion for how to make it admin-friendly:
On the browsing screen, I understand the problem of making lots more columns. How about instead adding a different-color ROW to each appointment for each custom field? If an appointment has no custom fields, or if the field was not filled in when the appointment was made, the appointment browsing page would look as it does now. If one or more non-default custom fields are part of an appointment, then 2-column rows would be added to that appointment (name=value, with value spanning all but one of the current display table columns).
When exporting, the number of columns isn't important. Just make a column for each custom field, leaving that column blank for appointments that don't use it.
Offline
algis wrote:
I'm sorry I'm not sure how to correctly implement this feature
Having no solution for quite a while, I just completed a hack. If anyone else out there is doing hacks, please post them so we can all benefit!
The patches below will display the custom form field named "comment" for both customers and admin. It's not pretty coding, but it's short and it works.
put this before the last </div> in the file core/panels/customer/appointments/browse/index.php
to have the comment show up under the cancel/reschedule links:
<?php $appDetails = $a->getByArray(); ?> <?php if($appDetails['comment']) : ?> <hr><b>Notes:</b> <?php echo $appDetails['comment']; ?> <?php endif; ?>
put this before the last </tr> in the file core/panels/admin/appointments/browse/index.php
to have the comment show up as an additional line under all the current fields:
<?php $appDetails = $a->getByArray(); ?> <?php if($appDetails['comment']) : ?> <tr class="<?php echo ($count % 2) ? 'even' : 'odd'; ?>"> <td> <td style="padding: 0;" class="<?php echo $class; ?>"> </td> <td colspan="9"><b>Notes:</b> <?php echo $appDetails['comment']; ?> </tr> <?php endif; ?>
Last edited by HowToMove (2010-07-21 19:23:09)
Offline