@extends('layouts.app')

@section('content')
    <div class="row nomargins">
        <div class="card card-primary">
            <aside class="panel panel-black">
                <div class="panel-heading">
                    <a href="{{route('storeRequest', Session('store_id') !== ''? Session('store_id'): '')}}" class="btn btn-raised btn-primary">Request</a>
                    <a href="{{route('storeTransfer', Auth::user()->store_id) !== null? Auth::user()->store_id : '' }}" class="btn btn-raised btn-primary">Transfers</a>

                    <hr/>
                    <h3 id="store_name" class="text-center">{{Session('store_name')}} Inventory</h3>
                </div>

                <div class="panel-body">

                    <div id="inventoryLoad" class="">
                        @include('includes.storeInventory')
                    </div>
                </div>

                <div class="panel-footer"></div>
            </aside>
        </div>
    </div>

@endsection

