Commit fdada6dc by hannan

insert 3f logo in img folder

parent ec18097c
......@@ -14,7 +14,7 @@
<tbody>
<tr>
<td rowspan="3">
<img src="https://www.3fresources.com/app/themes/3f/images/3f-logo.svg" height="126" width="126" alt="3f-logo">
<img src="{{ url('img/3f-logo.svg') }}" height="126" width="126" alt="3f-logo">
</td>
<td>Name</td>
<td>:</td>
......@@ -85,7 +85,7 @@
<tr>
<th colspan="3">Chargeable</th>
<th colspan="@if($phase == 1) 15 @else {{$daymonth-15}} @endif" class="center aligned">Date</th>
<th></th>
<th colspan="2">Total</th>
</tr>
</thead>
<tbody>
......@@ -104,7 +104,8 @@
@endfor
@endif
<td>Total Hours</td>
<td>Hours</td>
<td>Days</td>
</tr>
@foreach($chargeablelist as $key => $projectchargeable)
<?php $totalcharge = 0; ?>
......@@ -167,8 +168,10 @@
@if($valchargehour)
<td>{{ $totalcharge }}</td>
<td>{{ $totalcharge/8 }}</td>
@else
<td>0</td>
<td>0</td>
@endif
</tr>
......@@ -208,6 +211,7 @@
@endif
<th>@if($totalchargehrs){{ $totalchargehrs }}@else 0 @endif</th>
<th>@if($totalchargehrs){{ $totalchargehrs/8 }}@else 0 @endif</th>
</tfoot>
</table>
</div>
......@@ -218,7 +222,7 @@
<tr>
<th colspan="2">Non-Chargeable</th>
<th colspan="@if($phase == 1) 15 @else {{$daymonth-15}} @endif" class="center aligned">Date</th>
<th></th>
<th colspan="2">Total</th>
</tr>
</thead>
<tbody>
......@@ -236,7 +240,8 @@
@endfor
@endif
<td>Total Hours</td>
<td>Hours</td>
<td>Days</td>
</tr>
@foreach($nonchargeablelist as $key => $projectnonchargeable)
......@@ -301,8 +306,10 @@
@if($valnonchargehour)
<td>{{ $totalnoncharge }}</td>
<td>{{ $totalnoncharge/8 }}</td>
@else
<td>0</td>
<td>0</td>
@endif
</tr>
@endforeach
......@@ -340,6 +347,7 @@
@endfor
@endif
<th>@if($totalnonchargehrs){{ $totalnonchargehrs }}@else 0 @endif</th>
<th>@if($totalnonchargehrs){{ $totalnonchargehrs/8 }}@else 0 @endif</th>
</tfoot>
</table>
</div>
......@@ -350,7 +358,7 @@
<tr>
<th colspan="2">Overhead</th>
<th colspan="@if($phase == 1) 15 @else {{$daymonth-15}} @endif" class="center aligned">Date</th>
<th></th>
<th colspan="2">Total</th>
</tr>
</thead>
<tbody>
......@@ -368,7 +376,8 @@
@endfor
@endif
<td>Total Hours</td>
<td>Hours</td>
<td>Days</td>
</tr>
@foreach($overheadlist as $key => $projectoverhead)
<?php $totaloverhead = 0; ?>
......@@ -430,8 +439,10 @@
@if($valchargehour)
<td>{{ $totaloverhead }}</td>
<td>{{ $totaloverhead/8 }}</td>
@else
<td>0</td>
<td>0</td>
@endif
</tr>
......@@ -469,6 +480,7 @@
@endfor
@endif
<th>@if($totaloverheadhrs) {{ $totaloverheadhrs }} @else 0 @endif</th>
<th>@if($totaloverheadhrs) {{ $totaloverheadhrs/8 }} @else 0 @endif</th>
</tfoot>
</table>
</div>
......@@ -497,11 +509,11 @@
<div class="ui segment">
<table id="printtabl6" class="ui celled structured table unstackable">
<thead>
<!-- <thead>
<th colspan="@if($phase == 1) 17 @else {{$daymonth-13}} @endif"></th>
<th>Total hours</th>
<th>Total days</th>
</thead>
</thead> -->
<tbody>
<tr>
<td style="width: 4%;"></td>
......@@ -673,7 +685,7 @@
</div>
<br>
<button type="button" onclick="printdiv('print_div')"> print</button>
<button type="button" class="ui primary button" onclick="printdiv('print_div')">Print</button>
</div>
......
......@@ -96,13 +96,13 @@ class DashboardController extends Controller
$hod = Staff_info::find($user->penyokong)
->fullname;
// $month = date('n');
// $year = date('Y');
// $day = date('j');
$month = date('n');
$year = date('Y');
$day = date('j');
$month = 7;
$year = 2022;
$day = 2;
// $month = 7;
// $year = 2022;
// $day = 2;
if ($day < 16) {
$phase = 1;
......
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