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.
 
 
 
 
 
 

59 lines
2.2 KiB

@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 Customer</h5>
</div>
<div class="col-6 text-right">
<a href="{{ route('dashboard.ReportCustomer.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 Customer</th>
<th>Kode Customer</th>
<th>Lot No</th>
<th>No. Telepon</th>
<th>Alamat</th>
</tr>
</thead>
<tbody>
@php
$noreport = 1;
@endphp
@forelse ($customers as $data_customer)
<tr>
<td class="text-center">{{ $noreport++ }}</td>
<td>{{ $data_customer->name }}</td>
<td>{{ $data_customer->code_customer }}</td>
<td>{{ $data_customer->lot_no }}</td>
<td>{{ $data_customer->no_tlp }}</td>
<td>{{ $data_customer->address }}</td>
</tr>
@empty
@endforelse
</tbody>
</table>
</div>
</div>
</div>
@endsection