<?php } ?> </tbody> <tfoot> <tr> <td colspan="3" class="tfoot_total_desc"> <?php $create_invoice = add_query_arg(array('post_type' => SI_Invoice::POST_TYPE, SI_Time_Tracking_Premium::IMPORT_QUERY_VAR => (int) $project->get_id()), admin_url('post-new.php')); ?> <a href="<?php echo esc_url($create_invoice); ?> " title="<?php _e('Import Time into an Invoice', 'sprout-invoices'); ?> " class="si_tooltip"><span class="icon-sproutapps-invoices"></span></a> </td> <td><?php si_number_format((double) $unbilled_total_time); ?> </td> <td><b><?php sa_formatted_money($unbilled_total_cost); ?> </b></td> </tr> </tfoot> </table> </div><!-- #time_tracker_wrap -->
<?php $create_invoice = add_query_arg(array('post_type' => SI_Invoice::POST_TYPE, SI_Time_Tracking_Premium::IMPORT_QUERY_VAR => $project->get_id()), admin_url('post-new.php')); ?> <td><a href="<?php echo esc_url($create_invoice); ?> "><span class="icon-sproutapps-invoices"></span></a></td> </tr> <?php } ?> <tr> <td colspan="3" class="tfoot_total_desc"><?php _e('Totals', 'sprout-invoices'); ?> </td> <td><?php si_number_format((double) $total_time); ?> </td> <td colspan="2"><b><?php sa_formatted_money($total_cost); ?> </b></td> </tr> </tfoot> <?php } ?> </table> </div><!-- #time_tracker_wrap -->