File manager - Edit - /home/linknsbh/rassudr.online/storage/framework/views/e1fb17d1575be45f79c8f89d11c04ec7fab76d10.php
Back
<?php $version = $basicInfo->theme_version; ?> <?php $__env->startSection('pageHeading'); ?> <?php echo e(__('Appointment Details')); ?> <?php $__env->stopSection(); ?> <?php $__env->startSection('style'); ?> <?php $__env->stopSection(); ?> <?php $__env->startSection('content'); ?> <?php if ($__env->exists('frontend.partials.breadcrumb', [ 'breadcrumb' => $bgImg->breadcrumb, 'title' => !empty($pageHeading) ? $pageHeading->orders_page_title : __('Appointment Details'), ])) echo $__env->make('frontend.partials.breadcrumb', [ 'breadcrumb' => $bgImg->breadcrumb, 'title' => !empty($pageHeading) ? $pageHeading->orders_page_title : __('Appointment Details'), ], \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?> <!-- Dashboard-area start --> <div class="user-dashboard pt-100 pb-60"> <div class="container"> <div class="row gx-xl-5"> <div class="col-lg-3"> <?php if ($__env->exists('frontend.user.side-navbar')) echo $__env->make('frontend.user.side-navbar', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?> </div> <div class="col-lg-9"> <div class="user-profile-details mb-40"> <div class="order-details radius-md"> <div class="title"> <h4><?php echo e(__('Appointment details')); ?></h4> </div> <div class="view-order-page mb-40"> <div class="order-info-area"> <div class="row align-items-center"> <div class="col-lg-8"> <?php if ($appointment->order_status == 'pending') { $text_color = 'text-waring'; } elseif ($appointment->order_status == 'accepted') { $text_color = 'text-success'; } elseif ($appointment->order_status == 'rejected') { $text_color = 'text-danger'; } ?> <div class="order-info mb-20"> <h6><?php echo e(__('Booking No.')); ?> <?php echo e('#' . $appointment->order_number); ?> <span class="<?php echo e($text_color); ?>"> [<?php echo e(ucfirst(strtolower(__($appointment->order_status)))); ?>] </span> </h6> <p class="m-0"><?php echo e(__('Booking Date')); ?> <?php echo e(\Carbon\Carbon::parse($appointment->created_at)->isoFormat('Do MMMM YYYY')); ?> </p> </div> </div> <?php if(!is_null($appointment->invoice)): ?> <div class="col-lg-4"> <div class="prinit mb-20"> <a href="<?php echo e(asset('assets/file/invoices/service/' . $appointment->invoice)); ?>" download class="btn btn-md radius-sm"><i class="fas fa-print"></i><?php echo e(__('Download Invoice')); ?></a> </div> </div> <?php endif; ?> </div> </div> </div> <div class="billing-add-area mb-10"> <div class="row"> <div class="col-md-6"> <div class="main-info mb-30"> <h5><?php echo e(__('Billing Address')); ?></h5> <ul class="list"> <li><span><?php echo e(__('Name') . ':'); ?></span><?php echo e($appointment->customer_name); ?></li> <li><span><?php echo e(__('Email') . ':'); ?></span><?php echo e($appointment->customer_email); ?></li> <li><span><?php echo e(__('Phone') . ':'); ?></span><?php echo e($appointment->customer_phone); ?></li> <li><span><?php echo e(__('Country') . ':'); ?></span> <?php echo e($appointment->customer_country); ?></li> <li><span><?php echo e(__('Address') . ':'); ?></span> <?php echo e($appointment->customer_address); ?></li> </ul> </div> </div> <div class="col-md-6"> <div class="main-info mb-30"> <h5><?php echo e(__('Payment Information')); ?></h5> <?php if ($appointment->payment_status == 'pending') { $payment_bg = 'bg-warning'; } elseif ($appointment->payment_status = 'completed') { $payment_bg = 'bg-success'; } elseif ($appointment->payment_status = 'rejected') { $payment_bg = 'bg-danger'; } $symbol = $appointment->currency_symbol; $position = $appointment->currency_symbol_position; ?> <ul class="list"> <li> <span><?php echo e(__('Paid Amount') . ':'); ?></span> <?php echo e($position == 'left' ? $symbol : ''); ?><?php echo e(number_format($appointment->customer_paid, 2, '.', ',')); ?><?php echo e($position == 'right' ? $symbol : ''); ?> </li> <li> <span><?php echo e(__('Payment Method') . ':'); ?></span> <?php echo e(__($appointment->payment_method)); ?> </li> <li> <span><?php echo e(__('Payment Status') . ':'); ?></span> <span class="badge <?php echo e($payment_bg); ?>"><?php echo e(__($appointment->payment_status)); ?></span> </li> <li> <?php if ($appointment->order_status == 'pending') { $order_bg = 'bg-warning'; } elseif ($appointment->order_status = 'accepted') { $order_bg = 'bg-success'; } elseif ($appointment->order_status = 'rejected') { $order_bg = 'bg-danger'; } ?> <span><?php echo e(__('Booking Status') . ':'); ?></span> <span class="badge <?php echo e($order_bg); ?>"><?php echo e(__($appointment->order_status)); ?></span> </li> </ul> </div> </div> <div class="col-md-6"> <div class="main-info mb-30"> <h5><?php echo e(__('Booking details')); ?></h5> <?php $content = $appointment->serviceContent->first(); ?> <ul class="list"> <li> <span><?php echo e(__('Service Title') . ': '); ?></span> <?php if($content): ?> <a href="<?php echo e(route('frontend.service.details', ['slug' => $content->slug, 'id' => $appointment->service->id])); ?>" target="_blank"> <?php echo e(truncateString($content->name, 38)); ?> </a> <?php endif; ?> </li> <li> <span><?php echo e(__('Service Address') . ': '); ?></span> <p> <?php if($content): ?> <?php echo e($content->address); ?> <?php endif; ?> </p> </li> <?php if($appointment->zoom_info && $appointment->order_status == 'accepted'): ?> <?php $zoom_link = json_decode($appointment->zoom_info, true); ?> <li> <span><?php echo e(__('Meeting Url') . ':'); ?></span> <p> <a target="_blank" href="<?php echo e($zoom_link['join_url']); ?>"> <?php echo e(truncateString($zoom_link['join_url'], 40)); ?> </a> </p> </li> <li> <span><?php echo e(__('Meeting Passcode') . ':'); ?></span> <p> <?php echo e($zoom_link['password']); ?></p> </li> <?php endif; ?> <li> <span><?php echo e(__('Appointment Date') . ':'); ?></span> <?php echo e(\Carbon\Carbon::parse($appointment->booking_date)->isoFormat('Do MMMM YYYY')); ?> </li> <li> <span><?php echo e(__('Appointment Time') . ':'); ?></span> <p> <?php echo e($appointment->start_date . ' - ' . $appointment->end_date); ?> </p> </li> <li> <span> <?php if($appointment->max_person > 1): ?> <?php echo e(__('Persons') . ':'); ?> <?php else: ?> <?php echo e(__('Person') . ':'); ?> <?php endif; ?> </span> <p> <?php echo e($appointment->max_person); ?> </p> </li> <li> <span><?php echo e(__('Staff Name') . ': '); ?></span> <p> <?php echo e($staff->name ?? $staff->username); ?> </p> </li> <?php if($staff->info_status == 1): ?> <?php if($staff->information): ?> <li> <span class="col-md-4"><?php echo e(__('Staff Information') . ': '); ?></span> <p> <button class="btn btn-info btn-sm" data-bs-toggle="modal" data-bs-target="#staffInfoModal"><?php echo e(__('Show')); ?></button> </p> </li> <?php endif; ?> <?php endif; ?> </ul> </div> </div> <div class="col-md-6"> <div class="main-info mb-30"> <h5><?php echo e(__('Vendor Details')); ?></h5> <ul class="list"> <li><span><?php echo e(__('Name') . ':'); ?></span> <?php if($appointment->vendor_id != 0): ?> <?php echo e(!empty($vendor->name) ? $vendor->name : $vendor->username); ?> <?php else: ?> <?php echo e(!empty($vendor->first_name) ? $vendor->first_name : $vendor->username); ?> <?php endif; ?> </li> <?php if($vendor->show_email_addresss == 1): ?> <li><span><?php echo e(__('Email') . ':'); ?></span><?php echo e($vendor->email); ?></li> <?php endif; ?> <?php if($vendor->show_phone_number == 1 && !empty($vendor->phone)): ?> <li><span><?php echo e(__('Phone') . ':'); ?></span><?php echo e($vendor->phone); ?></li> <?php endif; ?> <?php if(!empty($vendor->country)): ?> <li><span><?php echo e(__('Country') . ':'); ?></span> <?php echo e($vendor->country); ?></li> <?php endif; ?> <?php if(!empty($vendor->address)): ?> <li><span><?php echo e(__('Address') . ':'); ?></span> <?php echo e($vendor->address); ?></li> <?php endif; ?> </ul> </div> </div> </div> </div> </div> </div> </div> </div> </div> </div> <!-- Dashboard-area end --> <!-- staff info modal --> <div class="modal fade" id="staffInfoModal" tabindex="-1" aria-labelledby="exampleModalLabel" aria-hidden="true"> <div class="modal-dialog modal-dialog-centered"> <div class="modal-content"> <div class="modal-header"> <h5 class="modal-title" id="exampleModalLabel"><?php echo e(__('Information')); ?></h5> <button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close">X</button> </div> <div class="modal-body"> <?php $information = explode("\n", $staff->information); ?> <?php if(count($information) > 0): ?> <ul class="list-unstyled"> <?php $__currentLoopData = $information; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $info): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <li><?php echo e($info); ?></li> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </ul> <?php endif; ?> </div> <div class="modal-footer"> <button type="button" class="btn btn-primary" data-bs-dismiss="modal"><?php echo e(__('Close')); ?></button> </div> </div> </div> </div> <?php $__env->stopSection(); ?> <?php echo $__env->make('frontend.layout', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/linknsbh/rassudr.online/resources/views/frontend/user/appointment/details.blade.php ENDPATH**/ ?>
| ver. 1.4 |
Github
|
.
| PHP 8.2.31 | Generation time: 1.1 |
proxy
|
phpinfo
|
Settings