From d12a10308775bacc95aaba64667c028327971981 Mon Sep 17 00:00:00 2001 From: Alex Date: Fri, 30 Dec 2016 15:06:19 +0200 Subject: [PATCH] -Total --- frontend/views/cabinet/arrivals.php | 1 + frontend/views/cabinet/users.php | 13 +++++++++++++ 2 files changed, 14 insertions(+), 0 deletions(-) diff --git a/frontend/views/cabinet/arrivals.php b/frontend/views/cabinet/arrivals.php index e77392f..62c1d88 100755 --- a/frontend/views/cabinet/arrivals.php +++ b/frontend/views/cabinet/arrivals.php @@ -41,6 +41,7 @@ diff --git a/frontend/views/cabinet/users.php b/frontend/views/cabinet/users.php index 9d8ff2d..aea79b2 100755 --- a/frontend/views/cabinet/users.php +++ b/frontend/views/cabinet/users.php @@ -53,12 +53,14 @@ Сума до виплати $report) { if ($user->isAdmin()) { $sum = $report->sum; } else { $sum = $report->sum * $report->intellectualProperty->creativeRoles[0]->part / 100; } + $total += $sum; ?> + + + + + + + + + + +