Commit 9a81a4f3 by Azhan Hannan

log pia 92

parent 2041f242
......@@ -132,7 +132,7 @@
// dd(count($onotes));
?>
@if(data_get($checknotelist, 'tm_timesheet_master_sts') == 1 && count($onotes) > 0)
@if(data_get($checknotelist, 'tm_timesheet_master_sts') != '4' && count($onotes) > 0)
<button type="submit" class="ui right floated aligned ui orange compact button">
Save as Draft
</button>
......
......@@ -4,6 +4,14 @@
<div class="ui segment">
<a class="ui blue left ribbon label">Rejected Project</a>
<div class="ui right floated center compact aligned basic right button">
<div class="header item" style="color: #000000;">
<strong>
@if($phase == 1) 1st Halfmonth @else 2nd Half-month @endif - {{ date("F", mktime(0, 0, 0, $month, 10)) }} - {{ $year }}
</strong>
</div>
</div>
<br>
<br>
......
......@@ -11,16 +11,24 @@
$fk_tm_id = data_get($checkoverhead,'id');
$page = 6;
?>
<br>
<br>
<div class="ui right floated center compact aligned basic right button">
<div class="header item" style="color: #000000;">
<strong>
@if($phase == 1) 1st Halfmonth @else 2nd Half-month @endif - {{ date("F", mktime(0, 0, 0, $month, 10)) }} - {{ $year }}
</strong>
</div>
</div>
@if($checkoverhead)
<button class="right floated aligned ui yellow compact labeled icon button" id="notes" onclick="window.location.href='{{ route('timesheet::form.notelist', ['year'=> $year, 'month'=> $month, 'phase'=> $phase, 'fk_tm_id'=> $fk_tm_id, 'page'=> $page] ) }} ';">
<button class="center aligned ui yellow compact labeled icon button" id="notes" onclick="window.location.href='{{ route('timesheet::form.notelist', ['year'=> $year, 'month'=> $month, 'phase'=> $phase, 'fk_tm_id'=> $fk_tm_id, 'page'=> $page] ) }} ';">
<i class="plus icon"></i>
Add Task Description
</button>
@else
@endif
<br>
<br>
<form class="ui form" action="{{ route('timesheet::form.resubmitoverhead') }}" method="POST">
{{csrf_field()}}
......
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