Server : Apache System : Linux 145.162.205.92.host.secureserver.net 5.14.0-611.45.1.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Apr 1 05:56:53 EDT 2026 x86_64 User : tradze ( 1001) PHP Version : 8.1.34 Disable Function : NONE Directory : /home/tradze/www/storage/framework/views/ |
<?php $__env->startSection('content'); ?>
<?php
$firstOrder = $orders[0];
?>
<div class="clearfix">
<div class="welcome_header detail-box" style="margin-top:10px;">
<div class="heading">Hey, <?php echo e(ucfirst($user->name)); ?></div>
<div class="details">
You have a new booking. This confirmation email includes your booking details which can be found below.
</div>
</div>
</div>
<?php foreach($orders as $order): ?>
<?php
$info = json_decode($firstOrder->orderInfo,true);
?>
<div class="clearfix">
<div class="order_detail detail-box" style="margin-top:10px;">
<div class="heading">Order details</div>
<div class="details">
Booking #: <?php echo e($order->id); ?>
<br>
Booking Date & Time: <?php echo e($order->date_to_human); ?>, at <?php echo e($order->hour_to_human); ?>
<br>
<?php if(isset($info['has_voucher'])): ?>
Voucher campaign: <?php echo e($info['voucher']['name']); ?>
<br>
Code used: <?php echo e($info['voucher']['code']); ?>
<br>
<?php endif; ?>
Directly to service provider <!-- <?php echo e(isset($order->card_trans_id) ? 'with card' : 'with cash'); ?> -->
<br>
Total: £<?php echo e($order->amount); ?>
</div>
</div>
<div class="booking_details detail-box" style="margin-top:10px;">
<div class="heading">Booking details:</div>
<div class="details">
Service Type: <?php echo e($info['treatment']['name']); ?>
<br>
Duration: <?php echo e($info['duration']['duration']); ?>
<br>
Equipment:
<?php if(isset($info['has_table'])): ?>
<?php echo e(trans('general.text_yes')); ?>
<?php else: ?>
<?php echo e(trans('general.text_no')); ?>
<?php endif; ?>
<br>
Travel supplements:
<?php if(isset($info['has_transport'])): ?>
<?php echo e(trans('general.text_yes')); ?>, £<?php echo e($info['transport_cost']); ?>
<?php else: ?>
<?php echo e(trans('general.text_no')); ?>
<?php endif; ?>
</div>
</div>
</div>
<div class="clearfix">
<div class="provider_details detail-box" style="margin-top:10px;">
<div class="heading">Client Information</div>
<div class="details">
<div>Name: <?php echo e($order->user->name); ?></div>
<div>Email: <?php echo e($order->user->email); ?></div>
<div>Phone: <?php echo e($order->user->profile->mobile_phone); ?></div>
</div>
</div>
<div class="booking_locations detail-box" style="margin-top:10px;">
<div class="heading">Booking location</div>
<div class="details">
Address: <?php echo e($order->address); ?>
<br>
Location: <?php echo e($order->location); ?>
<br>
</div>
</div>
</div>
<?php endforeach; ?>
<?php $__env->stopSection(); ?>
<?php echo $__env->make('frontend.layouts.email', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>