
{{-- Select Result List --}}

<thead>
                    <tr>
                        <!--th>SLNO.</th-->
                        <th>Order No.</th>
                        <th>Customer</th>
                        <th>Status</th>
                        <th>Duration</th>
                        <th>Narration</th>                     
                        <th colspan="">Actions</th>
                        <th></th>
                    </tr>
                </thead>
                <tbody>
                    @foreach($Orders as $Order)
                    <tr>
                        <td>{{$Order->id}}</td>
                        <td>{{$Order->user->name}}</td>
                        <td>{{$Order->status->title}}</td>
                        @if($Order->rack)
                            <td>{{$Order->rack->title}}</td>
                        @else
                            <td>Not Selected</td>
                        @endif
                        @if($Order->rack)
                            <td>{{$Order->rack->godown->title}}</td>
                        @else
                            <td>Not Selected</td>
                        @endif                         
                       <td>{{$Order->narration}}</td>
                        <td style="width: 150px;"><a href="{{route('orderlistview',$Order->id)}}" class="btn btn-info"><i class="fa fa-edit"></i> View</a></td>   
                                             
                    </tr>
                    @endforeach
                </tbody>

