@extends('layouts.dashboard')
@section('page_title')
	Manage GIN
@endsection
@section('page_header_title')
	Manage GIN
@endsection
@php($label_list = EF::getWhiteLabel())

@section('page_body')
{{ Breadcrumbs::render('gin.view') }}
<div class="row row-cards row-deck" style="background: white;">
	<div class="col-12">




														<div class="card-header">


											 <h3 class="card-title">GIN Details</h3>
										</div>
													<div class="card-status card-status-left bg-blue"></div>

  <div class="card-body" style ="width:50%; align-self: center;border: 1px solid;" >
                            <div class="row">
                              <div class="col-md-12">
                                      <div class="row clear margin">


                                        <div class="col margin" style="width: 70%;">
                                          <label><b>Entry #: </b>RS/{{$gin->id}}/GIN</label>
                                        </div>


                                        <div class="col margin" style="width: 30%;">
                                          <label><b>Date: </b>{{EF::dateFormat($gin->created_at)}}</label>
                                        </div>
                                      </div>

                                       <div class="row clear margin">


                                        <div class="col margin" style="width: 70%;">
                                          <label><b>Project: </b>{{$gin->project->name}}</label>
                                        </div>


                                        <div class="col margin" style="width: 30%;">
                                          <label><b>Ref #: </b>{{$gin->id}}</label>
                                        </div>
                                      </div>

                                      <div class="row clear margin">


                                       <div class="col margin" style="width: 70%;">
                                         <label><b>Issue To: </b>{{ucwords($gin->user->name)}}</label>
                                       </div>


                                     </div>



                                            <div class="row clear" style="margin-bottom:30%;">
                                      <table border="1" style="border-collapse: collapse; margin-top:3%; text-align: center; width:100%;">
                                        <thead>


                                          <tr>

                                             <th style ="width:5%;" >S/N. </th>
                                             <th style ="width:60%;">Remarks</th>

                                              <th>Item Name</th>

                                              <th>Quantity</th>
                                          </tr>
                                          <tbody>
                                            <tr>
                                            <td>1</td>
                                            <td>{{$gin->remarks}}</td>
                                            <td>{{$gin->item->name}}</td>
                                            <td>{{$gin->quantity}}</td>
                                           </tr>
                                    </tbody>
                                        </thead>
                                      </table>
                                  </div>

												</div>
                        </div>
                        </div>

                      </div>


</div>

@endsection

@section('page_modal')

@endsection

@section('page_script')

@endsection
