@extends('garage.layouts.app') @section('title', 'Parts') @section('content') @push('styles') @include('shared.garage-summary-ui-styles') @endpush
Rows: garage_parts + garage_id · Master: spare_parts
| Inv no. | Part no. / code | Name | Category | Brand | Unit | Cost | Selling | Stock | Status | Act. | |
|---|---|---|---|---|---|---|---|---|---|---|---|
| {{ $part->inventory_code ?? '—' }} |
@if($part->part_number)
{{ $part->part_number }}
@endif
@if($part->code)
Barcode: {{ $part->code }}
@elseif(!$part->part_number)
—
@endif
|
{{ $part->name }}
@if($part->description)
{{ \Illuminate\Support\Str::limit($part->description, 44) }}
@endif
|
@if($part->category_name) {{ $part->category_name }} @else — @endif | {{ $part->brand_name ?: '—' }} | {{ $part->unit }} | PKR {{ number_format($part->cost_price, 0) }} | PKR {{ number_format($part->selling_price, 0) }} |
{{ $part->stock_quantity }}
@if($part->min_stock_level > 0)
Min: {{ $part->min_stock_level }}
@endif
|
@if($part->is_active) Active @else Inactive @endif | ||
|
No parts
@if($search || ($categoryId ?? '') || ($status ?? 'all') !== 'all')
Adjust filters or clear. Clear @elseAdd inventory for this garage. @endif |
|||||||||||