@@ -31,8 +31,8 @@ discard block |
||
31 | 31 | protected function _set_tips_array() { |
32 | 32 | $this->_qtipsa = array( |
33 | 33 | 0 => array( |
34 | - 'content_id' => 'transaction-status-' . EEM_Transaction::overpaid_status_code, |
|
35 | - 'target' => '.txn-status-' . EEM_Transaction::overpaid_status_code, |
|
34 | + 'content_id' => 'transaction-status-'.EEM_Transaction::overpaid_status_code, |
|
35 | + 'target' => '.txn-status-'.EEM_Transaction::overpaid_status_code, |
|
36 | 36 | 'content' => $this->_transaction_status_legend(EEM_Transaction::overpaid_status_code), |
37 | 37 | 'options' => array( |
38 | 38 | 'position' => array( |
@@ -41,8 +41,8 @@ discard block |
||
41 | 41 | ) |
42 | 42 | ), |
43 | 43 | 1 => array( |
44 | - 'content_id' => 'transaction-status-' . EEM_Transaction::complete_status_code, |
|
45 | - 'target' => '.txn-status-' . EEM_Transaction::complete_status_code, |
|
44 | + 'content_id' => 'transaction-status-'.EEM_Transaction::complete_status_code, |
|
45 | + 'target' => '.txn-status-'.EEM_Transaction::complete_status_code, |
|
46 | 46 | 'content' => $this->_transaction_status_legend(EEM_Transaction::complete_status_code), |
47 | 47 | 'options' => array( |
48 | 48 | 'position' => array( |
@@ -51,8 +51,8 @@ discard block |
||
51 | 51 | ) |
52 | 52 | ), |
53 | 53 | 2 => array( |
54 | - 'content_id' => 'transaction-status-' . EEM_Transaction::incomplete_status_code, |
|
55 | - 'target' => '.txn-status-' . EEM_Transaction::incomplete_status_code, |
|
54 | + 'content_id' => 'transaction-status-'.EEM_Transaction::incomplete_status_code, |
|
55 | + 'target' => '.txn-status-'.EEM_Transaction::incomplete_status_code, |
|
56 | 56 | 'content' => $this->_transaction_status_legend(EEM_Transaction::incomplete_status_code), |
57 | 57 | 'options' => array( |
58 | 58 | 'position' => array( |
@@ -61,8 +61,8 @@ discard block |
||
61 | 61 | ) |
62 | 62 | ), |
63 | 63 | 3 => array( |
64 | - 'content_id' => 'transaction-status-' . EEM_Transaction::failed_status_code, |
|
65 | - 'target' => '.txn-status-' . EEM_Transaction::failed_status_code, |
|
64 | + 'content_id' => 'transaction-status-'.EEM_Transaction::failed_status_code, |
|
65 | + 'target' => '.txn-status-'.EEM_Transaction::failed_status_code, |
|
66 | 66 | 'content' => $this->_transaction_status_legend(EEM_Transaction::failed_status_code), |
67 | 67 | 'options' => array( |
68 | 68 | 'position' => array( |
@@ -83,7 +83,7 @@ discard block |
||
83 | 83 | * @param EEM_Transaction constant $status What status is set (by class) |
84 | 84 | * @return string The status legend with the related status highlighted |
85 | 85 | */ |
86 | - private function _transaction_status_legend( $status ) { |
|
86 | + private function _transaction_status_legend($status) { |
|
87 | 87 | |
88 | 88 | $status_array = array( |
89 | 89 | 'overpaid' => EEM_Transaction::overpaid_status_code, |
@@ -92,6 +92,6 @@ discard block |
||
92 | 92 | 'failed' => EEM_Transaction::failed_status_code, |
93 | 93 | ); |
94 | 94 | |
95 | - return EEH_Template::status_legend( $status_array, $status ); |
|
95 | + return EEH_Template::status_legend($status_array, $status); |
|
96 | 96 | } |
97 | 97 | } |
98 | 98 | \ No newline at end of file |
@@ -1,19 +1,19 @@ |
||
1 | 1 | |
2 | - <h3 style="padding:0;margin:-.5em 0 1em;"><?php echo $previous_transaction . ' '; echo __( 'Transaction # ', 'event_espresso' ) . $txn_nmbr['value']; echo ' ' . $next_transaction; ?></h3> |
|
3 | - <h2 id="txn-date-h2" style="padding:0;margin:0 0 1em;"><?php echo $txn_datetime['value'];?></h2> |
|
2 | + <h3 style="padding:0;margin:-.5em 0 1em;"><?php echo $previous_transaction.' '; echo __('Transaction # ', 'event_espresso').$txn_nmbr['value']; echo ' '.$next_transaction; ?></h3> |
|
3 | + <h2 id="txn-date-h2" style="padding:0;margin:0 0 1em;"><?php echo $txn_datetime['value']; ?></h2> |
|
4 | 4 | |
5 | 5 | <?php echo $send_payment_reminder_button; ?> |
6 | 6 | <h2 id="txn-status-h2" style="padding:0;margin:0 0 1em;"> |
7 | - <?php echo __( 'Transaction Status: ', 'event_espresso' );?><span id="txn-status" class="<?php echo $txn_status['class'];?>"><?php echo $txn_status['value'];?></span> |
|
7 | + <?php echo __('Transaction Status: ', 'event_espresso'); ?><span id="txn-status" class="<?php echo $txn_status['class']; ?>"><?php echo $txn_status['value']; ?></span> |
|
8 | 8 | </h2> |
9 | 9 | |
10 | 10 | <?php $attributes = $amount_due ? 'style="padding:0;margin:0 0 1em;"' : 'class="hidden" style="padding:0;margin:0 0 1em;"'; ?> |
11 | 11 | <h2 id="txn-amount-due-h2" <?php echo $attributes; ?>> |
12 | - <?php echo __( 'Total Amount Due: ', 'event_espresso' );?><span id="txn-admin-total-amount-due" class="<?php echo $amount_due_class;?>"><?php echo $amount_due;?></span> |
|
12 | + <?php echo __('Total Amount Due: ', 'event_espresso'); ?><span id="txn-admin-total-amount-due" class="<?php echo $amount_due_class; ?>"><?php echo $amount_due; ?></span> |
|
13 | 13 | </h2> |
14 | 14 | |
15 | 15 | <h3 id="txn-selected-method-of-payment-h3" style="padding:0;margin:0 0 1em;"> |
16 | - <?php echo __( 'Last Method of Payment: ', 'event_espresso' );?><?php echo $method_of_payment_name;?> |
|
16 | + <?php echo __('Last Method of Payment: ', 'event_espresso'); ?><?php echo $method_of_payment_name; ?> |
|
17 | 17 | </h3> |
18 | 18 | |
19 | 19 |
@@ -5,25 +5,25 @@ |
||
5 | 5 | <table class="admin-primary-mbox-tbl"> |
6 | 6 | <thead> |
7 | 7 | <tr> |
8 | - <th class="jst-left"><?php _e( '#', 'event_espresso' );?></th> |
|
9 | - <th class="jst-left"><?php _e( 'Event Name and Ticket', 'event_espresso' );?></th> |
|
10 | - <th class="jst-left"><?php _e( 'Registrant', 'event_espresso' );?></th> |
|
11 | - <th class="jst-rght"><?php _e( 'Ticket Price', 'event_espresso' );?></th> |
|
12 | - <th class="jst-left"><?php _e( 'Email', 'event_espresso' );?></th> |
|
13 | - <th class="jst-left"><?php _e( 'Address', 'event_espresso' );?></th> |
|
8 | + <th class="jst-left"><?php _e('#', 'event_espresso'); ?></th> |
|
9 | + <th class="jst-left"><?php _e('Event Name and Ticket', 'event_espresso'); ?></th> |
|
10 | + <th class="jst-left"><?php _e('Registrant', 'event_espresso'); ?></th> |
|
11 | + <th class="jst-rght"><?php _e('Ticket Price', 'event_espresso'); ?></th> |
|
12 | + <th class="jst-left"><?php _e('Email', 'event_espresso'); ?></th> |
|
13 | + <th class="jst-left"><?php _e('Address', 'event_espresso'); ?></th> |
|
14 | 14 | </tr> |
15 | 15 | </thead> |
16 | 16 | <tbody> |
17 | - <?php if ( isset( $event_attendees ) && is_array( $event_attendees )) : ?> |
|
18 | - <?php foreach ( $event_attendees as $registration => $attendee ) : ?> |
|
17 | + <?php if (isset($event_attendees) && is_array($event_attendees)) : ?> |
|
18 | + <?php foreach ($event_attendees as $registration => $attendee) : ?> |
|
19 | 19 | <tr> |
20 | - <td class="jst-left"><?php echo $attendee['att_num'];?></td> |
|
21 | - <td class="jst-left"><?php echo $attendee['event_ticket_name'];?></td> |
|
20 | + <td class="jst-left"><?php echo $attendee['att_num']; ?></td> |
|
21 | + <td class="jst-left"><?php echo $attendee['event_ticket_name']; ?></td> |
|
22 | 22 | <td class="jst-left"> |
23 | 23 | <?php |
24 | - $att_link = EE_Admin_Page::add_query_args_and_nonce( array( 'action'=>'view_registration', '_REG_ID'=>$registration), REG_ADMIN_URL ); |
|
24 | + $att_link = EE_Admin_Page::add_query_args_and_nonce(array('action'=>'view_registration', '_REG_ID'=>$registration), REG_ADMIN_URL); |
|
25 | 25 | ?> |
26 | - <a href="<?php echo $att_link; ?>" title="<?php _e( 'View details for this registrant', 'event_espresso' );?>"> |
|
26 | + <a href="<?php echo $att_link; ?>" title="<?php _e('View details for this registrant', 'event_espresso'); ?>"> |
|
27 | 27 | <?php echo $attendee['attendee']?> |
28 | 28 | </a> |
29 | 29 | </td> |
@@ -141,10 +141,13 @@ |
||
141 | 141 | <th class=" jst-rght" colspan="10"><span id="payments-total-spn"><?php echo $overpaid . sprintf( __( 'Payments Total %s', 'event_espresso' ), '(' . EE_Registry::instance()->CFG->currency->code . ')' );?></span></th> |
142 | 142 | <th class=" jst-rght"><span id="txn-admin-payment-total"><?php echo EEH_Template::format_currency($payment_total, FALSE, FALSE);?></span></th> |
143 | 143 | </tr> |
144 | - <?php else : ?> |
|
144 | + <?php else { |
|
145 | + : ?> |
|
145 | 146 | <tr id="txn-admin-no-payments-tr" class="admin-primary-mbox-total-tr"> |
146 | 147 | <td class=" jst-rght" colspan="11"> |
147 | - <span class="important-notice"><?php _e( 'No payments have been applied to this transaction yet. Click "Apply Payment" below to make a payment.', 'event_espresso' ); ?></span> |
|
148 | + <span class="important-notice"><?php _e( 'No payments have been applied to this transaction yet. Click "Apply Payment" below to make a payment.', 'event_espresso' ); |
|
149 | +} |
|
150 | +?></span> |
|
148 | 151 | </td> |
149 | 152 | </tr> |
150 | 153 | <tr id="txn-admin-payments-total-tr" class="admin-primary-mbox-total-tr hidden"> |
@@ -1,48 +1,48 @@ discard block |
||
1 | 1 | <div id="admin-primary-mbox-dv" class="admin-primary-mbox-dv"> |
2 | 2 | |
3 | 3 | <h4 class="admin-primary-mbox-h4 hdr-has-icon"> |
4 | - <span class="dashicons dashicons-cart"></span><?php _e( 'Transaction Items', 'event_espresso' );?> |
|
4 | + <span class="dashicons dashicons-cart"></span><?php _e('Transaction Items', 'event_espresso'); ?> |
|
5 | 5 | </h4> |
6 | 6 | |
7 | 7 | <div class="admin-primary-mbox-tbl-wrap"> |
8 | 8 | <table class="admin-primary-mbox-tbl"> |
9 | 9 | <thead> |
10 | 10 | <tr> |
11 | - <th class="jst-left"><?php _e( 'Line Item ID', 'event_espresso' );?></th> |
|
12 | - <th class="jst-left"><?php _e( 'Event Name', 'event_espresso' );?></th> |
|
13 | - <th class="jst-left"><?php _e( 'Ticket Option', 'event_espresso' );?></th> |
|
14 | - <th class="jst-cntr"><?php _e( 'Ticket Price', 'event_espresso' );?></th> |
|
15 | - <th class="jst-cntr"><?php _e( 'Qty', 'event_espresso' );?></th> |
|
16 | - <th class="jst-cntr"><?php _e( 'Line Total', 'event_espresso' );?></th> |
|
11 | + <th class="jst-left"><?php _e('Line Item ID', 'event_espresso'); ?></th> |
|
12 | + <th class="jst-left"><?php _e('Event Name', 'event_espresso'); ?></th> |
|
13 | + <th class="jst-left"><?php _e('Ticket Option', 'event_espresso'); ?></th> |
|
14 | + <th class="jst-cntr"><?php _e('Ticket Price', 'event_espresso'); ?></th> |
|
15 | + <th class="jst-cntr"><?php _e('Qty', 'event_espresso'); ?></th> |
|
16 | + <th class="jst-cntr"><?php _e('Line Total', 'event_espresso'); ?></th> |
|
17 | 17 | </tr> |
18 | 18 | </thead> |
19 | 19 | <tbody> |
20 | - <?php foreach ( $line_items as $item ) : ?> |
|
20 | + <?php foreach ($line_items as $item) : ?> |
|
21 | 21 | <?php |
22 | 22 | $event = $item->ticket_event(); |
23 | 23 | $event_name = $item->ticket_event_name(); |
24 | - $event_link = $event instanceof EE_Event ? '<a href="' . EE_Admin_Page::add_query_args_and_nonce( array( 'action' => 'default', 'EVT_ID' => $event->ID() ), TXN_ADMIN_URL ) . '">' . $event_name . '</a>' : $event_name; |
|
24 | + $event_link = $event instanceof EE_Event ? '<a href="'.EE_Admin_Page::add_query_args_and_nonce(array('action' => 'default', 'EVT_ID' => $event->ID()), TXN_ADMIN_URL).'">'.$event_name.'</a>' : $event_name; |
|
25 | 25 | ?> |
26 | 26 | <tr> |
27 | - <td class="jst-left"><?php echo $item->get('LIN_code');?></td> |
|
28 | - <td class="jst-left"><?php echo $event_link;?></td> |
|
29 | - <td class="jst-left"><?php echo $item->get('LIN_name');?></td> |
|
30 | - <td class="jst-rght"><?php echo EEH_Template::format_currency($item->get('LIN_unit_price'), FALSE, FALSE ); ?></td> |
|
31 | - <td class="jst-rght"><?php echo $item->get('LIN_quantity');?></td> |
|
32 | - <td class="jst-rght"><?php echo EEH_Template::format_currency($item->get('LIN_total'), FALSE, FALSE ); ?></td> |
|
27 | + <td class="jst-left"><?php echo $item->get('LIN_code'); ?></td> |
|
28 | + <td class="jst-left"><?php echo $event_link; ?></td> |
|
29 | + <td class="jst-left"><?php echo $item->get('LIN_name'); ?></td> |
|
30 | + <td class="jst-rght"><?php echo EEH_Template::format_currency($item->get('LIN_unit_price'), FALSE, FALSE); ?></td> |
|
31 | + <td class="jst-rght"><?php echo $item->get('LIN_quantity'); ?></td> |
|
32 | + <td class="jst-rght"><?php echo EEH_Template::format_currency($item->get('LIN_total'), FALSE, FALSE); ?></td> |
|
33 | 33 | </tr> |
34 | 34 | <?php endforeach; // $items?> |
35 | - <?php if ( is_array($taxes) ) : ?> |
|
36 | - <?php foreach ( $taxes as $tax ) : ?> |
|
35 | + <?php if (is_array($taxes)) : ?> |
|
36 | + <?php foreach ($taxes as $tax) : ?> |
|
37 | 37 | <tr class="admin-primary-mbox-taxes-tr"> |
38 | - <th class=" jst-rght" colspan="5"><?php echo $tax->get('LIN_name');?> (<?php echo $tax->get_pretty('LIN_percent'); ?>%)</th> |
|
39 | - <th class=" jst-rght"><?php echo EEH_Template::format_currency($tax->get('LIN_total'), FALSE, FALSE );?></th> |
|
38 | + <th class=" jst-rght" colspan="5"><?php echo $tax->get('LIN_name'); ?> (<?php echo $tax->get_pretty('LIN_percent'); ?>%)</th> |
|
39 | + <th class=" jst-rght"><?php echo EEH_Template::format_currency($tax->get('LIN_total'), FALSE, FALSE); ?></th> |
|
40 | 40 | </tr> |
41 | 41 | <?php endforeach; // $taxes?> |
42 | 42 | <?php endif; // $taxes?> |
43 | 43 | <tr class="admin-primary-mbox-total-tr"> |
44 | - <th class=" jst-rght" colspan="5"><?php printf( __( 'Transaction Total %s', 'event_espresso' ), '(' . EE_Registry::instance()->CFG->currency->code . ')');?></th> |
|
45 | - <th class=" jst-rght"><?php echo $grand_total;?></th> |
|
44 | + <th class=" jst-rght" colspan="5"><?php printf(__('Transaction Total %s', 'event_espresso'), '('.EE_Registry::instance()->CFG->currency->code.')'); ?></th> |
|
45 | + <th class=" jst-rght"><?php echo $grand_total; ?></th> |
|
46 | 46 | </tr> |
47 | 47 | </tbody> |
48 | 48 | </table> |
@@ -50,27 +50,27 @@ discard block |
||
50 | 50 | </div> |
51 | 51 | |
52 | 52 | <a id="display-additional-transaction-session-info" class="display-the-hidden smaller-text" rel="additional-transaction-session-info"> |
53 | - <span class="dashicons dashicons-plus-alt"></span><?php _e( 'view additional transaction session details', 'event_espresso' );?> |
|
53 | + <span class="dashicons dashicons-plus-alt"></span><?php _e('view additional transaction session details', 'event_espresso'); ?> |
|
54 | 54 | </a> |
55 | 55 | |
56 | 56 | <div id="additional-transaction-session-info-dv" class="hidden"> |
57 | 57 | |
58 | 58 | <a id="hide-additional-transaction-session-info" class="hide-the-displayed hidden smaller-text" rel="additional-transaction-session-info"> |
59 | - <span class="dashicons dashicons-dismiss"></span><?php _e( 'hide additional transaction session details', 'event_espresso' );?> |
|
59 | + <span class="dashicons dashicons-dismiss"></span><?php _e('hide additional transaction session details', 'event_espresso'); ?> |
|
60 | 60 | </a> |
61 | 61 | <br class="clear"/> |
62 | 62 | |
63 | - <h4 class="admin-primary-mbox-h4"><?php _e( 'Transaction Session Details', 'event_espresso' );?></h4> |
|
63 | + <h4 class="admin-primary-mbox-h4"><?php _e('Transaction Session Details', 'event_espresso'); ?></h4> |
|
64 | 64 | |
65 | 65 | <table id="admin-primary-mbox-txn-extra-session-info-tbl" class="form-table skinny-rows"> |
66 | 66 | <tbody> |
67 | - <?php foreach ( $txn_details as $key => $txn_detail ) : ?> |
|
67 | + <?php foreach ($txn_details as $key => $txn_detail) : ?> |
|
68 | 68 | <tr> |
69 | 69 | <th> |
70 | - <label for="<?php echo $key;?>"><?php echo $txn_detail['label'];?></label> |
|
70 | + <label for="<?php echo $key; ?>"><?php echo $txn_detail['label']; ?></label> |
|
71 | 71 | </th> |
72 | 72 | <td> |
73 | - <?php echo $txn_detail['value'];?> |
|
73 | + <?php echo $txn_detail['value']; ?> |
|
74 | 74 | </td> |
75 | 75 | </tr> |
76 | 76 | <?php endforeach; // $txn_details?> |
@@ -80,10 +80,10 @@ discard block |
||
80 | 80 | <br class="clear"/> |
81 | 81 | |
82 | 82 | |
83 | - <?php if ( $attendee instanceof EE_Attendee && ( $grand_raw_total > 0 || $TXN_status != 'TCM' ) ) : ?> |
|
83 | + <?php if ($attendee instanceof EE_Attendee && ($grand_raw_total > 0 || $TXN_status != 'TCM')) : ?> |
|
84 | 84 | |
85 | 85 | <h4 class="admin-primary-mbox-h4 hdr-has-icon"> |
86 | - <span class="ee-icon ee-icon-cash"></span><?php _e( 'Payment Details', 'event_espresso' );?> |
|
86 | + <span class="ee-icon ee-icon-cash"></span><?php _e('Payment Details', 'event_espresso'); ?> |
|
87 | 87 | </h4> |
88 | 88 | |
89 | 89 | <div class="admin-primary-mbox-tbl-wrap"> |
@@ -92,75 +92,75 @@ discard block |
||
92 | 92 | <tr> |
93 | 93 | <th></th> |
94 | 94 | <th class="jst-cntr"></th> |
95 | - <th class="jst-cntr"><?php _e( 'ID', 'event_espresso' );?></th> |
|
96 | - <th class="jst-left"><?php _e( 'Date', 'event_espresso' );?></th> |
|
97 | - <th class="jst-cntr"><?php _e( 'Source', 'event_espresso' );?></th> |
|
98 | - <th class="jst-left"><?php _e( 'Method', 'event_espresso' );?></th> |
|
99 | - <th class="jst-left"><?php _e( 'Gateway Response', 'event_espresso' );?></th> |
|
100 | - <th class="jst-left"><?php _e( 'TXN ID / CHQ #', 'event_espresso' );?></th> |
|
101 | - <th class="jst-left"><?php _e( 'P.O. / S.O. #', 'event_espresso' );?></th> |
|
102 | - <th class="jst-left"><?php _e( 'Notes / Extra Accounting', 'event_espresso' );?></th> |
|
103 | - <!--<th class="jst-left"><?php _e( 'Details', 'event_espresso' );?></th>--> |
|
104 | - <th class="jst-cntr"><?php _e( 'Amount', 'event_espresso' );?></th> |
|
95 | + <th class="jst-cntr"><?php _e('ID', 'event_espresso'); ?></th> |
|
96 | + <th class="jst-left"><?php _e('Date', 'event_espresso'); ?></th> |
|
97 | + <th class="jst-cntr"><?php _e('Source', 'event_espresso'); ?></th> |
|
98 | + <th class="jst-left"><?php _e('Method', 'event_espresso'); ?></th> |
|
99 | + <th class="jst-left"><?php _e('Gateway Response', 'event_espresso'); ?></th> |
|
100 | + <th class="jst-left"><?php _e('TXN ID / CHQ #', 'event_espresso'); ?></th> |
|
101 | + <th class="jst-left"><?php _e('P.O. / S.O. #', 'event_espresso'); ?></th> |
|
102 | + <th class="jst-left"><?php _e('Notes / Extra Accounting', 'event_espresso'); ?></th> |
|
103 | + <!--<th class="jst-left"><?php _e('Details', 'event_espresso'); ?></th>--> |
|
104 | + <th class="jst-cntr"><?php _e('Amount', 'event_espresso'); ?></th> |
|
105 | 105 | </tr> |
106 | 106 | </thead> |
107 | 107 | <tbody> |
108 | - <?php if ( $payments ) : ?> |
|
108 | + <?php if ($payments) : ?> |
|
109 | 109 | <?php $payment_total = 0; ?> |
110 | - <?php foreach ( $payments as $PAY_ID => $payment ) : ?> |
|
111 | - <tr id="txn-admin-payment-tr-<?php echo $PAY_ID;?>"> |
|
110 | + <?php foreach ($payments as $PAY_ID => $payment) : ?> |
|
111 | + <tr id="txn-admin-payment-tr-<?php echo $PAY_ID; ?>"> |
|
112 | 112 | <td> |
113 | 113 | <span id="payment-status-<?php echo $PAY_ID; ?>" class="ee-status-strip-td ee-status-strip pymt-status-<?php echo $payment->STS_ID(); ?>"></span> |
114 | - <div id="payment-STS_ID-<?php echo $PAY_ID;?>" class="hidden"><?php echo $payment->STS_ID();?></div> |
|
115 | - <div id="reg-payments-<?php echo $PAY_ID;?>" class="hidden"><?php echo json_encode( $existing_reg_payments[ $PAY_ID ] );?></div> |
|
114 | + <div id="payment-STS_ID-<?php echo $PAY_ID; ?>" class="hidden"><?php echo $payment->STS_ID(); ?></div> |
|
115 | + <div id="reg-payments-<?php echo $PAY_ID; ?>" class="hidden"><?php echo json_encode($existing_reg_payments[$PAY_ID]); ?></div> |
|
116 | 116 | </td> |
117 | 117 | <td class=" jst-cntr"> |
118 | 118 | <ul class="txn-overview-actions-ul"> |
119 | 119 | <li> |
120 | - <a class="txn-admin-payment-action-edit-lnk" title="<?php esc_attr_e( 'Edit Payment', 'event_espresso' );?>" data-payment-id="<?php echo $PAY_ID;?>"> |
|
120 | + <a class="txn-admin-payment-action-edit-lnk" title="<?php esc_attr_e('Edit Payment', 'event_espresso'); ?>" data-payment-id="<?php echo $PAY_ID; ?>"> |
|
121 | 121 | <div class="dashicons dashicons-edit" style="margin: 0;"></div> |
122 | 122 | </a> |
123 | 123 | </li> |
124 | 124 | <li> |
125 | - <a class="txn-admin-payment-action-delete-lnk" title="<?php esc_attr_e( 'Delete Payment', 'event_espresso' );?>" data-payment-id="<?php echo $PAY_ID;?>"> |
|
125 | + <a class="txn-admin-payment-action-delete-lnk" title="<?php esc_attr_e('Delete Payment', 'event_espresso'); ?>" data-payment-id="<?php echo $PAY_ID; ?>"> |
|
126 | 126 | <div class="dashicons dashicons-trash" style="margin: 0;"></div> |
127 | 127 | </a> |
128 | 128 | </li> |
129 | 129 | </ul> |
130 | 130 | </td> |
131 | 131 | <td class=" jst-rght"> |
132 | - <div id="payment-id-<?php echo $PAY_ID;?>"><?php echo $PAY_ID;?></div> |
|
132 | + <div id="payment-id-<?php echo $PAY_ID; ?>"><?php echo $PAY_ID; ?></div> |
|
133 | 133 | </td> |
134 | 134 | <td class=" jst-left"> |
135 | - <div id="payment-date-<?php echo $PAY_ID;?>" class="payment-date-dv"><?php echo $payment->timestamp('Y-m-d', 'h:i a');?></div> |
|
135 | + <div id="payment-date-<?php echo $PAY_ID; ?>" class="payment-date-dv"><?php echo $payment->timestamp('Y-m-d', 'h:i a'); ?></div> |
|
136 | 136 | </td> |
137 | 137 | <td class=" jst-cntr"> |
138 | - <div id="payment-method-<?php echo $PAY_ID;?>"> |
|
139 | - <?php echo $payment->source();?> |
|
138 | + <div id="payment-method-<?php echo $PAY_ID; ?>"> |
|
139 | + <?php echo $payment->source(); ?> |
|
140 | 140 | </div> |
141 | 141 | </td> |
142 | 142 | <td class=" jst-left"> |
143 | - <div id="payment-gateway-<?php echo $PAY_ID;?>"> |
|
144 | - <?php echo $payment->payment_method() ? $payment->payment_method()->admin_name() : __("Unknown", 'event_espresso');?> |
|
143 | + <div id="payment-gateway-<?php echo $PAY_ID; ?>"> |
|
144 | + <?php echo $payment->payment_method() ? $payment->payment_method()->admin_name() : __("Unknown", 'event_espresso'); ?> |
|
145 | 145 | </div> |
146 | - <div id="payment-gateway-id-<?php echo $PAY_ID;?>" class="hidden"><?php echo $payment->payment_method() ? $payment->payment_method()->ID() : 0;?></div> |
|
146 | + <div id="payment-gateway-id-<?php echo $PAY_ID; ?>" class="hidden"><?php echo $payment->payment_method() ? $payment->payment_method()->ID() : 0; ?></div> |
|
147 | 147 | </td> |
148 | 148 | <td class=" jst-left"> |
149 | - <div id="payment-response-<?php echo $PAY_ID;?>"><?php echo $payment->gateway_response();?></div> |
|
149 | + <div id="payment-response-<?php echo $PAY_ID; ?>"><?php echo $payment->gateway_response(); ?></div> |
|
150 | 150 | </td> |
151 | 151 | <td class=" jst-left"> |
152 | - <div id="payment-txn-id-chq-nmbr-<?php echo $PAY_ID;?>"><?php echo $payment->txn_id_chq_nmbr();?></div> |
|
152 | + <div id="payment-txn-id-chq-nmbr-<?php echo $PAY_ID; ?>"><?php echo $payment->txn_id_chq_nmbr(); ?></div> |
|
153 | 153 | </td> |
154 | 154 | <td class=" jst-left"> |
155 | - <div id="payment-po-nmbr-<?php echo $PAY_ID;?>"><?php echo $payment->po_number();?></div> |
|
155 | + <div id="payment-po-nmbr-<?php echo $PAY_ID; ?>"><?php echo $payment->po_number(); ?></div> |
|
156 | 156 | </td> |
157 | 157 | <td class=" jst-left"> |
158 | - <div id="payment-accntng-<?php echo $PAY_ID;?>"><?php echo $payment->extra_accntng();?></div> |
|
158 | + <div id="payment-accntng-<?php echo $PAY_ID; ?>"><?php echo $payment->extra_accntng(); ?></div> |
|
159 | 159 | </td> |
160 | 160 | <td class=" jst-rght"> |
161 | - <?php $payment_class = $payment->amount() > 0 ? 'txn-admin-payment-status-' . $payment->STS_ID() : 'txn-admin-payment-status-PDC'; ?> |
|
162 | - <span class="<?php echo $payment_class;?>"> |
|
163 | - <div id="payment-amount-<?php echo $PAY_ID;?>" style="display:inline;"><?php echo EEH_Template::format_currency($payment->amount(), FALSE, FALSE ); ?></div> |
|
161 | + <?php $payment_class = $payment->amount() > 0 ? 'txn-admin-payment-status-'.$payment->STS_ID() : 'txn-admin-payment-status-PDC'; ?> |
|
162 | + <span class="<?php echo $payment_class; ?>"> |
|
163 | + <div id="payment-amount-<?php echo $PAY_ID; ?>" style="display:inline;"><?php echo EEH_Template::format_currency($payment->amount(), FALSE, FALSE); ?></div> |
|
164 | 164 | </span> |
165 | 165 | </td> |
166 | 166 | </tr> |
@@ -170,25 +170,25 @@ discard block |
||
170 | 170 | <?php endforeach; // $payment?> |
171 | 171 | <?php |
172 | 172 | $pay_totals_class = $payment_total > $grand_raw_total ? ' important-notice' : ''; |
173 | - $overpaid = $payment_total > $grand_raw_total ? '<span id="overpaid">' . __( 'This transaction has been overpaid ! ', 'event_espresso' ) . '</span>' : ''; |
|
173 | + $overpaid = $payment_total > $grand_raw_total ? '<span id="overpaid">'.__('This transaction has been overpaid ! ', 'event_espresso').'</span>' : ''; |
|
174 | 174 | ?> |
175 | 175 | <tr id="txn-admin-no-payments-tr" class="admin-primary-mbox-total-tr hidden"> |
176 | 176 | <td class=" jst-rght" colspan="11"> |
177 | - <span class="important-notice"><?php _e( 'No payments have been applied to this transaction yet. Click "Apply Payment" below to make a payment.', 'event_espresso' ); ?></span> |
|
177 | + <span class="important-notice"><?php _e('No payments have been applied to this transaction yet. Click "Apply Payment" below to make a payment.', 'event_espresso'); ?></span> |
|
178 | 178 | </td> |
179 | 179 | </tr> |
180 | - <tr id="txn-admin-payments-total-tr" class="admin-primary-mbox-total-tr<?php echo $pay_totals_class;?>"> |
|
181 | - <th class=" jst-rght" colspan="10"><span id="payments-total-spn"><?php echo $overpaid . sprintf( __( 'Payments Total %s', 'event_espresso' ), '(' . EE_Registry::instance()->CFG->currency->code . ')' );?></span></th> |
|
182 | - <th class=" jst-rght"><span id="txn-admin-payment-total"><?php echo EEH_Template::format_currency($payment_total, FALSE, FALSE);?></span></th> |
|
180 | + <tr id="txn-admin-payments-total-tr" class="admin-primary-mbox-total-tr<?php echo $pay_totals_class; ?>"> |
|
181 | + <th class=" jst-rght" colspan="10"><span id="payments-total-spn"><?php echo $overpaid.sprintf(__('Payments Total %s', 'event_espresso'), '('.EE_Registry::instance()->CFG->currency->code.')'); ?></span></th> |
|
182 | + <th class=" jst-rght"><span id="txn-admin-payment-total"><?php echo EEH_Template::format_currency($payment_total, FALSE, FALSE); ?></span></th> |
|
183 | 183 | </tr> |
184 | 184 | <?php else : ?> |
185 | 185 | <tr id="txn-admin-no-payments-tr" class="admin-primary-mbox-total-tr"> |
186 | 186 | <td class=" jst-rght" colspan="11"> |
187 | - <span class="important-notice"><?php _e( 'No payments have been applied to this transaction yet. Click "Apply Payment" below to make a payment.', 'event_espresso' ); ?></span> |
|
187 | + <span class="important-notice"><?php _e('No payments have been applied to this transaction yet. Click "Apply Payment" below to make a payment.', 'event_espresso'); ?></span> |
|
188 | 188 | </td> |
189 | 189 | </tr> |
190 | 190 | <tr id="txn-admin-payments-total-tr" class="admin-primary-mbox-total-tr hidden"> |
191 | - <th class=" jst-rght" colspan="10"><span id="payments-total-spn"><?php echo __( 'Payments Total', 'event_espresso' );?></span></th> |
|
191 | + <th class=" jst-rght" colspan="10"><span id="payments-total-spn"><?php echo __('Payments Total', 'event_espresso'); ?></span></th> |
|
192 | 192 | <th class=" jst-rght"><span id="txn-admin-payment-total"></span></th> |
193 | 193 | </tr> |
194 | 194 | <?php endif; // $payments?> |
@@ -201,12 +201,12 @@ discard block |
||
201 | 201 | <td class=" jst-cntr"> |
202 | 202 | <ul class="txn-overview-actions-ul"> |
203 | 203 | <li> |
204 | - <a class="txn-admin-payment-action-edit-lnk" title="<?php esc_attr_e( 'Edit Payment', 'event_espresso' );?>" data-payment-id="PAY_ID"> |
|
204 | + <a class="txn-admin-payment-action-edit-lnk" title="<?php esc_attr_e('Edit Payment', 'event_espresso'); ?>" data-payment-id="PAY_ID"> |
|
205 | 205 | <div class="dashicons dashicons-edit" style="margin: 0;"></div> |
206 | 206 | </a> |
207 | 207 | </li> |
208 | 208 | <li> |
209 | - <a class="txn-admin-payment-action-delete-lnk" title="<?php esc_attr_e( 'Delete Payment', 'event_espresso' );?>" data-payment-id="PAY_ID"> |
|
209 | + <a class="txn-admin-payment-action-delete-lnk" title="<?php esc_attr_e('Delete Payment', 'event_espresso'); ?>" data-payment-id="PAY_ID"> |
|
210 | 210 | <div class="dashicons dashicons-trash" style="margin: 0;"></div> |
211 | 211 | </a> |
212 | 212 | </li> |
@@ -253,12 +253,12 @@ discard block |
||
253 | 253 | <ul id="txn-admin-payment-options-ul"> |
254 | 254 | <li> |
255 | 255 | <a id="display-txn-admin-apply-payment" class="button-primary no-icon no-hide" rel="txn-admin-apply-payment" > <!--display-the-hidden --> |
256 | - <?php _e( 'Apply Payment', 'event_espresso' );?> |
|
256 | + <?php _e('Apply Payment', 'event_espresso'); ?> |
|
257 | 257 | </a> |
258 | 258 | </li> |
259 | 259 | <li> |
260 | 260 | <a id="display-txn-admin-apply-refund" class="button-secondary no-icon no-hide" rel="txn-admin-apply-refund" > <!--display-the-hidden --> |
261 | - <?php _e( 'Apply Refund', 'event_espresso' );?> |
|
261 | + <?php _e('Apply Refund', 'event_espresso'); ?> |
|
262 | 262 | </a> |
263 | 263 | </li> |
264 | 264 | </ul> |
@@ -268,14 +268,14 @@ discard block |
||
268 | 268 | |
269 | 269 | <h2 id="admin-modal-dialog-apply-payment-h2" class="admin-modal-dialog-h2 hdr-has-icon" style="display:none;"> |
270 | 270 | <div class="ee-icon ee-icon-cash-add float-left"></div> |
271 | - <?php echo __( 'Apply a Payment to Transaction #', 'event_espresso' ) . $txn_nmbr['value'];?> |
|
271 | + <?php echo __('Apply a Payment to Transaction #', 'event_espresso').$txn_nmbr['value']; ?> |
|
272 | 272 | </h2> |
273 | 273 | |
274 | 274 | <h2 id="admin-modal-dialog-edit-payment-h2" class="admin-modal-dialog-h2 hdr-has-icon" style="display:none;"> |
275 | 275 | <div class="ee-icon ee-icon-cash-edit float-left"></div> |
276 | 276 | <?php |
277 | 277 | echo sprintf( |
278 | - __( 'Edit Payment #%s for Transaction #%s', 'event_espresso' ), |
|
278 | + __('Edit Payment #%s for Transaction #%s', 'event_espresso'), |
|
279 | 279 | '<span></span>', |
280 | 280 | $txn_nmbr['value'] |
281 | 281 | ); |
@@ -286,7 +286,7 @@ discard block |
||
286 | 286 | <div class="ee-icon ee-icon-cash-edit float-left"></div> |
287 | 287 | <?php |
288 | 288 | echo sprintf( |
289 | - __( 'Edit Refund #%s for Transaction #%s', 'event_espresso' ), |
|
289 | + __('Edit Refund #%s for Transaction #%s', 'event_espresso'), |
|
290 | 290 | '<span></span>', |
291 | 291 | $txn_nmbr['value'] |
292 | 292 | ); |
@@ -295,14 +295,14 @@ discard block |
||
295 | 295 | |
296 | 296 | <h2 id="admin-modal-dialog-apply-refund-h2" class="admin-modal-dialog-h2 hdr-has-icon" style="display:none;"> |
297 | 297 | <div class="ee-icon ee-icon-cash-remove float-left"></div> |
298 | - <?php echo __( 'Apply a Refund to Transaction #', 'event_espresso' ) . $txn_nmbr['value'];?> |
|
298 | + <?php echo __('Apply a Refund to Transaction #', 'event_espresso').$txn_nmbr['value']; ?> |
|
299 | 299 | </h2> |
300 | 300 | |
301 | 301 | <form name="txn-admin-apply-payment-frm" id="txn-admin-apply-payment-frm" action="<?php echo $apply_payment_form_url; ?>"> |
302 | 302 | <div class="admin-modal-dialog-wrap"> |
303 | 303 | <div class="admin-modal-dialog-inner"> |
304 | 304 | |
305 | - <input type="hidden" name="espresso_apply_payment_nonce" id="espresso_apply_payment_nonce" value="<?php echo wp_create_nonce( 'espresso_apply_payment_nonce' );?>"/> |
|
305 | + <input type="hidden" name="espresso_apply_payment_nonce" id="espresso_apply_payment_nonce" value="<?php echo wp_create_nonce('espresso_apply_payment_nonce'); ?>"/> |
|
306 | 306 | <input type="hidden" name="espresso_ajax" id="espresso-ajax" value="0"/> |
307 | 307 | <input type="hidden" name="noheader" id="txn-admin-noheader-inp" value="0"/> |
308 | 308 | <input type="hidden" name="txn_admin_payment[PAY_ID]" id="txn-admin-payment-payment-id-inp" class="txn-admin-apply-payment-inp" value="0"/> |
@@ -310,99 +310,99 @@ discard block |
||
310 | 310 | <input type="hidden" name="txn_admin_payment[type]" id="txn-admin-payment-type-inp" value="1"/> |
311 | 311 | <input type="hidden" name="txn_admin_payment[details]" id="txn-admin-payment-details-inp" value=""/> |
312 | 312 | <input type="hidden" name="txn_admin_delete_payment_form_url" id="txn-admin-delete-payment-form-url-inp" value="<?php echo $delete_payment_form_url; ?>"/> |
313 | - <input type="hidden" name="txn_admin_todays_date" id="txn-admin-todays-date-inp" value="<?php echo date( 'Y-m-d h:i a', current_time( 'timestamp' )); ?>"/> |
|
313 | + <input type="hidden" name="txn_admin_todays_date" id="txn-admin-todays-date-inp" value="<?php echo date('Y-m-d h:i a', current_time('timestamp')); ?>"/> |
|
314 | 314 | |
315 | 315 | <div class="txn-admin-apply-payment-date-dv admin-modal-dialog-row"> |
316 | - <div class="validation-notice-dv"><?php _e( 'The following is a required field', 'event_espresso' );?></div> |
|
317 | - <label for="txn-admin-payment-date-inp" class=""><?php _e( 'Payment Date', 'event_espresso' );?></label> |
|
318 | - <input name="txn_admin_payment[date]" id="txn-admin-payment-date-inp" class="txn-admin-apply-payment-inp required" type="text" value="<?php echo date( 'Y-m-d h:i a', current_time( 'timestamp' )); ?>"/> |
|
319 | - <p class="description"><?php _e( 'The date the payment was actually made on', 'event_espresso' );?></p> |
|
316 | + <div class="validation-notice-dv"><?php _e('The following is a required field', 'event_espresso'); ?></div> |
|
317 | + <label for="txn-admin-payment-date-inp" class=""><?php _e('Payment Date', 'event_espresso'); ?></label> |
|
318 | + <input name="txn_admin_payment[date]" id="txn-admin-payment-date-inp" class="txn-admin-apply-payment-inp required" type="text" value="<?php echo date('Y-m-d h:i a', current_time('timestamp')); ?>"/> |
|
319 | + <p class="description"><?php _e('The date the payment was actually made on', 'event_espresso'); ?></p> |
|
320 | 320 | </div> |
321 | 321 | |
322 | 322 | <div class="txn-admin-apply-payment-amount-dv admin-modal-dialog-row"> |
323 | - <div class="validation-notice-dv"><?php _e( 'The following is a required field', 'event_espresso' );?></div> |
|
324 | - <label for="txn-admin-payment-amount-inp" class=""><?php _e( 'Amount', 'event_espresso' );?></label> |
|
323 | + <div class="validation-notice-dv"><?php _e('The following is a required field', 'event_espresso'); ?></div> |
|
324 | + <label for="txn-admin-payment-amount-inp" class=""><?php _e('Amount', 'event_espresso'); ?></label> |
|
325 | 325 | <input name="txn_admin_payment[amount]" id="txn-admin-payment-amount-inp" class="txn-admin-apply-payment-inp required" type="text" value=""/> |
326 | - <p class="description"><?php _e( 'The amount of the payment', 'event_espresso' );?></p> |
|
326 | + <p class="description"><?php _e('The amount of the payment', 'event_espresso'); ?></p> |
|
327 | 327 | </div> |
328 | 328 | |
329 | 329 | <div class="txn-admin-apply-payment-method-dv admin-modal-dialog-row"> |
330 | - <div class="validation-notice-dv"><?php _e( 'The following is a required field', 'event_espresso' );?></div> |
|
331 | - <label for="txn-admin-payment-method-inp" class=""><?php _e( 'Method of Payment', 'event_espresso' );?></label> |
|
330 | + <div class="validation-notice-dv"><?php _e('The following is a required field', 'event_espresso'); ?></div> |
|
331 | + <label for="txn-admin-payment-method-inp" class=""><?php _e('Method of Payment', 'event_espresso'); ?></label> |
|
332 | 332 | <select name="txn_admin_payment[PMD_ID]" id="txn-admin-payment-method-slct" class="txn-admin-apply-payment-slct required" type="text" > |
333 | - <?php foreach ( $payment_methods as $method ) : ?> |
|
333 | + <?php foreach ($payment_methods as $method) : ?> |
|
334 | 334 | <?php $selected = $method->slug() == 'cash' ? ' selected="selected"' : ''; ?> |
335 | - <option id="payment-method-opt-<?php echo $method->slug(); ?>" value="<?php echo $method->ID(); ?>"<?php echo $selected; ?>><?php echo sanitize_key( $method->admin_desc() ) ? substr( $method->admin_desc(), 0, 128) : $method->admin_name() ; ?> </option> |
|
335 | + <option id="payment-method-opt-<?php echo $method->slug(); ?>" value="<?php echo $method->ID(); ?>"<?php echo $selected; ?>><?php echo sanitize_key($method->admin_desc()) ? substr($method->admin_desc(), 0, 128) : $method->admin_name(); ?> </option> |
|
336 | 336 | <?php endforeach; ?> |
337 | 337 | </select> |
338 | - <p class="description"><?php _e( 'Whether the payment was made via PayPal, Credit Card, Cheque, or Cash', 'event_espresso' );?></p> |
|
338 | + <p class="description"><?php _e('Whether the payment was made via PayPal, Credit Card, Cheque, or Cash', 'event_espresso'); ?></p> |
|
339 | 339 | </div> |
340 | 340 | |
341 | 341 | <div class="mop-PP mop-CC mop-CHQ mop"> |
342 | 342 | <div class="txn-admin-apply-payment-gw-txn-id-dv admin-modal-dialog-row"> |
343 | - <label for="txn-admin-payment-txn-id-inp" class=""><?php _e( 'TXN ID / CHQ #', 'event_espresso' );?></label> |
|
343 | + <label for="txn-admin-payment-txn-id-inp" class=""><?php _e('TXN ID / CHQ #', 'event_espresso'); ?></label> |
|
344 | 344 | <input name="txn_admin_payment[txn_id_chq_nmbr]" id="txn-admin-payment-txn-id-chq-nmbr-inp" class="txn-admin-apply-payment-inp" type="text"/> |
345 | - <p class="description"><?php _e( 'The Transaction ID sent back from the payment gateway, or the Cheque #', 'event_espresso' );?></p> |
|
345 | + <p class="description"><?php _e('The Transaction ID sent back from the payment gateway, or the Cheque #', 'event_espresso'); ?></p> |
|
346 | 346 | </div> |
347 | 347 | </div> |
348 | 348 | |
349 | 349 | <div class="mop-CC mop" style="display:none"> |
350 | 350 | <div class="txn-admin-apply-payment-response-dv admin-modal-dialog-row"> |
351 | - <label for="txn-admin-payment-gateway-response-inp" class=""><?php _e( 'Gateway Response', 'event_espresso' );?></label> |
|
351 | + <label for="txn-admin-payment-gateway-response-inp" class=""><?php _e('Gateway Response', 'event_espresso'); ?></label> |
|
352 | 352 | <input name="txn_admin_payment[gateway_response]" id="txn-admin-payment-gateway-response-inp" class="txn-admin-apply-payment-inp" type="text"/> |
353 | - <p class="description"><?php _e( 'The gateway response string (optional)', 'event_espresso' );?></p> |
|
353 | + <p class="description"><?php _e('The gateway response string (optional)', 'event_espresso'); ?></p> |
|
354 | 354 | </div> |
355 | 355 | </div> |
356 | 356 | |
357 | 357 | <div class="mop-PP mop-CC mop"> |
358 | 358 | <div class="txn-admin-apply-payment-status-dv admin-modal-dialog-row"> |
359 | - <label for="txn-admin-payment-status-inp" class=""><?php _e( 'Payment Status', 'event_espresso' );?></label> |
|
359 | + <label for="txn-admin-payment-status-inp" class=""><?php _e('Payment Status', 'event_espresso'); ?></label> |
|
360 | 360 | <select name="txn_admin_payment[status]" id="txn-admin-payment-status-slct" class="txn-admin-apply-payment-slct" type="text" > |
361 | - <?php foreach ( $payment_status as $STS_ID => $STS_code ) : ?> |
|
361 | + <?php foreach ($payment_status as $STS_ID => $STS_code) : ?> |
|
362 | 362 | <?php $selected = $STS_ID == 'PAP' ? ' selected="selected"' : ''; ?> |
363 | 363 | <option id="payment-status-opt-<?php echo $STS_ID; ?>" value="<?php echo $STS_ID; ?>"<?php echo $selected; ?>><?php echo $STS_code; ?> </option> |
364 | 364 | <?php endforeach; ?> |
365 | 365 | </select> |
366 | - <p class="description"><?php _e( 'Whether the payment was approved, cancelled, declined or failed after submission to the gateway', 'event_espresso' );?></p> |
|
366 | + <p class="description"><?php _e('Whether the payment was approved, cancelled, declined or failed after submission to the gateway', 'event_espresso'); ?></p> |
|
367 | 367 | </div> |
368 | 368 | </div> |
369 | 369 | |
370 | 370 | <div class="txn-admin-apply-payment-po-nmbr-dv admin-modal-dialog-row"> |
371 | - <label for="txn-admin-payment-po-nmbr-inp" class=""><?php _e( 'P.O. / S.O. #', 'event_espresso' );?></label> |
|
371 | + <label for="txn-admin-payment-po-nmbr-inp" class=""><?php _e('P.O. / S.O. #', 'event_espresso'); ?></label> |
|
372 | 372 | <input name="txn_admin_payment[po_number]" id="txn-admin-payment-po-nmbr-inp" class="txn-admin-apply-payment-inp" type="text"/> |
373 | - <p class="description"><?php _e( 'The Purchase or Sales Order Number if any (optional)', 'event_espresso' );?></p> |
|
373 | + <p class="description"><?php _e('The Purchase or Sales Order Number if any (optional)', 'event_espresso'); ?></p> |
|
374 | 374 | </div> |
375 | 375 | |
376 | 376 | <div class="txn-admin-apply-payment-accounting-dv admin-modal-dialog-row"> |
377 | - <label for="txn-admin-payment-accounting-inp" class="last"><?php _e( 'Notes / Extra Accounting', 'event_espresso' );?></label> |
|
377 | + <label for="txn-admin-payment-accounting-inp" class="last"><?php _e('Notes / Extra Accounting', 'event_espresso'); ?></label> |
|
378 | 378 | <input name="txn_admin_payment[accounting]" id="txn-admin-payment-accounting-inp" class="txn-admin-apply-payment-inp" type="text" value="<?php echo $REG_code; ?>"/> <input type="hidden" id="txn-admin-reg-code-inp" value="<?php echo $REG_code; ?>"/> |
379 | - <p class="description"><?php _e( 'An extra field you may use for accounting purposes or simple notes. Defaults to the primary registrant\'s registration code.', 'event_espresso' );?></p> |
|
379 | + <p class="description"><?php _e('An extra field you may use for accounting purposes or simple notes. Defaults to the primary registrant\'s registration code.', 'event_espresso'); ?></p> |
|
380 | 380 | </div> |
381 | 381 | |
382 | 382 | <div class="txn-admin-apply-payment-registrations-dv admin-modal-dialog-row"> |
383 | - <label for="txn-admin-payment-registrations-inp" class="last"><?php _e( 'Registrations to Apply Payment to:', 'event_espresso' ); ?></label> |
|
383 | + <label for="txn-admin-payment-registrations-inp" class="last"><?php _e('Registrations to Apply Payment to:', 'event_espresso'); ?></label> |
|
384 | 384 | <label class="txn-admin-apply-payment-to-registrations-lbl"> |
385 | 385 | <input type="radio" value="1" id="txn-admin-apply-payment-to-all-registrations-inp" name="txn_admin_payment[apply_to_all_registrations]" checked="checked"/> |
386 | - <?php _e( 'ALL Registrations', 'event_espresso' ); ?> |
|
386 | + <?php _e('ALL Registrations', 'event_espresso'); ?> |
|
387 | 387 | </label> |
388 | 388 | <label class="txn-admin-apply-payment-to-registrations-lbl"> |
389 | 389 | <input type="radio" value="0" id="txn-admin-apply-payment-to-some-registrations-inp" name="txn_admin_payment[apply_to_all_registrations]" /> |
390 | - <?php _e( 'Just the following Registrations', 'event_espresso' ); ?> |
|
390 | + <?php _e('Just the following Registrations', 'event_espresso'); ?> |
|
391 | 391 | </label> |
392 | 392 | <?php echo $registrations_to_apply_payment_to; ?> |
393 | 393 | </div> |
394 | 394 | |
395 | 395 | <div class="txn-admin-payment-reg-status-dv admin-modal-dialog-row"> |
396 | - <label for="txn-admin-payment-reg-status-inp" class="last"><?php _e( 'Change Registration Status?', 'event_espresso' );?></label> |
|
396 | + <label for="txn-admin-payment-reg-status-inp" class="last"><?php _e('Change Registration Status?', 'event_espresso'); ?></label> |
|
397 | 397 | <?php echo $status_change_select; ?> |
398 | - <p class="description"><?php _e( 'If you wish to change the status for the registrations selected above, then select which status from this dropdown.', 'event_espresso' ); ?></p> |
|
398 | + <p class="description"><?php _e('If you wish to change the status for the registrations selected above, then select which status from this dropdown.', 'event_espresso'); ?></p> |
|
399 | 399 | <br/> |
400 | 400 | </div> |
401 | 401 | |
402 | 402 | <div class="txn-admin-apply-payment-send-notifications-dv admin-modal-dialog-row"> |
403 | - <label for="txn-admin-payment-send-notifications-inp" class="last"><?php _e( 'Send Related Messages?', 'event_espresso' );?></label> |
|
403 | + <label for="txn-admin-payment-send-notifications-inp" class="last"><?php _e('Send Related Messages?', 'event_espresso'); ?></label> |
|
404 | 404 | <input type="checkbox" value="1" name="txn_reg_status_change[send_notifications]"> |
405 | - <p class="description"><?php printf( __('By default %1$sa payment message is sent to the primary registrant%2$s after submitting this form.%3$sHowever, if you check this box, the system will also send any related messages matching the status of the registrations to %1$search registration for this transaction%2$s.', 'event_espresso'), '<strong>', '</strong>', '<br />' ); ?></p> |
|
405 | + <p class="description"><?php printf(__('By default %1$sa payment message is sent to the primary registrant%2$s after submitting this form.%3$sHowever, if you check this box, the system will also send any related messages matching the status of the registrations to %1$search registration for this transaction%2$s.', 'event_espresso'), '<strong>', '</strong>', '<br />'); ?></p> |
|
406 | 406 | <label></label> |
407 | 407 | </div> |
408 | 408 | <div class="clear"></div> |
@@ -413,27 +413,27 @@ discard block |
||
413 | 413 | <ul id="admin-modal-dialog-options-ul"> |
414 | 414 | <li> |
415 | 415 | <a id="txn-admin-modal-dialog-apply-payment-lnk" class="button-primary no-icon" style="display:none;" > |
416 | - <?php _e( 'Apply Payment', 'event_espresso' );?> |
|
416 | + <?php _e('Apply Payment', 'event_espresso'); ?> |
|
417 | 417 | </a> |
418 | 418 | </li> |
419 | 419 | <li> |
420 | 420 | <a id="txn-admin-modal-dialog-edit-payment-lnk" class="button-primary no-icon" style="display:none;" > |
421 | - <?php _e( 'Save Payment Details', 'event_espresso' );?> |
|
421 | + <?php _e('Save Payment Details', 'event_espresso'); ?> |
|
422 | 422 | </a> |
423 | 423 | </li> |
424 | 424 | <li> |
425 | 425 | <a id="txn-admin-modal-dialog-edit-refund-lnk" class="button-primary no-icon" style="display:none;" > |
426 | - <?php _e( 'Save Refund Details', 'event_espresso' );?> |
|
426 | + <?php _e('Save Refund Details', 'event_espresso'); ?> |
|
427 | 427 | </a> |
428 | 428 | </li> |
429 | 429 | <li> |
430 | 430 | <a id="txn-admin-modal-dialog-apply-refund-lnk" class="button-primary no-icon" style="display:none;" > |
431 | - <?php _e( 'Apply Refund', 'event_espresso' );?> |
|
431 | + <?php _e('Apply Refund', 'event_espresso'); ?> |
|
432 | 432 | </a> |
433 | 433 | </li> |
434 | 434 | <li> |
435 | 435 | <a id="txn-admin-modal-dialog-cancel-lnk" class="button-secondary no-icon" > |
436 | - <?php _e( 'Cancel', 'event_espresso' );?> |
|
436 | + <?php _e('Cancel', 'event_espresso'); ?> |
|
437 | 437 | </a> |
438 | 438 | </li> |
439 | 439 | <li> |
@@ -450,29 +450,29 @@ discard block |
||
450 | 450 | |
451 | 451 | <h2 id="admin-modal-dialog-delete-payment-h2" class="admin-modal-dialog-h2 hdr-has-icon" style="display:none;"> |
452 | 452 | <span class="ee-icon ee-icon-cash-add"></span> |
453 | - <?php echo __( 'Delete Payment/Refund for Transaction #', 'event_espresso' ) . $txn_nmbr['value'];?> |
|
453 | + <?php echo __('Delete Payment/Refund for Transaction #', 'event_espresso').$txn_nmbr['value']; ?> |
|
454 | 454 | </h2> |
455 | 455 | |
456 | 456 | <form name="txn-admin-delete-payment-frm" id="txn-admin-delete-payment-frm" action="<?php echo $delete_payment_url; ?>"> |
457 | 457 | <div class="admin-modal-dialog-wrap"> |
458 | 458 | <div class="admin-modal-dialog-inner"> |
459 | 459 | |
460 | - <input type="hidden" name="espresso_delete_payment_nonce" id="espresso_delete_payment_nonce" value="<?php echo wp_create_nonce( 'espresso_delete_payment_nonce' );?>"/> |
|
460 | + <input type="hidden" name="espresso_delete_payment_nonce" id="espresso_delete_payment_nonce" value="<?php echo wp_create_nonce('espresso_delete_payment_nonce'); ?>"/> |
|
461 | 461 | <input type="hidden" name="delete_espresso_ajax" id="delete-espresso-ajax" value="0"/> |
462 | 462 | <input type="hidden" name="delete_noheader" id="delete-txn-admin-noheader-inp" value="0"/> |
463 | 463 | <input type="hidden" name="delete_txn_admin_payment[PAY_ID]" id="delete-txn-admin-payment-payment-id-inp" class="txn-admin-apply-payment-inp" value="0"/> |
464 | 464 | <input type="hidden" name="delete_txn_admin_payment[TXN_ID]" id="delete-txn-admin-payment-txn-id-inp" value="<?php echo $txn_nmbr['value']; ?>"/> |
465 | 465 | |
466 | 466 | <div class="txn-admin-apply-payment-accounting-dv admin-modal-dialog-row"> |
467 | - <label for="delete-txn-admin-payment-reg-status-inp" class="last"><?php _e( 'Change Registration Status?', 'event_espresso' );?></label> |
|
467 | + <label for="delete-txn-admin-payment-reg-status-inp" class="last"><?php _e('Change Registration Status?', 'event_espresso'); ?></label> |
|
468 | 468 | <?php echo $delete_status_change_select; ?> |
469 | - <p class="description"><?php printf( __('If you wish to change the status of all the registrations associated with this transaction after deleting this payment/refund, then select which status from this dropdown. %sNote: ALL registrations associated with this transaction will be updated to this new status.%s', 'event_espresso'), '<strong>', '</strong>' ); ?></p> |
|
469 | + <p class="description"><?php printf(__('If you wish to change the status of all the registrations associated with this transaction after deleting this payment/refund, then select which status from this dropdown. %sNote: ALL registrations associated with this transaction will be updated to this new status.%s', 'event_espresso'), '<strong>', '</strong>'); ?></p> |
|
470 | 470 | </div> |
471 | 471 | |
472 | 472 | <div class="ee-attention txn-admin-apply-payment-accounting-dv admin-modal-dialog-row"> |
473 | - <label for="delete-txn-admin-payment-accounting-inp" class="last"><?php _e( 'Send Related Messages?', 'event_espresso' );?></label> |
|
473 | + <label for="delete-txn-admin-payment-accounting-inp" class="last"><?php _e('Send Related Messages?', 'event_espresso'); ?></label> |
|
474 | 474 | <input type="checkbox" value="1" name="delete_txn_reg_status_change[send_notifications]"> |
475 | - <p class="description"><?php _e( 'If you check this box, the system will send any related messages matching the status of the registrations to each registration for this transaction.', 'event_espresso' );?></p> |
|
475 | + <p class="description"><?php _e('If you check this box, the system will send any related messages matching the status of the registrations to each registration for this transaction.', 'event_espresso'); ?></p> |
|
476 | 476 | </div> |
477 | 477 | <div class="clear"></div> |
478 | 478 | |
@@ -482,12 +482,12 @@ discard block |
||
482 | 482 | <ul id="del-admin-modal-dialog-options-ul"> |
483 | 483 | <li> |
484 | 484 | <a id="txn-admin-modal-dialog-delete-lnk" class="button-primary no-icon" style="display:none;" > |
485 | - <?php _e( 'Delete', 'event_espresso' );?> |
|
485 | + <?php _e('Delete', 'event_espresso'); ?> |
|
486 | 486 | </a> |
487 | 487 | </li> |
488 | 488 | <li> |
489 | 489 | <a id="del-txn-admin-modal-dialog-cancel-lnk" class="button-secondary no-icon" > |
490 | - <?php _e( 'Cancel', 'event_espresso' );?> |
|
490 | + <?php _e('Cancel', 'event_espresso'); ?> |
|
491 | 491 | </a> |
492 | 492 | </li> |
493 | 493 | <li> |
@@ -503,30 +503,30 @@ discard block |
||
503 | 503 | <?php endif; // $grand_raw_total > 0?> |
504 | 504 | |
505 | 505 | <?php |
506 | - if ( WP_DEBUG ) { |
|
507 | - $delivered_messages = get_option( 'EED_Messages__payment', array() ); |
|
508 | - if ( isset( $delivered_messages[ $TXN_ID ] )) { |
|
506 | + if (WP_DEBUG) { |
|
507 | + $delivered_messages = get_option('EED_Messages__payment', array()); |
|
508 | + if (isset($delivered_messages[$TXN_ID])) { |
|
509 | 509 | ?> |
510 | - <h4 class="admin-primary-mbox-h4 hdr-has-icon"><span class="dashicons dashicons-email-alt"></span><?php _e( 'Messages Sent to Primary Registrant', 'event_espresso' );?></h4> |
|
510 | + <h4 class="admin-primary-mbox-h4 hdr-has-icon"><span class="dashicons dashicons-email-alt"></span><?php _e('Messages Sent to Primary Registrant', 'event_espresso'); ?></h4> |
|
511 | 511 | |
512 | 512 | <div class="admin-primary-mbox-tbl-wrap"> |
513 | 513 | <table class="admin-primary-mbox-tbl"> |
514 | 514 | <thead> |
515 | 515 | <tr> |
516 | - <th class="jst-left"><?php _e( 'Date & Time', 'event_espresso' );?></th> |
|
517 | - <th class="jst-left"><?php _e( 'Message Type', 'event_espresso' );?></th> |
|
518 | - <th class="jst-left"><?php _e( 'Payment Status Upon Sending', 'event_espresso' );?></th> |
|
519 | - <th class="jst-left"><?php _e( 'TXN Status Upon Sending', 'event_espresso' );?></th> |
|
516 | + <th class="jst-left"><?php _e('Date & Time', 'event_espresso'); ?></th> |
|
517 | + <th class="jst-left"><?php _e('Message Type', 'event_espresso'); ?></th> |
|
518 | + <th class="jst-left"><?php _e('Payment Status Upon Sending', 'event_espresso'); ?></th> |
|
519 | + <th class="jst-left"><?php _e('TXN Status Upon Sending', 'event_espresso'); ?></th> |
|
520 | 520 | </tr> |
521 | 521 | </thead> |
522 | 522 | <tbody> |
523 | - <?php foreach ( $delivered_messages[ $TXN_ID ] as $timestamp => $delivered_message ) : |
|
523 | + <?php foreach ($delivered_messages[$TXN_ID] as $timestamp => $delivered_message) : |
|
524 | 524 | ?> |
525 | 525 | <tr> |
526 | - <td class="jst-left"><?php echo gmdate( get_option('date_format') . ' ' . get_option('time_format'), ( $timestamp + ( get_option( 'gmt_offset' ) * HOUR_IN_SECONDS ) ) );?></td> |
|
527 | - <td class="jst-left"><?php echo isset( $delivered_message['message_type'] ) ? $delivered_message['message_type'] : '';?></td> |
|
528 | - <td class="jst-left"><?php echo isset( $delivered_message['pay_status'] ) ? $delivered_message['pay_status'] : '';?></td> |
|
529 | - <td class="jst-left"><?php echo isset( $delivered_message['txn_status'] ) ? $delivered_message['txn_status'] : '';?></td> |
|
526 | + <td class="jst-left"><?php echo gmdate(get_option('date_format').' '.get_option('time_format'), ($timestamp + (get_option('gmt_offset') * HOUR_IN_SECONDS))); ?></td> |
|
527 | + <td class="jst-left"><?php echo isset($delivered_message['message_type']) ? $delivered_message['message_type'] : ''; ?></td> |
|
528 | + <td class="jst-left"><?php echo isset($delivered_message['pay_status']) ? $delivered_message['pay_status'] : ''; ?></td> |
|
529 | + <td class="jst-left"><?php echo isset($delivered_message['txn_status']) ? $delivered_message['txn_status'] : ''; ?></td> |
|
530 | 530 | </tr> |
531 | 531 | <?php endforeach; // $delivered_messages?> |
532 | 532 | </tbody> |
@@ -1,27 +1,27 @@ |
||
1 | 1 | <div id="admin-side-mbox-billing-info-dv" class="admin-side-mbox-dv"> |
2 | -<?php if ( empty($billing_form) ) : ?> |
|
2 | +<?php if (empty($billing_form)) : ?> |
|
3 | 3 | <div class="clearfix"> |
4 | - <?php _e( 'There is no billing info for this transaction.', 'event_espresso' );?><br/> |
|
4 | + <?php _e('There is no billing info for this transaction.', 'event_espresso'); ?><br/> |
|
5 | 5 | </div> |
6 | 6 | <?php else : |
7 | - function ee_show_billing_info_cleaned( EE_Form_Section_Proper $form_section ) { |
|
8 | - foreach( $form_section->subsections() as $subsection ) { |
|
9 | - if( $subsection instanceof EE_Form_Input_Base ) { |
|
10 | - if( $subsection->get_sensitive_data_removal_strategy() instanceof EE_All_Sensitive_Data_Removal || |
|
11 | - $subsection->get_sensitive_data_removal_strategy() instanceof EE_CCV_Sensitive_Data_Removal ){ |
|
7 | + function ee_show_billing_info_cleaned(EE_Form_Section_Proper $form_section) { |
|
8 | + foreach ($form_section->subsections() as $subsection) { |
|
9 | + if ($subsection instanceof EE_Form_Input_Base) { |
|
10 | + if ($subsection->get_sensitive_data_removal_strategy() instanceof EE_All_Sensitive_Data_Removal || |
|
11 | + $subsection->get_sensitive_data_removal_strategy() instanceof EE_CCV_Sensitive_Data_Removal) { |
|
12 | 12 | continue; |
13 | 13 | } |
14 | 14 | ?> |
15 | 15 | <div class="clearfix"> |
16 | - <span class="admin-side-mbox-label-spn lt-grey-txt float-left"><?php echo $subsection->get_html_for_label();?></span><?php echo $subsection->pretty_value();?> |
|
16 | + <span class="admin-side-mbox-label-spn lt-grey-txt float-left"><?php echo $subsection->get_html_for_label(); ?></span><?php echo $subsection->pretty_value(); ?> |
|
17 | 17 | </div><?php |
18 | - } elseif( $subsection instanceof EE_Form_Section_Proper ) { |
|
19 | - ee_show_billing_info_cleaned( $subsection ); |
|
18 | + } elseif ($subsection instanceof EE_Form_Section_Proper) { |
|
19 | + ee_show_billing_info_cleaned($subsection); |
|
20 | 20 | } |
21 | 21 | } |
22 | 22 | } |
23 | - ee_show_billing_info_cleaned( $billing_form ); ?> |
|
24 | - <p class="help"><?php _e( 'Note: Card expiry dates and CCV are not stored. Only the last 4 digits of card numbers are stored.', 'event_espresso' );?></p> |
|
23 | + ee_show_billing_info_cleaned($billing_form); ?> |
|
24 | + <p class="help"><?php _e('Note: Card expiry dates and CCV are not stored. Only the last 4 digits of card numbers are stored.', 'event_espresso'); ?></p> |
|
25 | 25 | <?php endif; ?> |
26 | 26 | |
27 | 27 | </div> |
@@ -3,13 +3,15 @@ |
||
3 | 3 | <div class="clearfix"> |
4 | 4 | <?php _e( 'There is no billing info for this transaction.', 'event_espresso' );?><br/> |
5 | 5 | </div> |
6 | -<?php else : |
|
6 | +<?php else { |
|
7 | + : |
|
7 | 8 | function ee_show_billing_info_cleaned( EE_Form_Section_Proper $form_section ) { |
8 | 9 | foreach( $form_section->subsections() as $subsection ) { |
9 | 10 | if( $subsection instanceof EE_Form_Input_Base ) { |
10 | 11 | if( $subsection->get_sensitive_data_removal_strategy() instanceof EE_All_Sensitive_Data_Removal || |
11 | 12 | $subsection->get_sensitive_data_removal_strategy() instanceof EE_CCV_Sensitive_Data_Removal ){ |
12 | 13 | continue; |
14 | +} |
|
13 | 15 | } |
14 | 16 | ?> |
15 | 17 | <div class="clearfix"> |
@@ -9,23 +9,23 @@ discard block |
||
9 | 9 | /** @type string $edit_attendee_url */ |
10 | 10 | ?> |
11 | 11 | <div id="admin-side-mbox-primary-registrant-dv" class="admin-side-mbox-dv"> |
12 | -<?php if ( ! empty( $no_attendee_message ) ) : ?> |
|
12 | +<?php if ( ! empty($no_attendee_message)) : ?> |
|
13 | 13 | <p class="clearfix"> |
14 | 14 | <?php echo $no_attendee_message; ?> |
15 | 15 | </p> |
16 | 16 | </div> <!-- end #admin-side-mbox-primary-registrant-dv --> |
17 | 17 | <?php else : ?> |
18 | 18 | <p class="clearfix"> |
19 | - <span class="admin-side-mbox-label-spn lt-grey-txt float-left"><?php _e( 'Name', 'event_espresso' );?></span><?php echo $prime_reg_fname . ' ' . $prime_reg_lname;?> |
|
19 | + <span class="admin-side-mbox-label-spn lt-grey-txt float-left"><?php _e('Name', 'event_espresso'); ?></span><?php echo $prime_reg_fname.' '.$prime_reg_lname; ?> |
|
20 | 20 | </p> |
21 | 21 | <p class="clearfix"> |
22 | - <span class="admin-side-mbox-label-spn lt-grey-txt float-left"><?php _e( 'Email', 'event_espresso' );?></span><a href="mailto:<?php echo $prime_reg_email;?>"><?php echo $prime_reg_email;?></a> |
|
22 | + <span class="admin-side-mbox-label-spn lt-grey-txt float-left"><?php _e('Email', 'event_espresso'); ?></span><a href="mailto:<?php echo $prime_reg_email; ?>"><?php echo $prime_reg_email; ?></a> |
|
23 | 23 | </p> |
24 | 24 | <p class="clearfix"> |
25 | - <span class="admin-side-mbox-label-spn lt-grey-txt float-left"><?php _e( 'Phone #', 'event_espresso' );?></span><?php echo $prime_reg_phone;?> |
|
25 | + <span class="admin-side-mbox-label-spn lt-grey-txt float-left"><?php _e('Phone #', 'event_espresso'); ?></span><?php echo $prime_reg_phone; ?> |
|
26 | 26 | </p> |
27 | 27 | <p class="clearfix"> |
28 | - <span class="admin-side-mbox-label-spn lt-grey-txt float-left"><?php _e( 'Address', 'event_espresso' );?></span> |
|
28 | + <span class="admin-side-mbox-label-spn lt-grey-txt float-left"><?php _e('Address', 'event_espresso'); ?></span> |
|
29 | 29 | <div class="admin-side-mbox-text-dv"> |
30 | 30 | <?php echo $formatted_address; ?> |
31 | 31 | </div> |
@@ -34,8 +34,8 @@ discard block |
||
34 | 34 | |
35 | 35 | |
36 | 36 | <p style="text-align:right;"> |
37 | - <a class="button button-small" href="<?php echo $edit_attendee_url; ?>" title="<?php esc_attr_e( 'View details for this contact.', 'event_espresso' );?>"> |
|
37 | + <a class="button button-small" href="<?php echo $edit_attendee_url; ?>" title="<?php esc_attr_e('View details for this contact.', 'event_espresso'); ?>"> |
|
38 | 38 | <span class="ee-icon ee-icon-user-edit"></span><?php _e('View / Edit this Contact', 'event_espresso'); ?> |
39 | 39 | </a> |
40 | 40 | </p> |
41 | -<?php endif; //end no attendee check?> |
|
41 | +<?php endif; //end no attendee check?> |
@@ -14,9 +14,12 @@ |
||
14 | 14 | <?php echo $no_attendee_message; ?> |
15 | 15 | </p> |
16 | 16 | </div> <!-- end #admin-side-mbox-primary-registrant-dv --> |
17 | -<?php else : ?> |
|
17 | +<?php else { |
|
18 | + : ?> |
|
18 | 19 | <p class="clearfix"> |
19 | - <span class="admin-side-mbox-label-spn lt-grey-txt float-left"><?php _e( 'Name', 'event_espresso' );?></span><?php echo $prime_reg_fname . ' ' . $prime_reg_lname;?> |
|
20 | + <span class="admin-side-mbox-label-spn lt-grey-txt float-left"><?php _e( 'Name', 'event_espresso' ); |
|
21 | +} |
|
22 | +?></span><?php echo $prime_reg_fname . ' ' . $prime_reg_lname;?> |
|
20 | 23 | </p> |
21 | 24 | <p class="clearfix"> |
22 | 25 | <span class="admin-side-mbox-label-spn lt-grey-txt float-left"><?php _e( 'Email', 'event_espresso' );?></span><a href="mailto:<?php echo $prime_reg_email;?>"><?php echo $prime_reg_email;?></a> |
@@ -2,13 +2,13 @@ |
||
2 | 2 | |
3 | 3 | <table id="admin-primary-mbox-txn-details-tbl" class="form-table"> |
4 | 4 | <tbody> |
5 | - <?php foreach ( $txn_details as $key => $txn_detail ) : ?> |
|
5 | + <?php foreach ($txn_details as $key => $txn_detail) : ?> |
|
6 | 6 | <tr> |
7 | 7 | <th> |
8 | - <label for="<?php echo $key;?>"><?php echo $txn_detail['label'];?></label> |
|
8 | + <label for="<?php echo $key; ?>"><?php echo $txn_detail['label']; ?></label> |
|
9 | 9 | </th> |
10 | 10 | <td> |
11 | - <?php echo $txn_detail['value'];?> |
|
11 | + <?php echo $txn_detail['value']; ?> |
|
12 | 12 | </td> |
13 | 13 | </tr> |
14 | 14 | <?php endforeach; // $txn_details?> |
@@ -1,19 +1,19 @@ |
||
1 | 1 | |
2 | 2 | <ul class="subsubsub"> |
3 | - <li class="all"><a class="current" href="<?php echo $view_all_url;?>">View All <span class="count">(<?php echo $table_rows; ?>)</span></a></li> |
|
3 | + <li class="all"><a class="current" href="<?php echo $view_all_url; ?>">View All <span class="count">(<?php echo $table_rows; ?>)</span></a></li> |
|
4 | 4 | </ul> |
5 | 5 | |
6 | 6 | <div id="txn-filters-dv"> |
7 | - <form id="txn-filters-frm" action="<?php echo $txn_overview_url;?>" method="post" name="txn-filters-frm"> |
|
8 | - <label for="txn-filter-start-date"><?php _e( 'Display Transactions from ', 'event_espresso' ); ?></label> |
|
7 | + <form id="txn-filters-frm" action="<?php echo $txn_overview_url; ?>" method="post" name="txn-filters-frm"> |
|
8 | + <label for="txn-filter-start-date"><?php _e('Display Transactions from ', 'event_espresso'); ?></label> |
|
9 | 9 | <input id="txn-filter-start-date" class="datepicker" type="text" value="<?php echo $start_date; ?>" name="txn-filter-start-date" size="15"/> |
10 | - <label for="txn-filter-end-date"> <?php _e( 'until', 'event_espresso' ); ?> </label> |
|
10 | + <label for="txn-filter-end-date"> <?php _e('until', 'event_espresso'); ?> </label> |
|
11 | 11 | <input id="txn-filter-end-date" class="datepicker" type="text" value="<?php echo $end_date; ?>" name="txn-filter-end-date" size="15"/> |
12 | 12 | <input id="submit-txn-filters-sbmt" class="button-secondary" type="submit" value="Filter Months"> |
13 | 13 | </form> |
14 | 14 | </div> |
15 | 15 | |
16 | - <form id="transactions-overview-frm" action="<?php echo $txn_overview_url;?>" method="get"> |
|
16 | + <form id="transactions-overview-frm" action="<?php echo $txn_overview_url; ?>" method="get"> |
|
17 | 17 | <input type="hidden" name="page" value="<?php echo $_REQUEST['page'] ?>" /> |
18 | 18 | <input type="hidden" id="per_page" name="per_page" value="" /> |
19 | 19 | <?php echo $list_table->display(); ?> |
@@ -1,10 +1,10 @@ |
||
1 | 1 | <div class="wrap"> |
2 | 2 | |
3 | - <h2><?php esc_attr_e( 'Event Espresso', 'event_espresso' ); ?> - <?php esc_attr_e( $admin_page_title, 'event_espresso' ); ?></h2> |
|
3 | + <h2><?php esc_attr_e('Event Espresso', 'event_espresso'); ?> - <?php esc_attr_e($admin_page_title, 'event_espresso'); ?></h2> |
|
4 | 4 | |
5 | 5 | <h2 class="nav-tab-wrapper"> |
6 | 6 | <a class="nav-tab<?php echo $tab_active_overview; ?>" href="<?php echo $tab_url_overview; ?>"><?php echo $tab_lnk_overview; ?></a> |
7 | - <?php if ( $tab_details ) : ?> |
|
7 | + <?php if ($tab_details) : ?> |
|
8 | 8 | <a class="nav-tab<?php echo $tab_active_details; ?>" href="<?php echo $tab_url_details; ?>"><?php echo $tab_lnk_details; ?></a> |
9 | 9 | <?php endif; ?> |
10 | 10 | <a class="nav-tab<?php echo $tab_active_reports; ?>" href="<?php echo $tab_url_reports; ?>"><?php echo $tab_lnk_reports; ?></a> |