fix ticket view

This commit is contained in:
merdiano 2019-12-18 15:11:29 +05:00
parent c876cda641
commit d4a5beb402
1 changed files with 30 additions and 1 deletions

View File

@ -51,8 +51,37 @@
</style>
</head>
<body style="background-color: #FFFFFF; font-family: Arial, Helvetica, sans-serif;">
<body style="background-color: #FFFFFF; font-family: Arial, Helvetica, sans-serif; padding-top: 20px">
<div class="container">
<div class="row">
<table border="1" style="width: 700px; margin: auto">
<tr>
<td rowspan="2" style="width: 25%; padding: 20px; vertical-align: top; position: relative">
<div style="background-color: #9dc1d3; width: 100%; padding-top: 100%"></div>
<span style="position: absolute; display: block; bottom: 20px; width: calc(100% - 40px); background-color: #FF2C00; height: 30px"></span>
</td>
<td style="width: 45%; padding: 20px; vertical-align: top">
<span class="text-muted">Номер билета</span>
<h2 style="margin-top: 5px; margin-bottom: 0">XNMIG2711-1</h2>
</td>
<td rowspan="2" style="width: 30%; padding: 20px; vertical-align: top">
<p><b>Lorem ipsum dolor sit amet.</b> <span class="text-muted">Lorem ipsum dolor sit amet, consectetur adipisicing elit. Adipisci facere hic id minus non omnis porro provident repellat sunt voluptatibus!</span></p>
</td>
</tr>
<tr>
<td style="padding: 20px; vertical-align: top">
<p style="margin-bottom: 5px !important;"><span class="text-muted">Мероприятие:</span> <b>Веном</b></p>
<p style="margin-bottom: 5px !important;"><span class="text-muted">Организатор:</span> <b>"Berkarar" cinema</b></p>
<p style="margin-bottom: 5px !important;"><span class="text-muted">Дата и время:</span> <b>25-12-2019, 20-16</b></p>
<p style="margin-bottom: 5px !important;"><span class="text-muted">ФИО:</span> <b>Кирпа Михаил</b></p>
<p style="margin-bottom: 5px !important;"><span class="text-muted">Тип билета:</span> <b>Стандартный</b></p>
<p style="margin-bottom: 5px !important;"><span class="text-muted">Место:</span> <b>8 ряд, 6 место</b></p>
<p style="margin-bottom: 5px !important;"><span class="text-muted">Стоимость билета:</span> <b>60 манат</b></p>
</td>
</tr>
</table>
</div>
@foreach($attendees as $attendee)
@if(!$attendee->is_cancelled)
<div class="ticket">