106 lines
3.1 KiB
PHP
106 lines
3.1 KiB
PHP
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<title>Cetak pdf | Laporan Barang Keluar</title>
|
|
<style>
|
|
body {
|
|
font-family: Arial, sans-serif;
|
|
margin: 0;
|
|
padding: 20px;
|
|
background-color: #f4f4f9;
|
|
}
|
|
.header {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
margin-bottom: 20px;
|
|
}
|
|
h4, p {
|
|
font-size: 24px;
|
|
margin: 0 20px;
|
|
color: #333;
|
|
text-align: center;
|
|
}
|
|
.logo {
|
|
width: 80px; /* Adjust the width as needed */
|
|
}
|
|
table {
|
|
width: 100%;
|
|
border-collapse: separate;
|
|
border-spacing: 0;
|
|
margin-bottom: 20px;
|
|
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
|
|
border-radius: 10px;
|
|
overflow: hidden;
|
|
background-color: #fff;
|
|
}
|
|
th, td {
|
|
padding: 12px;
|
|
text-align: left;
|
|
font-size: 9,5px;
|
|
}
|
|
th {
|
|
background-color: #969276;
|
|
color: #0c0c0c;
|
|
border-bottom: 2px solid #264653;
|
|
}
|
|
td {
|
|
border-bottom: 1px solid #e9ecef;
|
|
}
|
|
tr:last-child td {
|
|
border-bottom: none;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<div class="header">
|
|
{{-- <img src="{{ asset('admin/img/logo/jcc1.jpg') }}" alt="Logo" class="logo"> --}}
|
|
|
|
<div class="identitas">
|
|
<h4>Tabel Laporan Barang Keluar</h4>
|
|
|
|
</div>
|
|
|
|
|
|
</div>
|
|
<table>
|
|
<thead>
|
|
<tr>
|
|
<th>No</th>
|
|
<th scope="col">Nama Customer</th>
|
|
<th scope="col">Kode Barang</th>
|
|
<th scope="col">Nama Kopi</th>
|
|
<th scope="col">Jenis Kopi</th>
|
|
<th scope="col">Harga kopi</th>
|
|
<th scope="col">Jumlah</th>
|
|
<th scope="col">Total harga</th>
|
|
<th scope="col">DP</th>
|
|
{{-- <th scope="col">Sisa Bayar</th> --}}
|
|
<th scope="col">Status Transaksi</th>
|
|
<th scope="col">Status Pembayaran</th>
|
|
<th scope="col">Tanggal Transaksi</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
@foreach($barangkeluar as $barang)
|
|
<tr>
|
|
<td>{{ $loop->iteration }}</td>
|
|
<td>{{ $barang->nama_customer }}</td>
|
|
<td>{{ $barang->kode_keluar }}</td>
|
|
<td>{{ $barang->nama_kopi }}</td>
|
|
<td>{{ $barang->jenis_kopi }}</td>
|
|
<td>@currency ($barang->harga_kopi)</td>
|
|
<td>{{ $barang->jumlah }}</td>
|
|
<td>@currency ($barang->total_harga)</td>
|
|
<td>@currency ($barang->dp)</td>
|
|
{{-- <td>{{ $barang->sisa_bayar }}</td> --}}
|
|
<td>{{ $barang->status_transaksi }}</td>
|
|
<td>{{ $barang->status_pembayaran }}</td>
|
|
<td>{{ $barang->tanggal_transaksi }}</td>
|
|
</tr>
|
|
@endforeach
|
|
</tbody>
|
|
</table>
|
|
</body>
|
|
</html>
|