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
fcd42909
Commit
fcd42909
authored
Nov 16, 2022
by
Azhan Hannan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
changes for pilot
parent
087759c6
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
38 additions
and
33 deletions
+38
-33
packages/portal/timesheet/resources/views/dashboard/timesheetViewer.blade.php
+13
-15
packages/portal/timesheet/resources/views/report/ringkasanLaporan.blade.php
+4
-2
packages/portal/timesheet/src/Http/Controllers/DashboardController.php
+0
-0
packages/portal/timesheet/src/Model/Staff_info.php
+5
-0
packages/portal/timesheet/src/ServiceProvider.php
+16
-16
No files found.
packages/portal/timesheet/resources/views/dashboard/timesheetViewer.blade.php
View file @
fcd42909
...
...
@@ -583,31 +583,29 @@
</table>
</div>
<
!-- <
div class="
ui
segment
">
<div class="
ui
segment
">
<table id="
printtable7
" class="
ui
celled
structured
table
unstackable
">
<thead>
<tr>
<th class="
center
aligned
">Submitted at</th>
<th class="
center
aligned
">Verified by</th>
<th class="
center
aligned
">Verified at</th>
<th class="
center
aligned
">Approved by</th>
<th class="
center
aligned
">Approved at</th>
<th style="
width
:
33
%
;
" class="
center
aligned
">Staff Signature</th>
<th style="
width
:
33
%
;
" class="
center
aligned
">Reviewed by</th>
<th style="
width
:
33
%
;
" class="
center
aligned
">Approved by</th>
</tr>
</thead>
<tbody>
<tr>
<?php
//
$verifiername
=
$approvalname
= "";
?
>
<td class="
center
aligned
">@if(
$check
){{ data_get(
$check
,'tm_submission_at') }}@endif</td
>
<td class="
center
aligned
">@if(
$check
){{ data_get(
$profile
,'HOD_NAME') }}@endif</td
>
<td
class="
center
aligned
">@if(
$check
){{ data_get(
$check
,'tm_verified_at
') }}@endif</td>
<td
class="
center
aligned
">@if(
$check
){{ data_get(
$profile
,'B
OD_NAME') }}@endif</td>
<td
class="
center
aligned
">@if(
$check
)
{
{$check->tm_approved_at
}
}
@endif</td>
<td style="
width
:
33
%
;
" class="
center
aligned
"><br><br></td>
<td style="
width
:
33
%
;
" class="
center
aligned
"><br><br></td>
<td style="
width
:
33
%
;
" class="
center
aligned
"><br><br></td
>
</tr
>
<tr
>
<td
style="
width
:
33
%
;
" class="
center
aligned
">@if(
$profile
){{ data_get(
$profile
,'STAFF_NAME
') }}@endif</td>
<td
style="
width
:
33
%
;
" class="
center
aligned
">@if(
$profile
){{ data_get(
$profile
,'H
OD_NAME') }}@endif</td>
<td
style="
width
:
33
%
;
" class="
center
aligned
">@if(
$profile
){{ data_get(
$profile
,'BOD_NAME')
}}@endif</td>
</tr>
</tbody>
</table>
</div>
-->
</div>
</div>
<br>
...
...
packages/portal/timesheet/resources/views/report/ringkasanLaporan.blade.php
View file @
fcd42909
...
...
@@ -2,14 +2,15 @@
@
section
(
'content'
)
<
div
class
="
ui
segment
">
<
div
class
="
ui
tall
stacked
segment
">
<a class="
ui
green
left
ribbon
label
">Report Summary </a>
<br><br>
<form class="
ui
form
" action="
{{
route
(
'timesheet::report.generateRingkasan'
)
}}
" method="
POST
">
{
{csrf_field()}
}
<div class="
five
wide
field
">
<div class="
one
fields
">
<div class="
six
wide
field
">
<label>Department</label>
<select name="
dept
" class="
ui
fluid
dropdown
" required="
required
">
<option value="
all
">All staffs</option>
...
...
@@ -18,6 +19,7 @@
@endforeach
</select>
</div>
</div>
<div class="
two
fields
">
<div class="
three
wide
field
">
...
...
packages/portal/timesheet/src/Http/Controllers/DashboardController.php
View file @
fcd42909
packages/portal/timesheet/src/Model/Staff_info.php
View file @
fcd42909
...
...
@@ -33,6 +33,11 @@ class Staff_info extends Model
return
$this
->
hasOne
(
'Portal\Timesheet\Model\Staff_info'
,
'id'
,
'penyokong'
);
}
// public function infopelulus()
// {
// return $this->hasOne('Portal\Timesheet\Model\Staff_info','id','pelulus');
// }
// public function project_code()
// {
// return $this->hasMany('Portal\Timesheet\Model\Ts_detail','td_project','id');
...
...
packages/portal/timesheet/src/ServiceProvider.php
View file @
fcd42909
...
...
@@ -86,22 +86,22 @@ class ServiceProvider extends BaseServiceProvider
->
data
(
'icon'
,
'calendar alternate outline icon'
)
->
active
(
'timesheetViewer/*'
)
->
data
(
'permission'
,
Permission
::
tsviewer
);
//
$form->add(__('Chargeable Verification'), route('timesheet::dashboard.filterProjectVerify'))
//
->data('icon', 'calendar alternate outline icon')
//
->active('timesheetApproval/*')
//
->data('permission', Permission::pmverify);
//
$form->add(__('Chargeable Approval'))
//
->data('icon', 'calendar alternate outline icon')
//
->active('timesheetApproval/*')
//
->data('permission', Permission::pdapproval);
//
$form->add(__('Overhead Review'), route('timesheet::dashboard.filterReview'))
//
->data('icon', 'calendar alternate outline icon')
//
->active('timesheetReview/*')
//
->data('permission', Permission::kehadiran);
//
$form->add(__('Timesheet Approval'), route('timesheet::dashboard.filterApproval'))
//
->data('icon', 'calendar alternate outline icon')
//
->active('timesheetApproval/*')
//
->data('permission', Permission::tsapproval);
$form
->
add
(
__
(
'Chargeable Verification'
),
route
(
'timesheet::dashboard.filterProjectVerify'
))
->
data
(
'icon'
,
'calendar alternate outline icon'
)
->
active
(
'timesheetApproval/*'
)
->
data
(
'permission'
,
Permission
::
pmverify
);
$form
->
add
(
__
(
'Chargeable Approval'
))
->
data
(
'icon'
,
'calendar alternate outline icon'
)
->
active
(
'timesheetApproval/*'
)
->
data
(
'permission'
,
Permission
::
pdapproval
);
$form
->
add
(
__
(
'Overhead Review'
),
route
(
'timesheet::dashboard.filterReview'
))
->
data
(
'icon'
,
'calendar alternate outline icon'
)
->
active
(
'timesheetReview/*'
)
->
data
(
'permission'
,
Permission
::
kehadiran
);
$form
->
add
(
__
(
'Timesheet Approval'
),
route
(
'timesheet::dashboard.filterApproval'
))
->
data
(
'icon'
,
'calendar alternate outline icon'
)
->
active
(
'timesheetApproval/*'
)
->
data
(
'permission'
,
Permission
::
tsapproval
);
$laporan
=
$this
->
app
[
'laravolt.menu'
]
->
add
(
__
(
'Report'
))
->
data
(
'icon'
,
'align justify'
);
$laporan
->
add
(
__
(
'Report Summary'
),
route
(
'timesheet::report.ringkasanLaporan'
))
...
...
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