<?php } ?> </td> </tr> <?php if ($wpi_settings['total_invoice_count']) { ?> <tr class="wp_invoice_copy_invoice invoice_main"> <th><label for="wpi_template_lookup"><?php _e('Existing Invoice:', WPI); ?> </label></th> <td> <?php WPI_UI::draw_template_auto_complete_field(); ?> <input type="submit" class="button" value="<?php esc_attr(_e('New Invoice from Template', WPI)); ?> "> <span id="wp_invoice_copy_invoice_cancel" class="wp_invoice_click_me">cancel</span> </td> </tr> <?php } ?> </table> </form> </div> </div>