@extends('layouts.app')

@section('title')
unit Type Detail 
@stop

@section('breadcrumb')
<ol class="breadcrumb pull-right">
        <li><a href="{{route('home')}}"><i class="fa fa-dashboard"></i> Home</a></li>
        @permission('view-unit-type')
        <li ><a href="{{route('unit.type.all')}}">Unit Types</a></li>
        @endpermission
        <li class="active">Unit Type Detail</li>
      </ol>
@stop
@section('content')
            <div class="container-fluid">

                <!-- /row -->
                <div class="row">
                    <div class="col-sm-12">
                        <div class="white-box">
                            <h3 class="box-title">Unit Type Information</h3><hr>
                                    <div class="table-responsive">
                                        <table class="table">
                                            <tbody>
                                                <tr style="background: #F4F4F4; height: 50px;">
                                                    <td width="110px">Name</td>
                                                    <td> {{$type->name}} </td>
                                                </tr>
                                                <tr style="background: #F4F4F4; height: 45px;">
                                                    <td>Status</td>
                                                    @if($type->status == true)
                                                    <td>Active </td>
                                                    @else
                                                    <td> InActive </td>
                                                    @endif
                                                </tr>

                                                <tr style="background: #F4F4F4; height: 45px;">
                                                    <td>Updated at</td>
                                                    <td> {{$type->updated_at}}</td>
                                                </tr>
                                                <tr style="background: #F4F4F4; height: 45px;">
                                                    <td>Created at</td>
                                                    <td> {{$type->created_at}}</td>
                                                </tr>

                                            </tbody>
                                        </table>
                                    </div>
                        </div>
                    </div>
                </div>
                <!-- /.row -->
              </div>
            <!-- /.container-fluid -->

@stop