9 changed files with 198 additions and 68 deletions
-
123app/Http/Controllers/PaymentsController.php
-
7composer.json
-
48composer.lock
-
2config/app.php
-
1resources/lang/id/payment.php
-
2resources/views/layouts/partials/sidebar.blade.php
-
79resources/views/payments/pdf.blade.php
-
1resources/views/payments/show.blade.php
-
3routes/web/payments.php
@ -0,0 +1,79 @@ |
|||
<!DOCTYPE html> |
|||
<html lang="en"> |
|||
<head> |
|||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> |
|||
<title>{{ trans('payment.print') }}</title> |
|||
<style> |
|||
html { |
|||
margin: 10px 20px 0px 20px; |
|||
} |
|||
table.receipt-table { |
|||
/*border: 1px solid #aaa;*/ |
|||
border-collapse: collapse; |
|||
font-size:14px; |
|||
max-width: 750px; |
|||
} |
|||
table.receipt-table td { |
|||
padding: 5px; |
|||
} |
|||
</style> |
|||
</head> |
|||
<body> |
|||
<table class="receipt-table"> |
|||
<tbody> |
|||
<tr> |
|||
<td style="width:120px;"> |
|||
{{ Html::image(url('assets/imgs/logo.png'), '', ['style' => 'width:100%']) }} |
|||
</td> |
|||
<td style="width:350px"> |
|||
<div style="width:280px"> |
|||
<h4 style="margin:0px; border-bottom: 3px; font-size: 21.5px">JasaWebsiteBanjarmasin.com</h4> |
|||
<div style="font-size:13px">Jasa Pembuatan Website dan Aplikasi Berbasis Web</div> |
|||
<hr style="margin: 2px 0"> |
|||
<div style="font-size:11px"> |
|||
Jln. Pramuka, Gg. Mawar, Rt. 09, No. 60, Kel. Pemurus Luar<br> |
|||
Kec. Banjarmasin Timur, Kota Banjarmasin, |
|||
Kalsel - 70249,<br> |
|||
Telp. 0817 532 654 / 0823 5035 5470 |
|||
</div> |
|||
</div> |
|||
</td> |
|||
<td style="width:250px; text-align: center;"> |
|||
<h3 style="margin: 3px 0; font-size: 24px">Bukti Pembayaran</h3> |
|||
{{-- <p>No. Invoice: __________</p> --}} |
|||
</td> |
|||
</tr> |
|||
<tr> |
|||
<td>Terima Dari : </td> |
|||
<td colspan="2" style="border-bottom: 1px solid #ccc;">{{ $payment->customer->name }}</td> |
|||
</tr> |
|||
<tr style="vertical-align: top;"> |
|||
<td>Uang Sejumlah : </td> |
|||
<td colspan="2" style="border-bottom: 1px solid #ccc;height: 35px"> |
|||
{{ ucwords(Terbilang::make($payment->amount)) }} Rupiah |
|||
</td> |
|||
</tr> |
|||
<tr style="vertical-align: top;"> |
|||
<td>Untuk Pembayaran :</td> |
|||
<td colspan="2" style="border-bottom: 1px solid #ccc;height: 35px"> |
|||
{{ $payment->description }} |
|||
</td> |
|||
</tr> |
|||
<tr> |
|||
<td> </td> |
|||
<td> </td> |
|||
<td style="text-align: center;"> |
|||
Banjarmasin, {{ dateId($payment->date) }} |
|||
</td> |
|||
</tr> |
|||
<tr> |
|||
<td style="font-size: 20px; font-weight: bold; text-align: center;height: 80px;vertical-align: bottom;">Terbilang</td> |
|||
<td style="font-size: 20px; font-weight: bold; vertical-align: bottom;"> |
|||
{{ formatRp($payment->amount) }},- |
|||
</td> |
|||
<td style="text-align: center;vertical-align: bottom; font-weight: bold;">JasaWebsiteBanjarmasin.com</td> |
|||
</tr> |
|||
</tbody> |
|||
</table> |
|||
</body> |
|||
</html> |
|||
Write
Preview
Loading…
Cancel
Save
Reference in new issue