Commit f293fa23 by Azhan Hannan

changes

parent 6e650583
......@@ -3,7 +3,13 @@
@section('content')
<div class="ui segment">
<a class="ui green left ribbon label">Project Approval</a>
<a class="ui green left ribbon label">
@if(data_get($profile,'tp_project_type') == 1)
Project Approval
@else
Overhead Approval
@endif
</a>
<a class="ui right floated center aligned teal compact button" href="{{ route('timesheet::dashboard.timesheetViewer', [ 'user'=>data_get($staff,'STAFF_ID') ,'phase' => $phase, 'month' => $month , 'year' => $year ]) }}" target="_blank">View Timesheet</a>
......
......@@ -1107,6 +1107,7 @@ class DashboardController extends Controller
public function approvalaction(Request $request)
{
// dd($request);
$page = data_get($request,'page');
$profile = Tproject::where('id', $request->tpid)
->with('team')
......
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