diff options
Diffstat (limited to 'classes/assignment.php')
-rw-r--r-- | classes/assignment.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/classes/assignment.php b/classes/assignment.php index 502f5d5..25b6432 100644 --- a/classes/assignment.php +++ b/classes/assignment.php @@ -258,11 +258,11 @@ class assignment { // Other functions //------------------------------------------------------------------------------ - public function calculateSubtotal() { + protected function calculateSubtotal() { return $this->getHours() * $this->getPricePerHour(); } - public function calculateVAT() { + protected function calculateVAT() { return $this->calculateSubtotal() * $this->getVAT() / 100; } |