PluginProbe
Fluent Forms – Customizable Contact Forms, Survey, Quiz, & Conversational Form Builder / 6.2.3
Fluent Forms – Customizable Contact Forms, Survey, Quiz, & Conversational Form Builder v6.2.3
6.2.14 6.2.13 6.2.12 6.2.10 6.2.11 6.2.9 6.2.8 6.2.7 6.2.6 6.2.5 6.2.4 6.2.3 6.2.2 3.6.22 3.6.31 3.6.40 3.6.41 3.6.42 3.6.50 3.6.51 3.6.60 3.6.61 3.6.62 3.6.64 3.6.65 All 196 releases
fluentform / app / Views / receipt / transaction_info.php

transaction_info.php in Fluent Forms – Customizable Contact Forms, Survey, Quiz, & Conversational Form Builder 6.2.3, at app/Views/receipt/transaction_info.php

45 lines 2.1 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 defined('ABSPATH') or die;
4
5 // phpcs:disable WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound -- Template variables in view files
6 ?>
7 <div class="ffp_payment_info">
8 <div class="ffp_payment_info_item ffp_payment_info_item_order_id">
9 <div class="ffp_item_heading"><?php esc_html_e('Transaction #', 'fluentform');?></div>
10 <div class="ffp_item_value">#<?php echo esc_html($transaction->id); ?></div>
11 </div>
12 <div class="ffp_payment_info_item ffp_payment_info_item_date">
13 <div class="ffp_item_heading"><?php esc_html_e('Date:' ,'fluentform');?></div>
14 <div class="ffp_item_value"><?php echo esc_html(date(get_option( 'date_format' ), strtotime($transaction->created_at))); ?></div>
15 </div>
16 <?php if($transaction->payment_method): ?>
17 <div class="ffp_payment_info_item ffp_payment_info_item_payment_method">
18 <div class="ffp_item_heading"><?php esc_html_e('Payment Method:','fluentform');?></div>
19 <div class="ffp_item_value"><?php
20 $method = $transaction->payment_method;
21 $method = apply_filters_deprecated(
22 'fluentform_payment_method_public_name_' . $method,
23 [
24 $method
25 ],
26 FLUENTFORM_FRAMEWORK_UPGRADE,
27 'fluentform/payment_method_public_name_' . $method,
28 'Use fluentform/payment_method_public_name_' . $method . ' instead of fluentform_payment_method_public_name_' . $method
29 );
30 echo esc_html(ucfirst(
31 apply_filters(
32 'fluentform/payment_method_public_name_' . $method,
33 $method
34 )
35 )); ?></div>
36 </div>
37 <?php endif; ?>
38 <?php if($transaction->status): ?>
39 <div class="ffp_payment_info_item ffp_payment_info_item_payment_status">
40 <div class="ffp_item_heading"><?php esc_html_e('Payment Status:','fluentform');?></div>
41 <div class="ffp_item_value"><?php echo esc_html(ucfirst($transaction->status)); ?></div>
42 </div>
43 <?php endif; ?>
44 </div>
45