All checks were successful
Deploy preview (main_higashide) / deploy (push) Successful in 11s
132 lines
4.1 KiB
PHP
132 lines
4.1 KiB
PHP
<!DOCTYPE html>
|
||
<html lang="ja">
|
||
|
||
<head>
|
||
<meta charset="UTF-8">
|
||
<style>
|
||
body {
|
||
font-family: 'noto_sans_jp';
|
||
font-size: 12px;
|
||
}
|
||
|
||
.border {
|
||
border: 2px solid #222;
|
||
margin: 0;
|
||
padding: 24px;
|
||
position: relative;
|
||
}
|
||
|
||
.title {
|
||
text-align: center;
|
||
margin: 24px 0 12px 0;
|
||
}
|
||
|
||
.right {
|
||
text-align: right;
|
||
}
|
||
|
||
.table {
|
||
width: 100%;
|
||
border-collapse: collapse;
|
||
margin: 16px 0;
|
||
}
|
||
|
||
.table th,
|
||
.table td {
|
||
border: 1px solid #222;
|
||
padding: 6px 8px;
|
||
}
|
||
|
||
.table td.left {
|
||
text-align: left;
|
||
}
|
||
|
||
.table td.right {
|
||
text-align: right;
|
||
}
|
||
|
||
.stamp {
|
||
float: right;
|
||
margin-top: 8px;
|
||
width: 80px;
|
||
}
|
||
|
||
.company {
|
||
position: absolute;
|
||
right: 0;
|
||
bottom: 0;
|
||
font-size: 12px;
|
||
}
|
||
|
||
.reissue {
|
||
position: absolute;
|
||
top: 16px;
|
||
left: 16px;
|
||
width: 100px;
|
||
height: 40px;
|
||
}
|
||
</style>
|
||
</head>
|
||
|
||
<body>
|
||
<div class="border">
|
||
@if($is_reissue)
|
||
<img src="{{ str_replace('\\', '/', public_path('images/reissue.png')) }}" class="reissue" alt="再発行">
|
||
@endif
|
||
<div class="right">
|
||
No. {{ $inv->seq ?? '' }}<br>
|
||
発行日: {{ !empty($inv->published_at) ? \Carbon\Carbon::parse($inv->published_at)->format('Y年m月d日') : '' }}
|
||
</div>
|
||
<div class="title" style="font-size:20px; font-weight:bold;">領収証</div>
|
||
<div>ID: {{ $contract->contract_id ?? '' }}</div>
|
||
<div><span style="border-bottom:1px solid #222;">{{ $inv->inv_name ?? '' }}</span></div>
|
||
<table class="table">
|
||
<tr>
|
||
<td class="left">契約駐輪場名</td>
|
||
<td class="right">{{ $park_name ?? '' }}</td>
|
||
</tr>
|
||
<tr>
|
||
<td class="left">小計(10%対象)</td>
|
||
<td class="right">
|
||
{{ isset($contract->contract_money) ? number_format(floor($contract->contract_money / 1.1)) : '' }} 円
|
||
</td>
|
||
</tr>
|
||
<tr>
|
||
<td class="left">消費税額(10%)</td>
|
||
<td class="right">
|
||
{{ isset($contract->contract_money) ? number_format($contract->contract_money - floor($contract->contract_money / 1.1)) : '' }} 円
|
||
</td>
|
||
</tr>
|
||
<tr>
|
||
<td class="left">合計</td>
|
||
<td class="right">{{ number_format($contract->contract_money ?? 0) }} 円</td>
|
||
</tr>
|
||
</table>
|
||
<div>
|
||
但し、<span style="border-bottom:1px solid #222;">駐輪場利用料(
|
||
{{ !empty($contract->contract_periods) ? \Carbon\Carbon::parse($contract->contract_periods)->format('Y年m月d日') : '' }}
|
||
~
|
||
{{ !empty($contract->contract_periode) ? \Carbon\Carbon::parse($contract->contract_periode)->format('Y年m月d日') : '' }}
|
||
)</span>として<br>
|
||
上記金額を正に領収いたしました。
|
||
</div>
|
||
<table style="width:100%; margin-top:40px;">
|
||
<tr>
|
||
<td style="width:55%"></td>
|
||
<td>
|
||
<div class="company">
|
||
<span style="font-size:20px; font-weight:bold;">株式会社ソーリン</span><br>
|
||
〒121-0073<br>
|
||
東京都足立区六町四丁目12-25<br>
|
||
適格事業者番号:{{ $t_number }}<br>
|
||
TEL:03-5856-4647<br>
|
||
FAX:03-5856-4648<br>
|
||
</div>
|
||
</td>
|
||
<td><img src="{{ str_replace('\\', '/', public_path('images/hanko.png')) }}" class="stamp"></td>
|
||
</tr>
|
||
</table>
|
||
</div>
|
||
</body>
|
||
|
||
</html> |