@extends('layouts.template') @section('template')

WAREHOUSE

@if(isset($stock_location)) @foreach($stock_location as $key => $stock_locations) @endforeach @endif
Srl Warehouse Name Code Address Action
{{ ++$key }} {{ $stock_locations->stock_location_name }} {{ $stock_locations->code }} {{ $stock_locations->address }}
    @if($stock_locations->stock_location_id != 1)
{{ method_field('DELETE') }} {{ csrf_field() }}
@endif
@if(Session::has('success'))
{{Session::get('success')}} @php Session::forget('success'); @endphp
@endif @if(Session::has('update'))
{{Session::get('update')}} @php Session::forget('update'); @endphp
@endif @if(Session::has('delete'))
{{Session::get('delete')}} @php Session::forget('delete'); @endphp
@endif
@endsection