diff --git a/views/hours/index.ctp b/views/hours/index.ctp index 6212d9b..2b56c3a 100644 --- a/views/hours/index.ctp +++ b/views/hours/index.ctp @@ -8,6 +8,13 @@ //$delailib=date("",$delai); setlocale (LC_TIME, 'fr_FR.utf8','fra'); $delailib=(strftime("%A %d %B %Y",$delai)); + $today=mktime(0, 0, 0, date("m"), date("d"), date("Y")); + $weektoday = (int)date('W', $today); + $weekdelai = (int)date('W', $delai); + //echo "
Weeknummer1: " . $weektoday; + //echo "
Weeknummer2: " . $weekdelai; + //echo "
#weeks: " . ($weekdelai-$weektoday); + /* * changement de tarif automatiques */ @@ -87,7 +94,17 @@ Solde initialhj Vacanceshj Solde finalhj -Heures à gagner d'ici au hj + + +Heures à gagner d'ici au , soit semaines, +soit h par semaine +hj Paginator->counter(array(