employee_approver_check()!=0) { $vcount_pending_approval = $queue_approval->count_pending_approval(); } if ($queue_invoice->employee_invoicer_check()!=0) { $vcount_pending_invoice = $queue_invoice->count_pending_invoice(); } if ($queue_payroll->employee_payroll_check()!=0) { $vcount_pending_payroll = $queue_payroll->count_pending_payroll(); } $vcount_open_invoices = $queue_invoice->count_users_open_invoice(); $dashboard_url = admin_url('admin.php?page=search_timesheet'); $timesheet_url = admin_url('admin.php?page=show_timesheet'); $page = "
| Item | Count |
|---|---|
| Open Timehseets | {$vcount_open_invoices} |
| Pending Approval | {$vcount_pending_approval->NotRetainer} / {$vcount_pending_approval->Retainer}"; if ($vcount_pending_approval->Embargoed != 0) { $page = $page . " / {$vcount_pending_approval->Embargoed}"; } echo " |
| Pending Invoicing | {$vcount_pending_invoice->NotRetainer} / {$vcount_pending_invoice->Retainer} |
| Pending Payroll | {$vcount_pending_payroll} |