?> </div> <div class="desc">Clients</div> </div> </div> </div> <div class="span3 responsive" data-tablet="span3" data-desktop="span3"> <a class="more" href="caisse.php"> <div class="dashboard-stat purple"> <div class="visual"> <i class="icon-money"></i> </div> <div class="details"> <div class="number"> <?php echo number_format($caisseEntreesManager->getTotalCaisseEntrees() - $caisseSortiesManager->getTotalCaisseSorties(), '2', ',', ' '); ?> </div> <div class="desc">DH en caisse</div> </div> </div> </a> </div> </div> <!-- END DASHBOARD STATS --> <!-- BEGIN DASHBOARD FEEDS --> <!-- ------------------------------------------------------ --> <div class="row-fluid"> <div class="span12"> <!-- BEGIN PORTLET--> <div class="portlet paddingless">
} else { if ($choice == "toutes") { $sortiesNumber = $caisseSortiesManager->getCaisseSortiesNumber(); if ($sortiesNumber != 0) { $sortiesPerPage = 10; $pageNumber = ceil($sortiesNumber / $sortiesPerPage); $p = 1; if (isset($_GET['p']) and ($_GET['p'] > 0 and $_GET['p'] <= $pageNumber)) { $p = $_GET['p']; } else { $p = 1; } $begin = ($p - 1) * $sortiesPerPage; $pagination = paginate('caisse-sorties.php?destination=toutes', '&p=', $pageNumber, $p); $sorties = $caisseSortiesManager->getCaisseSortiesByLimits($begin, $sortiesPerPage); $total = $caisseSortiesManager->getTotalCaisseSorties(); } } else { $sortiesNumber = $caisseSortiesManager->getCaisseSortiesNumberProjet($choice); if ($sortiesNumber != 0) { $sortiesPerPage = 10; $pageNumber = ceil($sortiesNumber / $sortiesPerPage); $p = 1; if (isset($_GET['p']) and ($_GET['p'] > 0 and $_GET['p'] <= $pageNumber)) { $p = $_GET['p']; } else { $p = 1; } $begin = ($p - 1) * $sortiesPerPage; $pagination = paginate('caisse-sorties.php?destination=' . $_GET['destination'], '&p=', $pageNumber, $p); $sorties = $caisseSortiesManager->getCaisseSortiesProjetByLimits($choice, $begin, $sortiesPerPage);