@@ 2065-2075 (lines=11) @@ | ||
2062 | ||
2063 | ||
2064 | ||
2065 | protected static function addPrevisionalMovement($entry, $modify) |
|
2066 | { |
|
2067 | if ($modify) |
|
2068 | { |
|
2069 | $text = absences_translate('The previsional %s has been modified without approval'); |
|
2070 | } else { |
|
2071 | $text = absences_translate('The previsional %s has been created without approval'); |
|
2072 | } |
|
2073 | ||
2074 | $entry->addMovement(sprintf($text, $entry->getTitle())); |
|
2075 | } |
|
2076 | ||
2077 | ||
2078 | protected static function addNoApprovalMovement($entry, $modify) |
|
@@ 2078-2088 (lines=11) @@ | ||
2075 | } |
|
2076 | ||
2077 | ||
2078 | protected static function addNoApprovalMovement($entry, $modify) |
|
2079 | { |
|
2080 | if ($modify) |
|
2081 | { |
|
2082 | $text = absences_translate('The %s has been modified without approval'); |
|
2083 | } else { |
|
2084 | $text = absences_translate('The %s has been created without approval'); |
|
2085 | } |
|
2086 | ||
2087 | $entry->addMovement(sprintf($text, $entry->getTitle())); |
|
2088 | } |
|
2089 | ||
2090 | ||
2091 | /** |