migration
This commit is contained in:
19
resources/views/invoices/template.blade.php
Normal file
19
resources/views/invoices/template.blade.php
Normal file
@@ -0,0 +1,19 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>Счёт №{{ $invoice->id }}</title>
|
||||
</head>
|
||||
<body>
|
||||
<h1>Счёт №{{ $invoice->id }}</h1>
|
||||
<p>Дата выписки: {{ $invoice->issued_at->format('d.m.Y') }}</p>
|
||||
<p>Срок оплаты: {{ $invoice->due_date->format('d.m.Y') }}</p>
|
||||
|
||||
<h2>Бронирование</h2>
|
||||
<p>Гость: {{ $booking->guest_name }}</p>
|
||||
<p>Тип номера: {{ $roomType->name }}</p>
|
||||
<p>Даты: {{ $booking->check_in }} — {{ $booking->check_out }}</p>
|
||||
|
||||
<h2>Сумма</h2>
|
||||
<p>{{ number_format($invoice->amount, 2, ',', ' ') }} ₽</p>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user