Commit 9a44b473 by Azhan Hannan

project start date & project end date display kat project report & excel

parent 5120e6b4
......@@ -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>
......
......@@ -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>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment