view order page for mobile

This commit is contained in:
merdan 2020-03-30 22:19:50 +05:00
parent bedc63a357
commit 547f941887
4 changed files with 22 additions and 21 deletions

View File

@ -84,7 +84,7 @@
<tr>
<td class="meta">
@if($message->sent_at!=null) <?php /* Can occur when there was mailing error*/ ?>
<p class="date">{{$message->sent_at->format(env("DEFAULT_DATETIME_FORMAT"))}}</p>
<p class="date">{{$message->sent_at->format(config('attendize.default_datetime_format'))}}</p>
@else
<p class="date">@lang("Message.unsent")</p>
@endif

View File

@ -41,11 +41,11 @@
<td>{{{$attendee->email}}}</td>
<td>{{{$attendee->ticket->title}}}</td>
<td>{{{$attendee->order->order_reference}}}</td>
<td>{{$attendee->created_at->format(env("DEFAULT_DATETIME_FORMAT"))}}</td>
<td>{{$attendee->created_at->format(config('attendize.default_datetime_format'))}}</td>
<td><input type="checkbox" style="border: 1px solid #000; height: 15px; width: 15px;" /></td>
</tr>
@endforeach
</tbody>
</table>
</body>
</html>
</html>

View File

@ -14,7 +14,7 @@
</head>
<body style="background-color: #0b011d; color: white;">
<body style="background-color: #1d1d26; color: white;">
<main>
@ -22,47 +22,48 @@
<div class="row">
<div class="col-12 order_header mt-5">
<h4>@lang("Public_ViewEvent.thank_you_for_your_order")</h4>
<h5>
<h5>@lang("Public_ViewEvent.thank_you_for_your_order")</h5>
<p class="mt-3">
@lang("Public_ViewEvent.mobile_tickets_sent_email")
</h5>
</p>
</div>
</div>
<div class="row">
@if($event->post_order_display_message)
<div class="row mt-3">
<div class="col-12">
@if($event->post_order_display_message)
<div class="alert alert-dismissable alert-info">
{{ nl2br(e($event->post_order_display_message)) }}
</div>
@endif
</div>
</div>
<div class="row mt-5">
@endif
<div class="row mt-3">
<div class="col-6">
<b>@lang("Attendee.first_name")</b><br> {{$order->first_name}}
<b>@lang("Attendee.first_name")</b><br> <small>{{$order->first_name}}</small>
</div>
<div class="col-6">
<b>@lang("Attendee.last_name")</b><br> {{$order->last_name}}
<b>@lang("Attendee.last_name")</b><br> <small>{{$order->last_name}}</small>
</div>
</div>
<div class="row mt-5">
<div class="row mt-3">
<div class="col-6">
<b>@lang("Public_ViewEvent.reference")</b><br> {{$order->order_reference}}
<b>@lang("Public_ViewEvent.reference")</b><br> <small>{{$order->order_reference}}</small>
</div>
<div class="col-6">
<b>@lang("Public_ViewEvent.amount")</b><br> {{number_format($order->total_amount, 2)}} man.
<b>@lang("Public_ViewEvent.amount")</b><br> <small>{{number_format($order->total_amount, 2)}} man.</small>
</div>
</div>
<div class="row mt-5">
<div class="row mt-3">
<div class="col-6">
<b>@lang("Public_ViewEvent.date")</b><br> {{$order->created_at->toDateTimeString()}}
<b>@lang("Public_ViewEvent.date")</b><br> <small>{{$order->created_at->format(config('attendize.default_datetime_format'))}}</small>
</div>
<div class="col-6">
<b>@lang("Public_ViewEvent.email")</b><br> {{$order->email}}
<b>@lang("Public_ViewEvent.email")</b><br> <small>{{$order->email}}</small>
</div>
</div>
</section>

View File

@ -15,7 +15,7 @@
<h3>Информация о заказе</h3>
Код заказа: <b>{{$order->order_reference}}</b><br>
Имя покупателя: <b>{{$order->full_name}}</b><br>
Дата заказа: <b>{{$order->created_at->format('d-m-Y H:i')}}</b><br>
Дата заказа: <b>{{$order->created_at->format(config('attendize.default_datetime_format'))}}</b><br>
Электронная почта покупателя: <b>{{$order->email}}</b><br>
{{--<a href="{!! route('downloadCalendarIcs', ['event_id' => $order->event->id]) !!}">Добавить в календарь</a>--}}
<h3>Подробности заказа</h3>