Commit d22c846f by hannan

changes

parent 8c96bda3
......@@ -57,7 +57,6 @@ input[type=number] {
<option value="0">Inactive</option>
</select>
</div>
<button class="ui close button">Cancel</button>
<button class="ui blue button" type="submit">Submit</button>
</form>
</div>
......
......@@ -39,7 +39,7 @@
</div>
</div>
<button class="ui button" type="submit">Open Form</button>
<button class="ui green button" type="submit">Open Form</button>
</form>
</div>
......
......@@ -34,7 +34,7 @@
@endforeach
</tbody>
<tfoot>
<!-- <tfoot>
<tr>
<th colspan="6">
<div class="ui right floated pagination menu">
......@@ -51,7 +51,7 @@
</div>
</th>
</tr>
</tfoot>
</tfoot> -->
</table>
</div>
......
......@@ -33,7 +33,7 @@
@endforeach
</tbody>
<tfoot>
<!-- <tfoot>
<tr>
<th colspan="7">
<div class="ui right floated pagination menu">
......@@ -50,7 +50,7 @@
</div>
</th>
</tr>
</tfoot>
</tfoot> -->
</table>
<button class="center aligned ui teal compact labeled icon button" onclick="window.location.href='{{ route('timesheet::maintenance.senaraiProject', [ 'id' => $pid ]) }}';">
<i class="angle double left icon"></i>
......
......@@ -51,7 +51,7 @@ class DashboardController extends Controller
return view('timesheet::dashboard.admin');
}
if (($roleid == '2' ) OR ($roleid == '5' )) {
if (($roleid == ('2'||'5'||'6'||'7'||'8'))) {
$staffid = users::find(Auth::id())
->u_staffID;
......@@ -75,7 +75,6 @@ class DashboardController extends Controller
}if ($roleid == '3') {
return view('timesheet::dashboard.verifier');
}
if ($roleid == '4') {
......
......@@ -109,6 +109,16 @@ class ServiceProvider extends BaseServiceProvider
->active('pengurusan/*')
->data('permission', Permission::laporan);
$Projek = $this->app['laravolt.menu']->add(__('Project Management'))->data('icon', 'align justify');
$Projek->add(__('List of Project'), route('timesheet::maintenance.senaraiProject'))
->data('icon', 'users icon')
->active('projek/*')
->data('permission', Permission::projek);
$Projek->add(__('Add New Project'), route('timesheet::maintenance.penambahanProject'))
->data('icon', 'users icon')
->active('projek/*')
->data('permission', Permission::projek);
$pengurusanProject = $this->app['laravolt.menu']->add(__('Project Management'))->data('icon', 'align justify');
$pengurusanProject->add(__('List of Project'), route('timesheet::maintenance.senaraiProject'))
->data('icon', 'users icon')
......
@if(strlen(config('laravolt.ui.brand_image')) > 0)
<img src="/laravolt/img/bg/index.png" alt="" class="ui image {{ $class ?? 'tiny' }}">
<img src="img/3f-logo.svg" alt="" class="ui image {{ $class ?? 'tiny' }}">
@endif
<h2 class="ui header brand centered">
<!-- @include('ui::components.brand-image') -->
@include('ui::components.brand-image')
{{ config('laravolt.ui.brand_name') }}
</h2>
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