feat(qma): implement unit support timesheet input, vehicle meter & location sync, and exports
This commit is contained in:
@@ -316,7 +316,7 @@
|
||||
|
||||
@if(auth()->user()->canAny(['qma.logs.view', 'qma.p2h.view']))
|
||||
@php
|
||||
$isActivityRoute = request()->routeIs('qma.activity.log') || request()->routeIs('qma.p2h.index') || request()->routeIs('qma.p2h.show');
|
||||
$isActivityRoute = request()->routeIs('qma.activity.log') || request()->routeIs('qma.support_timesheet.*') || request()->routeIs('qma.p2h.index') || request()->routeIs('qma.p2h.show');
|
||||
@endphp
|
||||
<!-- Dropdown Menu: Log Aktifitas -->
|
||||
<div>
|
||||
@@ -337,6 +337,11 @@
|
||||
class="block px-3.5 py-2 text-xs rounded-xl transition {{ request()->routeIs('qma.activity.log') ? 'bg-[#1b5e20] text-white font-bold shadow-sm' : 'text-slate-600 hover:text-slate-900 hover:bg-slate-100 font-medium' }}">
|
||||
<span>Timesheet LV</span>
|
||||
</a>
|
||||
|
||||
<a href="{{ route('qma.support_timesheet.index') }}"
|
||||
class="block px-3.5 py-2 text-xs rounded-xl transition {{ request()->routeIs('qma.support_timesheet.*') ? 'bg-[#1b5e20] text-white font-bold shadow-sm' : 'text-slate-600 hover:text-slate-900 hover:bg-slate-100 font-medium' }}">
|
||||
<span>Timesheet Unit Support</span>
|
||||
</a>
|
||||
@endcan
|
||||
|
||||
@can('qma.p2h.view')
|
||||
@@ -638,7 +643,7 @@
|
||||
|
||||
@if(auth()->user()->canAny(['qma.logs.view', 'qma.p2h.view']))
|
||||
@php
|
||||
$isActivityRouteMob = request()->routeIs('qma.activity.log') || request()->routeIs('qma.p2h.index') || request()->routeIs('qma.p2h.show');
|
||||
$isActivityRouteMob = request()->routeIs('qma.activity.log') || request()->routeIs('qma.support_timesheet.*') || request()->routeIs('qma.p2h.index') || request()->routeIs('qma.p2h.show');
|
||||
@endphp
|
||||
<div>
|
||||
<button type="button"
|
||||
@@ -657,6 +662,11 @@
|
||||
class="block px-3.5 py-2 text-xs rounded-xl transition {{ request()->routeIs('qma.activity.log') ? 'bg-[#1b5e20] text-white font-bold shadow-sm' : 'text-slate-600 hover:text-slate-900 hover:bg-slate-100 font-medium' }}">
|
||||
<span>Timesheet LV</span>
|
||||
</a>
|
||||
|
||||
<a href="{{ route('qma.support_timesheet.index') }}"
|
||||
class="block px-3.5 py-2 text-xs rounded-xl transition {{ request()->routeIs('qma.support_timesheet.*') ? 'bg-[#1b5e20] text-white font-bold shadow-sm' : 'text-slate-600 hover:text-slate-900 hover:bg-slate-100 font-medium' }}">
|
||||
<span>Timesheet Unit Support</span>
|
||||
</a>
|
||||
@endcan
|
||||
|
||||
@can('qma.p2h.view')
|
||||
@@ -812,6 +822,8 @@
|
||||
Manajemen Unit
|
||||
@elseif(request()->routeIs('qma.activity.log'))
|
||||
Timesheet LV
|
||||
@elseif(request()->routeIs('qma.support_timesheet.*'))
|
||||
Timesheet Unit Support
|
||||
@elseif(request()->routeIs('qma.p2h.summary'))
|
||||
Summary P2H Unit Support
|
||||
@elseif(request()->routeIs('qma.p2h.templates*'))
|
||||
|
||||
Reference in New Issue
Block a user