Diff: STRATO-apps/wordpress_03/app/wp-content/plugins/fluentform/app/Views/receipt/transaction_info.php
Keine Baseline-Datei – Diff nur gegen leer.
1
-
1
+
<?php
2
+
// phpcs:disable WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound -- Template variables in view files
3
+
?>
4
+
<div class="ffp_payment_info">
5
+
<div class="ffp_payment_info_item ffp_payment_info_item_order_id">
6
+
<div class="ffp_item_heading"><?php esc_html_e('Transaction #', 'fluentform');?></div>
7
+
<div class="ffp_item_value">#<?php echo esc_html($transaction->id); ?></div>
8
+
</div>
9
+
<div class="ffp_payment_info_item ffp_payment_info_item_date">
10
+
<div class="ffp_item_heading"><?php esc_html_e('Date:' ,'fluentform');?></div>
11
+
<div class="ffp_item_value"><?php echo esc_html(date(get_option( 'date_format' ), strtotime($transaction->created_at))); ?></div>
12
+
</div>
13
+
<?php if($transaction->payment_method): ?>
14
+
<div class="ffp_payment_info_item ffp_payment_info_item_payment_method">
15
+
<div class="ffp_item_heading"><?php esc_html_e('Payment Method:','fluentform');?></div>
16
+
<div class="ffp_item_value"><?php
17
+
$method = $transaction->payment_method;
18
+
$method = apply_filters_deprecated(
19
+
'fluentform_payment_method_public_name_' . $method,
20
+
[
21
+
$method
22
+
],
23
+
FLUENTFORM_FRAMEWORK_UPGRADE,
24
+
'fluentform/payment_method_public_name_' . $method,
25
+
'Use fluentform/payment_method_public_name_' . $method . ' instead of fluentform_payment_method_public_name_' . $method
26
+
);
27
+
echo esc_html(ucfirst(
28
+
apply_filters(
29
+
'fluentform/payment_method_public_name_' . $method,
30
+
$method
31
+
)
32
+
)); ?></div>
33
+
</div>
34
+
<?php endif; ?>
35
+
<?php if($transaction->status): ?>
36
+
<div class="ffp_payment_info_item ffp_payment_info_item_payment_status">
37
+
<div class="ffp_item_heading"><?php esc_html_e('Payment Status:','fluentform');?></div>
38
+
<div class="ffp_item_value"><?php echo esc_html(ucfirst($transaction->status)); ?></div>
39
+
</div>
40
+
<?php endif; ?>
41
+
</div>
42
+