|
|
@@ -14,6 +14,8 @@ $logo_path = null;
|
|
|
|
|
|
$user = Core::$user;
|
|
|
|
|
|
+$user->level = User::LEVEL_CUSTOMER;
|
|
|
+
|
|
|
if($user->isCustomer()) {
|
|
|
$customers = $user->getCustomers();
|
|
|
|
|
|
@@ -28,7 +30,7 @@ if($user->isCustomer()) {
|
|
|
list($start, $end) = $year_cycle;
|
|
|
|
|
|
$dt = new DateTime($start);
|
|
|
- $year_cycle_start_text = $dt->format("d/m/Y");
|
|
|
+ $year_cycle_start_text = $dt->format("jS M");
|
|
|
|
|
|
$projects = $customer->getProjects();
|
|
|
$project_ids = array_column($projects, "id");
|
|
|
@@ -162,6 +164,9 @@ if($tests_pending_verification) {
|
|
|
|
|
|
$referrals = $user->getReferrals();
|
|
|
|
|
|
+$pass_count = 9999;
|
|
|
+$pass_fail_test_count = 9999;
|
|
|
+
|
|
|
View::includeOnce("header", compact("page_title"));
|
|
|
View::include("account", compact("page_title", "icons", "actions", "to_do", "referrals", "customer", "logo_path", "year_cycle_start_text", "pass_rate", "pass_count", "pass_fail_test_count", "test_count"));
|
|
|
View::includeOnce("footer");
|