Skip to content

Commit

Permalink
hotfix
Browse files Browse the repository at this point in the history
  • Loading branch information
leon-mbs committed Apr 17, 2024
1 parent 6a1f580 commit 9a3f99e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion www/app/pages/report/balance.php
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ private function generateReport() {
$aeq = H::fa($aeq);

$atotal = $amat + $aprod + $ambp + $aitem +$aother + $anal + $abnal + $aemp+ $ab + $as;
$ptotal = $pemp + $pb + $ps;
$ptotal = H::fa( doubleval($pemp) + doubleval($pb) + doubleval($ps) );
$bal = $atotal - $ptotal ;


Expand Down
2 changes: 1 addition & 1 deletion www/app/pages/timesheet.php
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ public function save($args, $post) {
}

$time->description = $post->desc;
$time->emp_id = $post->empid;
$time->emp_id = intval( $post->empid);
if ($time->emp_id == 0) {

return json_encode("Не обрано співробітника", JSON_UNESCAPED_UNICODE);
Expand Down

0 comments on commit 9a3f99e

Please sign in to comment.