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
9a44b473
Commit
9a44b473
authored
Jan 10, 2023
by
Azhan Hannan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
project start date & project end date display kat project report & excel
parent
5120e6b4
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
24 additions
and
14 deletions
+24
-14
packages/portal/timesheet/resources/views/exports/exportProject.blade.php
+16
-12
packages/portal/timesheet/resources/views/report/project.blade.php
+8
-2
No files found.
packages/portal/timesheet/resources/views/exports/exportProject.blade.php
View file @
9a44b473
...
...
@@ -5,16 +5,20 @@
<th
colspan=
"3"
>
Project Report
</th>
</tr>
<tr>
<th></th>
<th
style=
"width: 10%"
>
Project
</th>
<th
style=
"width: 1%"
>
:
</th>
<th>
{{data_get($pdetail,'pcode')}} - {{data_get($pdetail,'pname')}}
</th>
<th
style=
"width: 20%"
>
{{data_get($pdetail,'pcode')}} - {{data_get($pdetail,'pname')}}
</th>
<th
style=
"width: 10%"
>
Start Date
</th>
<th
style=
"width: 1%"
>
:
</th>
<th
style=
"width: 20%"
>
{{ date("j M Y", strtotime(data_get($pdetail,'start_date'))) }}
</th>
</tr>
<tr>
<th></th>
<th
style=
"width: 10%"
>
Month/Year
</th>
<th
style=
"width: 1%"
>
:
</th>
<th>
{{ date("F", mktime(0, 0, 0, $month, 10)) }} {{$year}}
</th>
<th
style=
"width: 20%"
>
{{$month}} {{$year}}
</th>
<th
style=
"width: 10%"
>
End Date
</th>
<th
style=
"width: 1%"
>
:
</th>
<th
style=
"width: 20%"
>
{{ date("j M Y", strtotime(data_get($pdetail,'end_date'))) }}
</th>
</tr>
</thead>
</table>
...
...
@@ -22,16 +26,16 @@
<table
class=
"ui unstackable celled table"
>
<thead>
<tr>
<th
style=
"width: 10%"
class=
"center aligned"
rowspan=
"2"
>
role
</th>
<th
style=
"width: 10%"
class=
"center aligned"
rowspan=
"2"
>
allocation
</th>
<th
style=
"width: 10%"
class=
"center aligned"
rowspan=
"2"
>
total accumulate
</th>
<th
style=
"width: 15%"
class=
"center aligned"
rowspan=
"2"
>
staff name
</th>
<th
style=
"width: 20%"
class=
"center aligned"
colspan=
"2"
>
Mandays
</th>
<th
style=
"width: 10%"
class=
"center aligned"
rowspan=
"2"
>
balance
</th>
<th
style=
"width: 10%"
class=
"center aligned"
rowspan=
"2"
>
{{strtoupper('role')}}
</th>
<th
style=
"width: 10%"
class=
"center aligned"
rowspan=
"2"
>
{{strtoupper('allocation')}}
</th>
<th
style=
"width: 10%"
class=
"center aligned"
rowspan=
"2"
>
{{strtoupper('total accumulate')}}
</th>
<th
style=
"width: 15%"
class=
"center aligned"
rowspan=
"2"
>
{{strtoupper('staff name')}}
</th>
<th
style=
"width: 20%"
class=
"center aligned"
colspan=
"2"
>
{{strtoupper('Mandays')}}
</th>
<th
style=
"width: 10%"
class=
"center aligned"
rowspan=
"2"
>
{{strtoupper('balance')}}
</th>
</tr>
<tr>
<th
style=
"width: 15%"
class=
"center aligned"
>
total hours
</th>
<th
style=
"width: 15%"
class=
"center aligned"
>
total days
</th>
<th
style=
"width: 15%"
class=
"center aligned"
>
{{strtoupper('total hours')}}
</th>
<th
style=
"width: 15%"
class=
"center aligned"
>
{{strtoupper('total days')}}
</th>
</tr>
</thead>
<tbody>
...
...
packages/portal/timesheet/resources/views/report/project.blade.php
View file @
9a44b473
...
...
@@ -72,12 +72,18 @@
<tr>
<th style="
width
:
10
%
">Project </th>
<th style="
width
:
1
%
">:</th>
<th colspan="
2
">
{
{data_get($pdetail,'pcode')}
}
-
{
{data_get($pdetail,'pname')}
}
</th>
<th style="
width
:
20
%
">
{
{data_get($pdetail,'pcode')}
}
-
{
{data_get($pdetail,'pname')}
}
</th>
<th style="
width
:
10
%
">Start Date </th>
<th style="
width
:
1
%
">:</th>
<th style="
width
:
20
%
"> {{ date("
j
M
Y
", strtotime(data_get(
$pdetail
,'start_date'))) }}</th>
</tr>
<tr>
<th style="
width
:
10
%
"> Month/Year</th>
<th style="
width
:
1
%
">:</th>
<th colspan="
2
">
{
{$month}
}
{
{$year}
}
</th>
<th style="
width
:
20
%
">
{
{$month}
}
{
{$year}
}
</th>
<th style="
width
:
10
%
"> End Date</th>
<th style="
width
:
1
%
">:</th>
<th style="
width
:
20
%
"> {{ date("
j
M
Y
", strtotime(data_get(
$pdetail
,'end_date'))) }}</th>
</tr>
</thead>
</table>
...
...
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