PluginProbe
Fluent Booking – The Ultimate Appointments Scheduling, Events Booking, Events Calendar Solution / 1.5.22
Fluent Booking – The Ultimate Appointments Scheduling, Events Booking, Events Calendar Solution v1.5.22
2.4.0 2.3.0 2.2.5 2.2.0 2.1.2 2.1.1 trunk 1.10.0 1.10.01 1.10.02 1.5.0 1.5.01 1.5.02 1.5.1 1.5.10 1.5.20 1.5.21 1.5.22 1.5.23 1.5.24 1.5.25 1.6.0 1.7.0 1.7.1 1.7.2 All 33 releases
fluent-booking / app / Views / public / receipt / payment-info.php

payment-info.php in Fluent Booking – The Ultimate Appointments Scheduling, Events Booking, Events Calendar Solution 1.5.22, at app/Views/public/receipt/payment-info.php

56 lines 3.2 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php defined( 'ABSPATH' ) || exit; ?>
2
3 <div class="fluent_booking_payment_info">
4 <table width="100%">
5 <tbody>
6 <tr>
7 <td>
8 <div class="fluent_booking_payment_info_item fluent_booking_payment_info_item_order_id">
9 <?php if ($order->items) : ?>
10 <div class="fluent_booking_item_heading"><?php esc_html_e('Order ID:', 'fluent-booking'); ?></div>
11 <?php else : ?>
12 <div class="fluent_booking_item_heading"><?php esc_html_e('Submission ID:', 'fluent-booking'); ?></div>
13 <?php endif; ?>
14 <div class="fluent_booking_item_value">#<?php echo esc_attr($order->id); ?></div>
15 </div>
16 </td>
17 <td>
18 <div class="fluent_booking_payment_info_item fluent_booking_payment_info_item_date">
19 <div class="fluent_booking_item_heading"><?php esc_html_e('Date:', 'fluent-booking'); ?></div>
20 <div class="fluent_booking_item_value"><?php echo esc_attr(gmdate(get_option('date_format'), strtotime($order->created_at))); ?></div>
21 </div>
22 </td>
23 <?php if ($order->total_amount) : ?>
24 <?php
25 $currencySetting['currency_sign'] = \FluentBooking\App\Services\CurrenciesHelper::getCurrencySign($order->currency);
26 ?>
27 <td>
28 <div class="fluent_booking_payment_info_item fluent_booking_payment_info_item_total">
29 <div class="fluent_booking_item_heading"><?php esc_html_e('Total:', 'fluent-booking'); ?></div>
30 <div class="fluent_booking_item_value"><?php echo ($order->total_amount > 0) ? esc_attr(fluentbookingFormattedAmount($order->total_amount, $currencySetting)) : 'pending'; ?></div>
31 </div>
32 </td>
33 <?php endif; ?>
34 <?php if ($order->payment_method) : ?>
35 <td>
36 <div class="fluent_booking_payment_info_item fluent_booking_payment_info_item_payment_method">
37 <div class="fluent_booking_item_heading"><?php esc_html_e('Payment Method:', 'fluent-booking'); ?></div>
38 <div class="fluent_booking_item_value"><?php echo esc_attr(ucfirst($order->payment_method)); ?></div>
39 </div>
40 </td>
41 <?php endif; ?>
42 <?php if ($order->status && $order->items) : ?>
43 <td>
44 <div class="fluent_booking_payment_info_item fluent_booking_payment_info_item_payment_status">
45 <div class="fluent_booking_item_heading"><?php esc_html_e('Payment Status:', 'fluent-booking'); ?></div>
46 <div class="fluent_booking_item_value"><?php echo esc_attr(ucfirst($order->status)); ?></div>
47 </div>
48 </td>
49 <?php endif; ?>
50 </tr>
51 </tbody>
52 </table>
53 </div>
54
55
56