
Originally Posted by
swguy
In 1.5.6, look at admin/orders.php line 967. That's where the name is displayed in the list. Add the phone number after the display of company like this:
. '<br>' . $orders->fields['customers_telephone'];
so it looks like this:
<td class="dataTableContent"><?php echo '<a href="' . zen_href_link(FILENAME_CUSTOMERS, 'cID=' . $orders->fields['customers_id'], 'NONSSL') . '">' . zen_image(DIR_WS_ICONS . 'preview.gif', ICON_PREVIEW . ' ' . TABLE_HEADING_CUSTOMERS) . '</a>##' . $orders->fields['customers_name'] . ($orders->fields['customers_company'] != '' ? '<br>' . $orders->fields['customers_company'] : '') . '<br>' . $orders->fields['customers_telephone']; ?></td>
Then on line 897, you'll see where $new_fields is defined. Add ", o.customers_telephone" to the list.
Bookmarks