<head>
    <style>
        #tblisi th, tr, td { border-bottom:1px black solid; }
    </style>
</head>

@extends('layouts.print')

@section('title')
    Form Opname &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;

  	<a onclick="window.location='{{ route('home') }}'" class="btn btn-primary"><i class="fa fa-home"></i> Home </a>
	<a onclick="window.history.go(-1)" class="btn btn-warning"><i class="fa fa-undo"></i> Back </a> 
	<a onclick="myFunction()" class="btn btn-success"><i class="fa fa-print"></i>Print Form</a>

    <script>
        function myFunction() {
          window.print();
        }
    </script>
@endsection

@section('breadcrumb')
   @parent
     <li>print form opname</li>
@endsection

@section('content')

<center>
	<h4>Form Opname</h4>
</center>

<tr><td width="600">Gudang : {{ $gdg->nama.' ['.$gdg->kode.']' }}</td></tr>

<br><br>

<table cellspacing="5" cellpadding="5"  style="width:98%;" id="tblisi">

<tr>
    <th width="30">NO.</th>
	<th width="175">DESKRIPSI</th>
	<th width="60" class="text-center">---QTY---</th>
	<th width="150">Keterangan</th>
</tr>

@foreach ($dt as $list)
	
	<tr>
	    <td align="center">{{ $no++ }}</td>
    	<td>{{ $list->nama_brg }}</td><td></td><td></td>
    </tr>
	
@endforeach


</table>

<hr> <!--style="width:96%; margin-top:5px; margin-bottom:5px; background-color: black; height: 1px; border:1;"-->


<p></p>
@endsection

