@extends('garage.layouts.app') @section('title', 'Labors') @section('content')
Labors
Create labor items (mechanic/electrician/etc.) for billing and reporting.
Add labor
Total
{{ $labors->total() }}
Active
{{ $labors->where('is_active', true)->count() }}
Inactive
{{ $labors->where('is_active', false)->count() }}
@if($search || ($categoryId ?? '') || ($status ?? 'all') !== 'all') @endif
@forelse($labors as $labor) @empty @endforelse
Labor Category Rate Tax Status Actions
{{ $labor->name }}
@if($labor->code) Code: {{ $labor->code }} @endif @if($labor->rate_type) · {{ ucfirst($labor->rate_type) }} @endif @if($labor->estimated_hours) · Est {{ $labor->estimated_hours }}h @endif
@if($labor->category_name) {{ $labor->category_name }} @else @endif PKR {{ number_format($labor->rate, 2) }}
{{ ucfirst($labor->rate_type) }}
{{ number_format($labor->tax_rate ?? 0, 2) }}% @if($labor->is_active) Active @else Inactive @endif

No labor items yet

Add your first labor
@if($labors->hasPages())
{{ $labors->links() }}
@endif
@push('scripts') @endpush @endsection