getRepository()->getCredit($user);
$countOrders = $orderModule->getRepository()->countOrdersByUser($user);
?>
= menu_navigation_item('view', 'Récapitulatif', $action, $user) ?>
= menu_navigation_item('update', 'Profil', $action, $user) ?>
= menu_navigation_item('credit', 'Cagnotte '.Price::format($credit).'', $action, $user) ?>
= menu_navigation_item('orders', 'Commandes '.$countOrders.'', $action, $user) ?>
urlManager->createUrl(['user/'.$action, 'id' => $user->id]);
return ''.$label.'';
}
?>