@extends('layouts.app') @section('title', 'Warehouses') @section('content')

Warehouses

Manage warehouse locations and inventory storage

@if($warehouses->count() > 0) @foreach($warehouses as $warehouse) @endforeach
Code Name Type Location Contact Status Actions
{{ $warehouse->code }}
{{ $warehouse->name }}
@if($warehouse->type == "pos") POS @else Warehouse @endif
@if($warehouse->city || $warehouse->state) {{ $warehouse->city }}@if($warehouse->city && $warehouse->state), @endif{{ $warehouse->state }} @else - @endif
@if($warehouse->contact_person) {{ $warehouse->contact_person }} @if($warehouse->phone)
{{ $warehouse->phone }} @endif @else - @endif
@if($warehouse->is_active) Active @else Inactive @endif View Edit
@csrf @method('DELETE')
{{ $warehouses->links() }}
@else

No warehouses

Get started by creating a new warehouse.

@endif
@endsection