Siopas Inventory PETI for ISTW Website
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

56 lines
2.0 KiB

10 months ago
@extends('layouts.main')
@section('content')
<style>
.table th {
white-space: nowrap;
}
.table td {
white-space: nowrap;
}
</style>
<div class="card shadow mb-4">
<div class="card-header py-3">
<div class="row">
<div class="col-6">
<h5 class="m-0 font-weight-bold text-primary mt-2">Report Warehouse</h5>
</div>
<div class="col-6 text-right">
<a href="{{ route('dashboard.ReportWarehouse.export') }}" class="btn btn-info btn-icon-split ml-auto"
target="_blank">
<span class="text">Export Exel</span>
</a>
</div>
</div>
</div>
<div class="card-body">
<div class="table-responsive">
<table class="table table-bordered" id="tablebarang" width="100%" cellspacing="0">
<thead>
<tr>
<th>No</th>
<th>Nama Gudang</th>
<th>Deskripsi</th>
<th>Alamat</th>
</tr>
</thead>
<tbody>
@php
$noreport = 1;
@endphp
@forelse ($warehouse as $data_warehouse)
<tr>
<td class="text-center">{{ $noreport++ }}</td>
<td>{{ $data_warehouse->name }}</td>
<td>{{ $data_warehouse->description }}</td>
<td>{{ $data_warehouse->address }}</td>
</tr>
@empty
@endforelse
</tbody>
</table>
</div>
</div>
</div>
@endsection