Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
3
3f-timesheet
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
dockers
3f-timesheet
Commits
cea3469d
Commit
cea3469d
authored
Dec 01, 2022
by
Azhan Hannan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
changes
parent
a7990ccb
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
packages/portal/timesheet/resources/views/dashboard/timesheetViewer.blade.php
+4
-4
packages/portal/timesheet/src/Http/Controllers/FormController.php
+1
-1
No files found.
packages/portal/timesheet/resources/views/dashboard/timesheetViewer.blade.php
View file @
cea3469d
...
@@ -552,7 +552,7 @@
...
@@ -552,7 +552,7 @@
$totalot
+=
$cuti
;
$totalot
+=
$cuti
;
}
}
if (data_get(
$hari
,'day_type') == 3)
if (data_get(
$hari
,'day_type') == 3
&& data_get(
$hari
,'attendance_status') == 1
)
{
{
if (
$chargehour
) {
if (
$chargehour
) {
$valcbyday
=
$chargehour->where
('td_date','=',
$date
)
$valcbyday
=
$chargehour->where
('td_date','=',
$date
)
...
@@ -646,7 +646,7 @@
...
@@ -646,7 +646,7 @@
@endif
@endif
@endif
@endif
@if(data_get(
$hari
,'day_type') == '3')
@if(data_get(
$hari
,'day_type') == '3'
&& data_get(
$hari
,'attendance_status') == 1
)
@if(
$cuti
> 0)
@if(
$cuti
> 0)
{{ number_format(
$cuti
, '1', '.', '') }}
{{ number_format(
$cuti
, '1', '.', '') }}
@else
@else
...
@@ -717,7 +717,7 @@
...
@@ -717,7 +717,7 @@
$totalot
+=
$cuti
;
$totalot
+=
$cuti
;
}
}
if (data_get(
$hari
,'day_type') == 3)
if (data_get(
$hari
,'day_type') == 3
&& data_get(
$hari
,'attendance_status') == 1
)
{
{
if (
$chargehour
) {
if (
$chargehour
) {
$valcbyday
=
$chargehour->where
('td_date','=',
$date
)
$valcbyday
=
$chargehour->where
('td_date','=',
$date
)
...
@@ -812,7 +812,7 @@
...
@@ -812,7 +812,7 @@
@endif
@endif
@endif
@endif
@if(data_get(
$hari
,'day_type') == '3')
@if(data_get(
$hari
,'day_type') == '3'
&& data_get(
$hari
,'attendance_status') == 1
)
@if(
$cuti
> 0)
@if(
$cuti
> 0)
{{ number_format(
$cuti
, '1', '.', '') }}
{{ number_format(
$cuti
, '1', '.', '') }}
@else
@else
...
...
packages/portal/timesheet/src/Http/Controllers/FormController.php
View file @
cea3469d
...
@@ -1382,7 +1382,7 @@ class FormController extends Controller
...
@@ -1382,7 +1382,7 @@ class FormController extends Controller
}
}
}
}
$cutiumum
=
$lat
->
where
(
'day_type'
,
3
);
$cutiumum
=
$lat
->
where
(
'day_type'
,
3
)
->
where
(
'attendance_status'
,
1
)
;
if
(
count
(
$cutiumum
)
>
0
)
{
if
(
count
(
$cutiumum
)
>
0
)
{
foreach
(
$cutiumum
as
$key
=>
$value
)
{
foreach
(
$cutiumum
as
$key
=>
$value
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment