<head>
<title>Cetak Nota Kirim Supplier - {{ env('APP_NAME') }}</title>
<script type="text/javascript">
window.print();
window.onfocus = function() {
window.close();
}
</script>
<style type="text/css">
@font-face {
font-family: "source_sans_proregular";
src: local("Source Sans Pro"), url("fonts/sourcesans/sourcesanspro-regular-webfont.ttf") format("truetype");
font-weight: bold;
font-style: normal;
}
body {
font-family: "source_sans_proregular", Calibri, Candara, Segoe, Segoe UI, Optima, Arial, sans-serif;
}
@keyframes lock-activate-dot {
0% {
transform: scale(0)
}
75% {
transform: scale(1.1)
}
100% {
transform: scale(1)
}
}
.garisatas {
border-top: 1px solid #000;
}
.garisbawah {
border-bottom: 1px dotted #000;
}
.teks {
font-size: 10px;
}
.teks2 {
font-size: 10px;
}
body {
margin: 0px auto 0px;
padding: 3px;
width: 100%;
font-size: 12px;
background-position: top;
color: #333 !important;
}
.table-list {
font-size: 12px;
clear: both;
text-align: left;
border-collapse: collapse;
margin: 0px 0px 12px 0px;
}
.table-tok {
font-size: 12px;
clear: both;
text-align: left;
margin: 0px 0px 12px 0px;
}
.table-list tr:first-child {
color: #333 !important;
font-size: 12px;
border-collapse: collapse;
vertical-align: center;
padding: 15px;
border-bottom: 1px #333 solid;
}
</style>
</head>
<body onLoad="window.print()" style="position: relative;Border:solid;border-color:#F0F3FF"border="1">
{{-- --}}
<!-- Default : width='1560' Last : width='1460' -->
<table style=" margin-top: 0px;margin-bottom:10px; margin-left: 0px;" class="table-tok" width="100%" border="0"
cellspacing="0"cellpadding="10">
<tr>
<td height="87" align="left" style=" width: 1%;white-space: nowrap;">
@if (isset($profil->photo))
<img style="width:150px;object-fit:cover;" src="{{ public_path('images/Logo/' . $profil->photo) }}">
@endif
</td>
<td align="left">
<div class=""style="padding-bottom:20px;">
<h1 style="font-weight:bold; color:purple; margin-bottom:5px;">{{ $profil->nama_toko }}<br /></h1>
<div style="display:inline-block;padding:0px 10px 0px 10px;">
<h3 style="color: #333 ">{{ $profil->alamat }}<br /></h3>
<h3 style="color: #333 ">{{ $profil->kontak }}<br /></h3>
</div>
</div>
</td>
<td align="right" style=" width: 1%;white-space: nowrap;">
<div class="status">
<div
style="background-color:#efefef ;padding-left:20px;padding-right:20px;text-align:center;border-radius:3px;border:solid 2px #777777;">
<h1 style="color: #777777;font-size:16px; text-transform: capitalize;">
{{ str_replace('_', ' ', $data->status_pembayaran) }}
</h1>
</div>
</div>
</td>
</tr>
</table>
<table style="font-size: 10px !important" width="100%">
<tr>
<td colspan="">Tanggal </td>
<td> : </td>
<td colspan="" align="left">{{ $data->created_at->format('d-m-Y') }}</td>
{{-- batas --}}
<td style="min-width: 60px;"></td>
{{-- batas --}}
<td colspan="">
Kompensasi
</td>
<td>:</td>
<td colspan="" align="left" style="text-transform: capitalize;">
{{ str_replace("-"," ",$data->jenis_kompensasi) }}
</td>
</tr>
<tr>
<td colspan="">No.Kirim</td>
<td> : </td>
<td colspan="" align="left">{{ $data->no_kirim }}</td>
{{-- batas --}}
<td style="min-width: 60px;"></td>
{{-- batas --}}
<td colspan="">
Keterangan
</td>
<td>:</td>
<td colspan="" align="left">
{{ $data->ketarangan }}
</td>
</tr>
<tr>
<td colspan="">
<div>Supplier </div>
</td>
<td>:</td>
<td colspan="" align="left">
<div> {{ $data->supplier->nama_supplier }}</div>
</td>
</tr>
<tr>
<td colspan="">
<div>No Telp </div>
</td>
<td>:</td>
<td colspan="" align="left">
<div> {{ $data->supplier->telp_supplier }} </div>
</td>
</tr>
<tr>
<td colspan="">
<div>Alamat </div>
</td>
<td>:</td>
<td colspan="" align="left">
<div> {{ $data->supplier->alamat_supplier }} </div>
</td>
</tr>
</table>
<div style="border-bottom: #000 solid 2px; margin-left: 0px; width: 100%;"> </div>
<table style="margin-left: 0px; padding-top: 15px;" class="table-list" width="100%" border="0" cellspacing="0"
cellpadding="2">
<tr class="teks2">
<td width="50" bgcolor="#F0F3FF">Nama Barang </td>
<td width="50" align="center" bgcolor="#F0F3FF">Qty</td>
<td width="50" align="center" bgcolor="#F0F3FF">Harga Awal</td>
<td width="22" align="center" bgcolor="#F0F3FF">Harga Supplier</td>
<td width="103" align="right" bgcolor="#F0F3FF">Total </strong></td>
</tr>
<!--put foreach here -->
@foreach ($data->detail_kirim_supplier as $detail)
<tr>
<td>
<div class="teks">{{ $detail->item->nama_item }}</div>
</td>
<td align="center">
<div class="teks">{{ $detail->qty }}</div>
</td>
<td align="center">
<div class="teks">Rp.{{ number_format($detail->item->biaya_item) }}</div>
</td>
<td align="center">
<div class="teks">Rp.{{ number_format($detail->biaya_item) }}</div>
</td>
<td align="right">
<div class="teks">Rp.{{ number_format($detail->total) }}</div>
</td>
</tr>
@endforeach
<!-- this is the foreach tail -->
<tr class="garisatas teks2">
<td colspan="2"bgcolor="#F0F3FF"
style="border-bottom: 1px dotted #dddddd;padding-top:10px;padding-bottom:10px;" align="left">Total
Harga : </td>
<td bgcolor="#F0F3FF"></td>
<td colspan="2" style="border-bottom: 1px dotted #dddddd;padding-top:10px;padding-bottom:10px;"
align="right" bgcolor="#F0F3FF">
Rp.{{ number_format($data->total) }}</td>
</tr>
</table>
<table style=" margin-top: 0px; margin-left: 0px;" class="table-tok" width="100%" border="0"
cellspacing="0" cellpadding="2">
<tr>
<td height="87" colspan="5" style=��font-size:10px�� align="center">
<div class="head">
</div>
</td>
</tr>
</table>
</body>
</html>
Anons79 File Manager Version 1.0, Coded By Anons79
Email: [email protected]