Commit d456d697 by Azhan Hannan

insert link in screen verification and approval to view timesheet to new tab

parent 82b6db53
...@@ -4,6 +4,9 @@ ...@@ -4,6 +4,9 @@
<div class="ui segment"> <div class="ui segment">
<a class="ui green left ribbon label">Project Approval</a> <a class="ui green left ribbon label">Project Approval</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>
<br> <br>
<table class="ui unstackable collapsing table" style="width: 100%"> <table class="ui unstackable collapsing table" style="width: 100%">
......
...@@ -4,6 +4,9 @@ ...@@ -4,6 +4,9 @@
<div class="ui segment"> <div class="ui segment">
<a class="ui blue left ribbon label">Project Verification</a> <a class="ui blue left ribbon label">Project Verification</a>
<a class="ui right floated center aligned yellow compact button" href="{{ route('timesheet::dashboard.timesheetViewer', [ 'user'=>data_get($staff,'STAFF_ID') ,'phase' => $phase, 'month' => $month , 'year' => $year ]) }}" target="_blank">View Timesheet</a>
<br> <br>
<table class="ui unstackable collapsing table" style="width: 100%"> <table class="ui unstackable collapsing table" style="width: 100%">
......
...@@ -4,6 +4,9 @@ ...@@ -4,6 +4,9 @@
<div class="ui segment"> <div class="ui segment">
<a class="ui blue left ribbon label">Overhead Verification</a> <a class="ui blue left ribbon label">Overhead Verification</a>
<a class="ui right floated center aligned yellow compact button" href="{{ route('timesheet::dashboard.timesheetViewer', [ 'user'=>data_get($staff,'STAFF_ID') ,'phase' => $phase, 'month' => $month , 'year' => $year ]) }}" target="_blank">View Timesheet</a>
<br> <br>
<table class="ui unstackable collapsing table" style="width: 100%"> <table class="ui unstackable collapsing table" style="width: 100%">
......
...@@ -1237,7 +1237,7 @@ class DashboardController extends Controller ...@@ -1237,7 +1237,7 @@ class DashboardController extends Controller
public function timesheetViewer(Request $request) public function timesheetViewer(Request $request)
{ {
// dd($request);
$curruser = $user = Staff_info::where('fk_users', Auth::id()) $curruser = $user = Staff_info::where('fk_users', Auth::id())
->first(); ->first();
......
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