Commit fcd42909 by Azhan Hannan

changes for pilot

parent 087759c6
...@@ -583,31 +583,29 @@ ...@@ -583,31 +583,29 @@
</table> </table>
</div> </div>
<!-- <div class="ui segment"> <div class="ui segment">
<table id="printtable7" class="ui celled structured table unstackable"> <table id="printtable7" class="ui celled structured table unstackable">
<thead> <thead>
<tr> <tr>
<th class="center aligned">Submitted at</th> <th style="width: 33%;" class="center aligned">Staff Signature</th>
<th class="center aligned">Verified by</th> <th style="width: 33%;" class="center aligned">Reviewed by</th>
<th class="center aligned">Verified at</th> <th style="width: 33%;" class="center aligned">Approved by</th>
<th class="center aligned">Approved by</th>
<th class="center aligned">Approved at</th>
</tr> </tr>
</thead> </thead>
<tbody> <tbody>
<tr> <tr>
<?php <td style="width: 33%;" class="center aligned"><br><br></td>
// $verifiername = $approvalname= ""; <td style="width: 33%;" class="center aligned"><br><br></td>
?> <td style="width: 33%;" class="center aligned"><br><br></td>
<td class="center aligned">@if($check){{ data_get($check,'tm_submission_at') }}@endif</td> </tr>
<td class="center aligned">@if($check){{ data_get($profile,'HOD_NAME') }}@endif</td> <tr>
<td class="center aligned">@if($check){{ data_get($check,'tm_verified_at') }}@endif</td> <td style="width: 33%;" class="center aligned">@if($profile){{ data_get($profile,'STAFF_NAME') }}@endif</td>
<td class="center aligned">@if($check){{ data_get($profile,'BOD_NAME') }}@endif</td> <td style="width: 33%;" class="center aligned">@if($profile){{ data_get($profile,'HOD_NAME') }}@endif</td>
<td class="center aligned">@if($check){{$check->tm_approved_at}}@endif</td> <td style="width: 33%;" class="center aligned">@if($profile){{ data_get($profile,'BOD_NAME') }}@endif</td>
</tr> </tr>
</tbody> </tbody>
</table> </table>
</div> --> </div>
</div> </div>
<br> <br>
......
...@@ -2,14 +2,15 @@ ...@@ -2,14 +2,15 @@
@section('content') @section('content')
<div class="ui segment"> <div class="ui tall stacked segment">
<a class="ui green left ribbon label">Report Summary </a> <a class="ui green left ribbon label">Report Summary </a>
<br><br> <br><br>
<form class="ui form" action="{{ route('timesheet::report.generateRingkasan') }}" method="POST"> <form class="ui form" action="{{ route('timesheet::report.generateRingkasan') }}" method="POST">
{{csrf_field()}} {{csrf_field()}}
<div class="five wide field"> <div class="one fields">
<div class="six wide field">
<label>Department</label> <label>Department</label>
<select name="dept" class="ui fluid dropdown" required="required"> <select name="dept" class="ui fluid dropdown" required="required">
<option value="all">All staffs</option> <option value="all">All staffs</option>
...@@ -18,6 +19,7 @@ ...@@ -18,6 +19,7 @@
@endforeach @endforeach
</select> </select>
</div> </div>
</div>
<div class="two fields"> <div class="two fields">
<div class="three wide field"> <div class="three wide field">
......
...@@ -33,6 +33,11 @@ class Staff_info extends Model ...@@ -33,6 +33,11 @@ class Staff_info extends Model
return $this->hasOne('Portal\Timesheet\Model\Staff_info','id','penyokong'); return $this->hasOne('Portal\Timesheet\Model\Staff_info','id','penyokong');
} }
// public function infopelulus()
// {
// return $this->hasOne('Portal\Timesheet\Model\Staff_info','id','pelulus');
// }
// public function project_code() // public function project_code()
// { // {
// return $this->hasMany('Portal\Timesheet\Model\Ts_detail','td_project','id'); // return $this->hasMany('Portal\Timesheet\Model\Ts_detail','td_project','id');
......
...@@ -86,22 +86,22 @@ class ServiceProvider extends BaseServiceProvider ...@@ -86,22 +86,22 @@ class ServiceProvider extends BaseServiceProvider
->data('icon', 'calendar alternate outline icon') ->data('icon', 'calendar alternate outline icon')
->active('timesheetViewer/*') ->active('timesheetViewer/*')
->data('permission', Permission::tsviewer); ->data('permission', Permission::tsviewer);
// $form->add(__('Chargeable Verification'), route('timesheet::dashboard.filterProjectVerify')) $form->add(__('Chargeable Verification'), route('timesheet::dashboard.filterProjectVerify'))
// ->data('icon', 'calendar alternate outline icon') ->data('icon', 'calendar alternate outline icon')
// ->active('timesheetApproval/*') ->active('timesheetApproval/*')
// ->data('permission', Permission::pmverify); ->data('permission', Permission::pmverify);
// $form->add(__('Chargeable Approval')) $form->add(__('Chargeable Approval'))
// ->data('icon', 'calendar alternate outline icon') ->data('icon', 'calendar alternate outline icon')
// ->active('timesheetApproval/*') ->active('timesheetApproval/*')
// ->data('permission', Permission::pdapproval); ->data('permission', Permission::pdapproval);
// $form->add(__('Overhead Review'), route('timesheet::dashboard.filterReview')) $form->add(__('Overhead Review'), route('timesheet::dashboard.filterReview'))
// ->data('icon', 'calendar alternate outline icon') ->data('icon', 'calendar alternate outline icon')
// ->active('timesheetReview/*') ->active('timesheetReview/*')
// ->data('permission', Permission::kehadiran); ->data('permission', Permission::kehadiran);
// $form->add(__('Timesheet Approval'), route('timesheet::dashboard.filterApproval')) $form->add(__('Timesheet Approval'), route('timesheet::dashboard.filterApproval'))
// ->data('icon', 'calendar alternate outline icon') ->data('icon', 'calendar alternate outline icon')
// ->active('timesheetApproval/*') ->active('timesheetApproval/*')
// ->data('permission', Permission::tsapproval); ->data('permission', Permission::tsapproval);
$laporan = $this->app['laravolt.menu']->add(__('Report'))->data('icon', 'align justify'); $laporan = $this->app['laravolt.menu']->add(__('Report'))->data('icon', 'align justify');
$laporan->add(__('Report Summary'), route('timesheet::report.ringkasanLaporan')) $laporan->add(__('Report Summary'), route('timesheet::report.ringkasanLaporan'))
......
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