@@ -1,5 +1,5 @@ discard block |
||
| 1 | 1 | <?php |
| 2 | -if (!defined('EVENT_ESPRESSO_VERSION') ) |
|
| 2 | +if ( ! defined('EVENT_ESPRESSO_VERSION')) |
|
| 3 | 3 | exit('NO direct script access allowed'); |
| 4 | 4 | |
| 5 | 5 | /** |
@@ -78,25 +78,25 @@ discard block |
||
| 78 | 78 | |
| 79 | 79 | |
| 80 | 80 | protected function _start() { |
| 81 | - $content = '<h3>' . __('Add New Default Price', 'event_espresso') . '</h3>'; |
|
| 82 | - $content .= '<p>' . __('This tour of the add new default price page will go over different areas of the screen to help you understand what they are used for.', 'event_espresso') . '</p>'; |
|
| 81 | + $content = '<h3>'.__('Add New Default Price', 'event_espresso').'</h3>'; |
|
| 82 | + $content .= '<p>'.__('This tour of the add new default price page will go over different areas of the screen to help you understand what they are used for.', 'event_espresso').'</p>'; |
|
| 83 | 83 | return $content; |
| 84 | 84 | } |
| 85 | 85 | |
| 86 | 86 | protected function _price_type_stop() { |
| 87 | - return '<p>' . __('Price Types are a way of categorizing a price, discount, tax, or surcharge and indicating how it gets applied to a running total when a transaction occurs.', 'event_espresso') . '</p>'; |
|
| 87 | + return '<p>'.__('Price Types are a way of categorizing a price, discount, tax, or surcharge and indicating how it gets applied to a running total when a transaction occurs.', 'event_espresso').'</p>'; |
|
| 88 | 88 | } |
| 89 | 89 | |
| 90 | 90 | protected function _price_name_stop() { |
| 91 | - return '<p>' . __('The name of the price, discount, tax, or surcharge that will be seen by your customers.', 'event_espresso') . '</p>'; |
|
| 91 | + return '<p>'.__('The name of the price, discount, tax, or surcharge that will be seen by your customers.', 'event_espresso').'</p>'; |
|
| 92 | 92 | } |
| 93 | 93 | |
| 94 | 94 | protected function _price_description_stop() { |
| 95 | - return '<p>' . __('View the price type (price, discount, tax or surcharge) description.', 'event_espresso') . '</p>'; |
|
| 95 | + return '<p>'.__('View the price type (price, discount, tax or surcharge) description.', 'event_espresso').'</p>'; |
|
| 96 | 96 | } |
| 97 | 97 | |
| 98 | 98 | protected function _price_amount_stop() { |
| 99 | - return '<p>' . __('The ticket amount before any deductions.', 'event_espresso') . '</p>'; |
|
| 99 | + return '<p>'.__('The ticket amount before any deductions.', 'event_espresso').'</p>'; |
|
| 100 | 100 | } |
| 101 | 101 | |
| 102 | 102 | } |
| 103 | 103 | \ No newline at end of file |
@@ -6,8 +6,9 @@ |
||
| 6 | 6 | * @package Event Espresso |
| 7 | 7 | * @subpackage messages |
| 8 | 8 | */ |
| 9 | -if (!defined('EVENT_ESPRESSO_VERSION') ) |
|
| 9 | +if (!defined('EVENT_ESPRESSO_VERSION') ) { |
|
| 10 | 10 | exit('NO direct script access allowed'); |
| 11 | +} |
|
| 11 | 12 | |
| 12 | 13 | /** |
| 13 | 14 | * |
@@ -1,5 +1,5 @@ discard block |
||
| 1 | 1 | <?php |
| 2 | -if (!defined('EVENT_ESPRESSO_VERSION') ) |
|
| 2 | +if ( ! defined('EVENT_ESPRESSO_VERSION')) |
|
| 3 | 3 | exit('NO direct script access allowed'); |
| 4 | 4 | |
| 5 | 5 | /** |
@@ -78,25 +78,25 @@ discard block |
||
| 78 | 78 | |
| 79 | 79 | |
| 80 | 80 | protected function _start() { |
| 81 | - $content = '<h3>' . __('Add New Price Type', 'event_espresso') . '</h3>'; |
|
| 82 | - $content .= '<p>' . __('This tour of the Add New Price Type page will go over different areas of the screen to help you understand what they are used for.', 'event_espresso') . '</p>'; |
|
| 81 | + $content = '<h3>'.__('Add New Price Type', 'event_espresso').'</h3>'; |
|
| 82 | + $content .= '<p>'.__('This tour of the Add New Price Type page will go over different areas of the screen to help you understand what they are used for.', 'event_espresso').'</p>'; |
|
| 83 | 83 | return $content; |
| 84 | 84 | } |
| 85 | 85 | |
| 86 | 86 | protected function _basic_type_stop() { |
| 87 | - return '<p>' . __('Set a price type to be a discount, surcharge, or tax.', 'event_espresso') . '</p>'; |
|
| 87 | + return '<p>'.__('Set a price type to be a discount, surcharge, or tax.', 'event_espresso').'</p>'; |
|
| 88 | 88 | } |
| 89 | 89 | |
| 90 | 90 | protected function _price_type_name_stop() { |
| 91 | - return '<p>' . __('The name of the price type.', 'event_espresso') . '</p>'; |
|
| 91 | + return '<p>'.__('The name of the price type.', 'event_espresso').'</p>'; |
|
| 92 | 92 | } |
| 93 | 93 | |
| 94 | 94 | protected function _percentage_dollar_amount_stop() { |
| 95 | - return '<p>' . __('Set a price type to be percentage-based or a fixed amount.', 'event_espresso') . '</p>'; |
|
| 95 | + return '<p>'.__('Set a price type to be percentage-based or a fixed amount.', 'event_espresso').'</p>'; |
|
| 96 | 96 | } |
| 97 | 97 | |
| 98 | 98 | protected function _order_of_application_stop() { |
| 99 | - return '<p>' . __('Set the order of application for a price type.', 'event_espresso') . '</p>'; |
|
| 99 | + return '<p>'.__('Set the order of application for a price type.', 'event_espresso').'</p>'; |
|
| 100 | 100 | } |
| 101 | 101 | |
| 102 | 102 | } |
| 103 | 103 | \ No newline at end of file |
@@ -6,8 +6,9 @@ |
||
| 6 | 6 | * @package Event Espresso |
| 7 | 7 | * @subpackage messages |
| 8 | 8 | */ |
| 9 | -if (!defined('EVENT_ESPRESSO_VERSION') ) |
|
| 9 | +if (!defined('EVENT_ESPRESSO_VERSION') ) { |
|
| 10 | 10 | exit('NO direct script access allowed'); |
| 11 | +} |
|
| 11 | 12 | |
| 12 | 13 | /** |
| 13 | 14 | * |
@@ -1,5 +1,5 @@ discard block |
||
| 1 | 1 | <?php |
| 2 | -if (!defined('EVENT_ESPRESSO_VERSION') ) |
|
| 2 | +if ( ! defined('EVENT_ESPRESSO_VERSION')) |
|
| 3 | 3 | exit('NO direct script access allowed'); |
| 4 | 4 | |
| 5 | 5 | /** |
@@ -99,33 +99,33 @@ discard block |
||
| 99 | 99 | |
| 100 | 100 | |
| 101 | 101 | protected function _start() { |
| 102 | - $content = '<h3>' . __('Default Pricing', 'event_espresso') . '</h3>'; |
|
| 103 | - $content .= '<p>' . __('This tour of the Default Pricing page will go over different areas of the screen to help you understand what they are used for.', 'event_espresso') . '</p>'; |
|
| 102 | + $content = '<h3>'.__('Default Pricing', 'event_espresso').'</h3>'; |
|
| 103 | + $content .= '<p>'.__('This tour of the Default Pricing page will go over different areas of the screen to help you understand what they are used for.', 'event_espresso').'</p>'; |
|
| 104 | 104 | return $content; |
| 105 | 105 | } |
| 106 | 106 | |
| 107 | 107 | protected function _name_column_stop() { |
| 108 | - return '<p>' . __('The name of the price, discount, tax, or surcharge that will be seen by your customers. Can be sorted in ascending or descending order.', 'event_espresso') . '</p>'; |
|
| 108 | + return '<p>'.__('The name of the price, discount, tax, or surcharge that will be seen by your customers. Can be sorted in ascending or descending order.', 'event_espresso').'</p>'; |
|
| 109 | 109 | } |
| 110 | 110 | |
| 111 | 111 | protected function _type_column_stop() { |
| 112 | - return '<p>' . __('Price Types are a way of categorizing a price, discount, tax, or surcharge and indicating how it gets applied to a running total when a transaction occurs. Can be sorted in ascending or descending order.', 'event_espresso') . '</p>'; |
|
| 112 | + return '<p>'.__('Price Types are a way of categorizing a price, discount, tax, or surcharge and indicating how it gets applied to a running total when a transaction occurs. Can be sorted in ascending or descending order.', 'event_espresso').'</p>'; |
|
| 113 | 113 | } |
| 114 | 114 | |
| 115 | 115 | protected function _description_column_stop() { |
| 116 | - return '<p>' . __('View the price type (price, discount, tax or surcharge) description.', 'event_espresso') . '</p>'; |
|
| 116 | + return '<p>'.__('View the price type (price, discount, tax or surcharge) description.', 'event_espresso').'</p>'; |
|
| 117 | 117 | } |
| 118 | 118 | |
| 119 | 119 | protected function _amount_column_stop() { |
| 120 | - return '<p>' . __('The ticket amount before any deductions. Can be sorted in ascending or descending order.', 'event_espresso') . '</p>'; |
|
| 120 | + return '<p>'.__('The ticket amount before any deductions. Can be sorted in ascending or descending order.', 'event_espresso').'</p>'; |
|
| 121 | 121 | } |
| 122 | 122 | |
| 123 | 123 | protected function _bulk_actions_stop() { |
| 124 | - return '<p>' . __('Perform bulk actions to multiple price types.', 'event_espresso') . '</p>'; |
|
| 124 | + return '<p>'.__('Perform bulk actions to multiple price types.', 'event_espresso').'</p>'; |
|
| 125 | 125 | } |
| 126 | 126 | |
| 127 | 127 | protected function _search_stop() { |
| 128 | - return '<p>' . __('Search through default pricing. The following sources will be searched: Price Name, Price Type, Price Description, and Price Amount.', 'event_espresso') . '</p>'; |
|
| 128 | + return '<p>'.__('Search through default pricing. The following sources will be searched: Price Name, Price Type, Price Description, and Price Amount.', 'event_espresso').'</p>'; |
|
| 129 | 129 | } |
| 130 | 130 | |
| 131 | 131 | } |
| 132 | 132 | \ No newline at end of file |
@@ -6,8 +6,9 @@ |
||
| 6 | 6 | * @package Event Espresso |
| 7 | 7 | * @subpackage messages |
| 8 | 8 | */ |
| 9 | -if (!defined('EVENT_ESPRESSO_VERSION') ) |
|
| 9 | +if (!defined('EVENT_ESPRESSO_VERSION') ) { |
|
| 10 | 10 | exit('NO direct script access allowed'); |
| 11 | +} |
|
| 11 | 12 | |
| 12 | 13 | /** |
| 13 | 14 | * |
@@ -1,5 +1,5 @@ discard block |
||
| 1 | 1 | <?php |
| 2 | -if (!defined('EVENT_ESPRESSO_VERSION') ) |
|
| 2 | +if ( ! defined('EVENT_ESPRESSO_VERSION')) |
|
| 3 | 3 | exit('NO direct script access allowed'); |
| 4 | 4 | |
| 5 | 5 | /** |
@@ -78,25 +78,25 @@ discard block |
||
| 78 | 78 | |
| 79 | 79 | |
| 80 | 80 | protected function _start() { |
| 81 | - $content = '<h3>' . __('Edit Default Price', 'event_espresso') . '</h3>'; |
|
| 82 | - $content .= '<p>' . __('This tour of the Edit Default Price page will go over different areas of the screen to help you understand what they are used for.', 'event_espresso') . '</p>'; |
|
| 81 | + $content = '<h3>'.__('Edit Default Price', 'event_espresso').'</h3>'; |
|
| 82 | + $content .= '<p>'.__('This tour of the Edit Default Price page will go over different areas of the screen to help you understand what they are used for.', 'event_espresso').'</p>'; |
|
| 83 | 83 | return $content; |
| 84 | 84 | } |
| 85 | 85 | |
| 86 | 86 | protected function _price_type_stop() { |
| 87 | - return '<p>' . __('Price Types are a way of categorizing a price, discount, tax, or surcharge and indicating how it gets applied to a running total when a transaction occurs.', 'event_espresso') . '</p>'; |
|
| 87 | + return '<p>'.__('Price Types are a way of categorizing a price, discount, tax, or surcharge and indicating how it gets applied to a running total when a transaction occurs.', 'event_espresso').'</p>'; |
|
| 88 | 88 | } |
| 89 | 89 | |
| 90 | 90 | protected function _price_name_stop() { |
| 91 | - return '<p>' . __('The name of the price, discount, tax, or surcharge that will be seen by your customers.', 'event_espresso') . '</p>'; |
|
| 91 | + return '<p>'.__('The name of the price, discount, tax, or surcharge that will be seen by your customers.', 'event_espresso').'</p>'; |
|
| 92 | 92 | } |
| 93 | 93 | |
| 94 | 94 | protected function _price_description_stop() { |
| 95 | - return '<p>' . __('View the price type (price, discount, tax or surcharge) description.', 'event_espresso') . '</p>'; |
|
| 95 | + return '<p>'.__('View the price type (price, discount, tax or surcharge) description.', 'event_espresso').'</p>'; |
|
| 96 | 96 | } |
| 97 | 97 | |
| 98 | 98 | protected function _price_amount_stop() { |
| 99 | - return '<p>' . __('The ticket amount before any deductions.', 'event_espresso') . '</p>'; |
|
| 99 | + return '<p>'.__('The ticket amount before any deductions.', 'event_espresso').'</p>'; |
|
| 100 | 100 | } |
| 101 | 101 | |
| 102 | 102 | } |
| 103 | 103 | \ No newline at end of file |
@@ -6,8 +6,9 @@ |
||
| 6 | 6 | * @package Event Espresso |
| 7 | 7 | * @subpackage messages |
| 8 | 8 | */ |
| 9 | -if (!defined('EVENT_ESPRESSO_VERSION') ) |
|
| 9 | +if (!defined('EVENT_ESPRESSO_VERSION') ) { |
|
| 10 | 10 | exit('NO direct script access allowed'); |
| 11 | +} |
|
| 11 | 12 | |
| 12 | 13 | /** |
| 13 | 14 | * |
@@ -1,5 +1,5 @@ discard block |
||
| 1 | 1 | <?php |
| 2 | -if (!defined('EVENT_ESPRESSO_VERSION') ) |
|
| 2 | +if ( ! defined('EVENT_ESPRESSO_VERSION')) |
|
| 3 | 3 | exit('NO direct script access allowed'); |
| 4 | 4 | |
| 5 | 5 | /** |
@@ -78,25 +78,25 @@ discard block |
||
| 78 | 78 | |
| 79 | 79 | |
| 80 | 80 | protected function _start() { |
| 81 | - $content = '<h3>' . __('Edit Price Type', 'event_espresso') . '</h3>'; |
|
| 82 | - $content .= '<p>' . __('This tour of the Edit Price Type page will go over different areas of the screen to help you understand what they are used for.', 'event_espresso') . '</p>'; |
|
| 81 | + $content = '<h3>'.__('Edit Price Type', 'event_espresso').'</h3>'; |
|
| 82 | + $content .= '<p>'.__('This tour of the Edit Price Type page will go over different areas of the screen to help you understand what they are used for.', 'event_espresso').'</p>'; |
|
| 83 | 83 | return $content; |
| 84 | 84 | } |
| 85 | 85 | |
| 86 | 86 | protected function _basic_type_stop() { |
| 87 | - return '<p>' . __('Set a price type to be a discount, surcharge, or tax.', 'event_espresso') . '</p>'; |
|
| 87 | + return '<p>'.__('Set a price type to be a discount, surcharge, or tax.', 'event_espresso').'</p>'; |
|
| 88 | 88 | } |
| 89 | 89 | |
| 90 | 90 | protected function _price_type_name_stop() { |
| 91 | - return '<p>' . __('The name of the price type.', 'event_espresso') . '</p>'; |
|
| 91 | + return '<p>'.__('The name of the price type.', 'event_espresso').'</p>'; |
|
| 92 | 92 | } |
| 93 | 93 | |
| 94 | 94 | protected function _percentage_dollar_amount_stop() { |
| 95 | - return '<p>' . __('Set a price type to be percentage-based or a fixed amount.', 'event_espresso') . '</p>'; |
|
| 95 | + return '<p>'.__('Set a price type to be percentage-based or a fixed amount.', 'event_espresso').'</p>'; |
|
| 96 | 96 | } |
| 97 | 97 | |
| 98 | 98 | protected function _order_of_application_stop() { |
| 99 | - return '<p>' . __('Set the order of application for a price type.', 'event_espresso') . '</p>'; |
|
| 99 | + return '<p>'.__('Set the order of application for a price type.', 'event_espresso').'</p>'; |
|
| 100 | 100 | } |
| 101 | 101 | |
| 102 | 102 | } |
| 103 | 103 | \ No newline at end of file |
@@ -6,8 +6,9 @@ |
||
| 6 | 6 | * @package Event Espresso |
| 7 | 7 | * @subpackage messages |
| 8 | 8 | */ |
| 9 | -if (!defined('EVENT_ESPRESSO_VERSION') ) |
|
| 9 | +if (!defined('EVENT_ESPRESSO_VERSION') ) { |
|
| 10 | 10 | exit('NO direct script access allowed'); |
| 11 | +} |
|
| 11 | 12 | |
| 12 | 13 | /** |
| 13 | 14 | * |
@@ -1,5 +1,5 @@ discard block |
||
| 1 | 1 | <?php |
| 2 | -if (!defined('EVENT_ESPRESSO_VERSION') ) |
|
| 2 | +if ( ! defined('EVENT_ESPRESSO_VERSION')) |
|
| 3 | 3 | exit('NO direct script access allowed'); |
| 4 | 4 | |
| 5 | 5 | /** |
@@ -99,37 +99,37 @@ discard block |
||
| 99 | 99 | |
| 100 | 100 | |
| 101 | 101 | protected function _start() { |
| 102 | - $content = '<h3>' . __('Price Types', 'event_espresso') . '</h3>'; |
|
| 103 | - $content .= '<p>' . __('This tour of the Price Types page will go over different areas of the screen to help you understand what they are used for.', 'event_espresso') . '</p>'; |
|
| 102 | + $content = '<h3>'.__('Price Types', 'event_espresso').'</h3>'; |
|
| 103 | + $content .= '<p>'.__('This tour of the Price Types page will go over different areas of the screen to help you understand what they are used for.', 'event_espresso').'</p>'; |
|
| 104 | 104 | return $content; |
| 105 | 105 | } |
| 106 | 106 | |
| 107 | 107 | protected function _name_column_stop() { |
| 108 | - return '<p>' . __('The name of the price type. Can be sorted in ascending or descending order.', 'event_espresso') . '</p>'; |
|
| 108 | + return '<p>'.__('The name of the price type. Can be sorted in ascending or descending order.', 'event_espresso').'</p>'; |
|
| 109 | 109 | } |
| 110 | 110 | |
| 111 | 111 | protected function _base_type_stop() { |
| 112 | - return '<p>' . __('View if a price type is a discount, surcharge, or tax.', 'event_espresso') . '</p>'; |
|
| 112 | + return '<p>'.__('View if a price type is a discount, surcharge, or tax.', 'event_espresso').'</p>'; |
|
| 113 | 113 | } |
| 114 | 114 | |
| 115 | 115 | protected function _member_column_stop() { |
| 116 | - return '<p>' . __('Here you can see if the discount/surcharge is percentage based or a flat monetary amount.', 'event_espresso') . '</p>'; |
|
| 116 | + return '<p>'.__('Here you can see if the discount/surcharge is percentage based or a flat monetary amount.', 'event_espresso').'</p>'; |
|
| 117 | 117 | } |
| 118 | 118 | |
| 119 | 119 | protected function _percent_column_stop() { |
| 120 | - return '<p>' . __('View if the discount, surcharge, or tax is percentage-based or a fixed amount.', 'event_espresso') . '</p>'; |
|
| 120 | + return '<p>'.__('View if the discount, surcharge, or tax is percentage-based or a fixed amount.', 'event_espresso').'</p>'; |
|
| 121 | 121 | } |
| 122 | 122 | |
| 123 | 123 | protected function _order_column_stop() { |
| 124 | - return '<p>' . __('View the order in which each discount, surcharge, or tax will be applied to the base ticket cost. Zero (0) means it will be applied first.', 'event_espresso') . '</p>'; |
|
| 124 | + return '<p>'.__('View the order in which each discount, surcharge, or tax will be applied to the base ticket cost. Zero (0) means it will be applied first.', 'event_espresso').'</p>'; |
|
| 125 | 125 | } |
| 126 | 126 | |
| 127 | 127 | protected function _bulk_actions_stop() { |
| 128 | - return '<p>' . __('Perform bulk actions to multiple price types.', 'event_espresso') . '</p>'; |
|
| 128 | + return '<p>'.__('Perform bulk actions to multiple price types.', 'event_espresso').'</p>'; |
|
| 129 | 129 | } |
| 130 | 130 | |
| 131 | 131 | protected function _search_stop() { |
| 132 | - return '<p>' . __('Search through price types. The following source will be searched: Price Type Name.', 'event_espresso') . '</p>'; |
|
| 132 | + return '<p>'.__('Search through price types. The following source will be searched: Price Type Name.', 'event_espresso').'</p>'; |
|
| 133 | 133 | } |
| 134 | 134 | |
| 135 | 135 | } |
| 136 | 136 | \ No newline at end of file |
@@ -6,8 +6,9 @@ |
||
| 6 | 6 | * @package Event Espresso |
| 7 | 7 | * @subpackage messages |
| 8 | 8 | */ |
| 9 | -if (!defined('EVENT_ESPRESSO_VERSION') ) |
|
| 9 | +if (!defined('EVENT_ESPRESSO_VERSION') ) { |
|
| 10 | 10 | exit('NO direct script access allowed'); |
| 11 | +} |
|
| 11 | 12 | |
| 12 | 13 | /** |
| 13 | 14 | * |
@@ -1,5 +1,5 @@ |
||
| 1 | 1 | <?php echo $price_modifier_selector; ?> |
| 2 | -<?php if ( $disabled ) : ?> |
|
| 2 | +<?php if ($disabled) : ?> |
|
| 3 | 3 | <input type="hidden" name="<?php echo $main_name; ?>" value="<?php echo $selected_price_type_id; ?>"> |
| 4 | 4 | <?php endif; ?> |
| 5 | 5 | |
@@ -17,7 +17,7 @@ discard block |
||
| 17 | 17 | <span class="ticket-price-info-display ticket-price-dollar-sign-display"<?php echo $show_currency_symbol; ?>><?php echo $price_currency_symbol; ?></span> |
| 18 | 18 | </td> |
| 19 | 19 | <td> |
| 20 | - <?php if ( $disabled ) : ?> |
|
| 20 | + <?php if ($disabled) : ?> |
|
| 21 | 21 | <input type="hidden" size="1" class="edit-price-PRC_amount ee-numeric" name="<?php echo $edit_prices_name; ?>[<?php echo $tkt_row; ?>][<?php echo $PRC_order; ?>][PRC_amount]" value="<?php echo $PRC_amount; ?>"> |
| 22 | 22 | <input type="text" size="1" class="edit-price-PRC_amount ee-numeric" name="prices_archive[<?php echo $tkt_row; ?>][<?php echo $PRC_order; ?>][PRC_amount]" value="<?php echo $PRC_amount; ?>" disabled> |
| 23 | 23 | <?php else : ?> |
@@ -28,7 +28,7 @@ discard block |
||
| 28 | 28 | <span class="ticket-price-info-display ticket-price-percentage-char-display"<?php echo $show_percentage; ?>>%</span> |
| 29 | 29 | </td> |
| 30 | 30 | <td> |
| 31 | - <?php if ( $disabled ) : ?> |
|
| 31 | + <?php if ($disabled) : ?> |
|
| 32 | 32 | <span class="ee-lock-icon"></span> |
| 33 | 33 | <?php else : ?> |
| 34 | 34 | <!-- <span class="gear-icon dashicons dashicons-admin-generic clickable" data-ticket-row="<?php echo $tkt_row; ?>" data-context="price" data-price-row="<?php echo $PRC_order; ?>"></span> --> |
@@ -20,8 +20,11 @@ discard block |
||
| 20 | 20 | <?php if ( $disabled ) : ?> |
| 21 | 21 | <input type="hidden" size="1" class="edit-price-PRC_amount ee-numeric" name="<?php echo $edit_prices_name; ?>[<?php echo $tkt_row; ?>][<?php echo $PRC_order; ?>][PRC_amount]" value="<?php echo $PRC_amount; ?>"> |
| 22 | 22 | <input type="text" size="1" class="edit-price-PRC_amount ee-numeric" name="prices_archive[<?php echo $tkt_row; ?>][<?php echo $PRC_order; ?>][PRC_amount]" value="<?php echo $PRC_amount; ?>" disabled> |
| 23 | - <?php else : ?> |
|
| 24 | - <input type="text" size="1" class="edit-price-PRC_amount ee-numeric" name="<?php echo $edit_prices_name; ?>[<?php echo $tkt_row; ?>][<?php echo $PRC_order; ?>][PRC_amount]" value="<?php echo $PRC_amount; ?>"> |
|
| 23 | + <?php else { |
|
| 24 | + : ?> |
|
| 25 | + <input type="text" size="1" class="edit-price-PRC_amount ee-numeric" name="<?php echo $edit_prices_name; |
|
| 26 | +} |
|
| 27 | +?>[<?php echo $tkt_row; ?>][<?php echo $PRC_order; ?>][PRC_amount]" value="<?php echo $PRC_amount; ?>"> |
|
| 25 | 28 | <?php endif; ?> |
| 26 | 29 | </td> |
| 27 | 30 | <td> |
@@ -30,8 +33,11 @@ discard block |
||
| 30 | 33 | <td> |
| 31 | 34 | <?php if ( $disabled ) : ?> |
| 32 | 35 | <span class="ee-lock-icon"></span> |
| 33 | - <?php else : ?> |
|
| 34 | - <!-- <span class="gear-icon dashicons dashicons-admin-generic clickable" data-ticket-row="<?php echo $tkt_row; ?>" data-context="price" data-price-row="<?php echo $PRC_order; ?>"></span> --> |
|
| 36 | + <?php else { |
|
| 37 | + : ?> |
|
| 38 | + <!-- <span class="gear-icon dashicons dashicons-admin-generic clickable" data-ticket-row="<?php echo $tkt_row; |
|
| 39 | +} |
|
| 40 | +?>" data-context="price" data-price-row="<?php echo $PRC_order; ?>"></span> --> |
|
| 35 | 41 | <span class="trash-icon dashicons dashicons-post-trash clickable" data-ticket-row="<?php echo $tkt_row; ?>" data-context="price" data-price-row="<?php echo $PRC_order; ?>"<?php echo $show_trash_icon; ?>></span> |
| 36 | 42 | <button data-ticket-row="<?php echo $tkt_row; ?>" data-price-row="<?php echo $PRC_order; ?>" data-context="price" class="ee-create-button"<?php echo $show_create_button; ?>><strong>+</strong></button> |
| 37 | 43 | <?php endif; ?> |
@@ -6,24 +6,33 @@ discard block |
||
| 6 | 6 | <?php if ( $disabled ) : ?> |
| 7 | 7 | <input type="hidden" id="edit-ticket-TKT_start_date-<?php echo $tkt_row; ?>" name="<?php echo $edit_tickets_name; ?>[<?php echo $tkt_row; ?>][TKT_start_date]" class="edit-ticket-TKT_start_date ee-text-inp" value="<?php echo $TKT_start_date; ?>" > |
| 8 | 8 | <input type="text" name="archived_ticket[TKT_start_date]" class="edit-ticket-TKT_start_date ee-text-inp" value="<?php echo $TKT_start_date; ?>" disabled> |
| 9 | - <?php else : ?> |
|
| 10 | - <input id="edit-ticket-TKT_start_date-<?php echo $tkt_row; ?>" type="text" name="<?php echo $edit_tickets_name; ?>[<?php echo $tkt_row; ?>][TKT_start_date]" class="edit-ticket-TKT_start_date ee-text-inp ee-datepicker" value="<?php echo $TKT_start_date; ?>" data-context="start-ticket" data-date-field-context="#display-ticketrow-<?php echo $tkt_row; ?>" data-related-field=".edit-ticket-TKT_end_date" data-next-field=".edit-ticket-TKT_end_date"> |
|
| 9 | + <?php else { |
|
| 10 | + : ?> |
|
| 11 | + <input id="edit-ticket-TKT_start_date-<?php echo $tkt_row; |
|
| 12 | +} |
|
| 13 | +?>" type="text" name="<?php echo $edit_tickets_name; ?>[<?php echo $tkt_row; ?>][TKT_start_date]" class="edit-ticket-TKT_start_date ee-text-inp ee-datepicker" value="<?php echo $TKT_start_date; ?>" data-context="start-ticket" data-date-field-context="#display-ticketrow-<?php echo $tkt_row; ?>" data-related-field=".edit-ticket-TKT_end_date" data-next-field=".edit-ticket-TKT_end_date"> |
|
| 11 | 14 | <?php endif; ?> |
| 12 | 15 | </td> |
| 13 | 16 | <td> |
| 14 | 17 | <?php if ( $disabled ) : ?> |
| 15 | 18 | <input type="hidden" id="edit-ticket-TKT_end_date-<?php echo $tkt_row; ?>" name="<?php echo $edit_tickets_name; ?>[<?php echo $tkt_row; ?>][TKT_end_date]" class="edit-ticket-TKT_end_date ee-text-inp" value="<?php echo $TKT_end_date; ?>" > |
| 16 | 19 | <input type="text" name="archived_ticket[TKT_end_date]" class="edit-ticket-TKT_end_date ee-text-inp" value="<?php echo $TKT_end_date; ?>" disabled> |
| 17 | - <?php else : ?> |
|
| 18 | - <input id="edit-ticket-TKT_end_date-<?php echo $tkt_row; ?>" type="text" name="<?php echo $edit_tickets_name; ?>[<?php echo $tkt_row; ?>][TKT_end_date]" class="edit-ticket-TKT_end_date ee-text-inp ee-datepicker" value="<?php echo $TKT_end_date; ?>" data-context="end-ticket" data-date-field-context="#display-ticketrow-<?php echo $tkt_row; ?>" data-related-field=".edit-ticket-TKT_start_date" data-next-field=".edit-ticket-TKT_qty"> |
|
| 20 | + <?php else { |
|
| 21 | + : ?> |
|
| 22 | + <input id="edit-ticket-TKT_end_date-<?php echo $tkt_row; |
|
| 23 | +} |
|
| 24 | +?>" type="text" name="<?php echo $edit_tickets_name; ?>[<?php echo $tkt_row; ?>][TKT_end_date]" class="edit-ticket-TKT_end_date ee-text-inp ee-datepicker" value="<?php echo $TKT_end_date; ?>" data-context="end-ticket" data-date-field-context="#display-ticketrow-<?php echo $tkt_row; ?>" data-related-field=".edit-ticket-TKT_start_date" data-next-field=".edit-ticket-TKT_qty"> |
|
| 19 | 25 | <?php endif; ?> |
| 20 | 26 | </td> |
| 21 | 27 | <td> |
| 22 | 28 | <?php if ( $disabled ) : ?> |
| 23 | 29 | <input id="edit-ticket-TKT_base_price-<?php echo $tkt_row; ?>" type="hidden" name="<?php echo $edit_tickets_name; ?>[<?php echo $tkt_row; ?>][TKT_base_price]" class="edit-ticket-TKT_base_price ee-small-text-inp edit-price-PRC_amount ee-numeric" value="<?php echo $TKT_base_price; ?>"> |
| 24 | 30 | <input type="text" name="archived_ticket[<?php echo $tkt_row; ?>][TKT_base_price]" class="edit-ticket-TKT_base_price ee-small-text-inp edit-price-PRC_amount ee-numeric" value="<?php echo $TKT_base_price; ?>" disabled> |
| 25 | - <?php else : ?> |
|
| 26 | - <input id="edit-ticket-TKT_base_price-<?php echo $tkt_row; ?>" type="text" name="<?php echo $edit_tickets_name; ?>[<?php echo $tkt_row; ?>][TKT_base_price]" class="edit-ticket-TKT_base_price ee-small-text-inp edit-price-PRC_amount ee-numeric" value="<?php echo $TKT_base_price; ?>"> |
|
| 31 | + <?php else { |
|
| 32 | + : ?> |
|
| 33 | + <input id="edit-ticket-TKT_base_price-<?php echo $tkt_row; |
|
| 34 | +} |
|
| 35 | +?>" type="text" name="<?php echo $edit_tickets_name; ?>[<?php echo $tkt_row; ?>][TKT_base_price]" class="edit-ticket-TKT_base_price ee-small-text-inp edit-price-PRC_amount ee-numeric" value="<?php echo $TKT_base_price; ?>"> |
|
| 27 | 36 | <?php endif; ?> |
| 28 | 37 | <input type="hidden" id="edit-ticket-TKT_base_price_ID-<?php echo $tkt_row; ?>" name="<?php echo $edit_tickets_name; ?>[<?php echo $tkt_row; ?>][TKT_base_price_ID]" value="<?php echo $TKT_base_price_ID; ?>"> |
| 29 | 38 | </td> |
@@ -31,8 +40,11 @@ discard block |
||
| 31 | 40 | <?php if ( $disabled ) : ?> |
| 32 | 41 | <input type="hidden" class="edit-ticket-TKT_qty ee-small-text-inp ee-numeric" name="<?php echo $edit_tickets_name; ?>[<?php echo $tkt_row; ?>][TKT_qty]" value="<?php echo $TKT_qty_for_input; ?>"> |
| 33 | 42 | <input type="text" class="edit-ticket-TKT_qty ee-small-text-inp ee-numeric" name="archived_ticket[<?php echo $tkt_row; ?>][TKT_qty]" value="<?php echo $TKT_qty_for_input; ?>" disabled> |
| 34 | - <?php else : ?> |
|
| 35 | - <input type="text" id="edit-ticket-TKT_qty-<?php echo $tkt_row; ?>"class="edit-ticket-TKT_qty ee-small-text-inp ee-numeric" name="<?php echo $edit_tickets_name; ?>[<?php echo $tkt_row; ?>][TKT_qty]" value="<?php echo $TKT_qty_for_input; ?>"> |
|
| 43 | + <?php else { |
|
| 44 | + : ?> |
|
| 45 | + <input type="text" id="edit-ticket-TKT_qty-<?php echo $tkt_row; |
|
| 46 | +} |
|
| 47 | +?>"class="edit-ticket-TKT_qty ee-small-text-inp ee-numeric" name="<?php echo $edit_tickets_name; ?>[<?php echo $tkt_row; ?>][TKT_qty]" value="<?php echo $TKT_qty_for_input; ?>"> |
|
| 36 | 48 | <?php endif; ?> |
| 37 | 49 | </td> |
| 38 | 50 | <!--<td><span class="ticket-display-row-TKT_price"><?php echo $TKT_price; ?></span></td>--> |
@@ -71,24 +83,33 @@ discard block |
||
| 71 | 83 | <?php if ( $disabled ) : ?> |
| 72 | 84 | <input type="hidden" class="edit-ticket-TKT_uses ee-small-text-inp ee-numeric" name="<?php echo $edit_tickets_name; ?>[<?php echo $tkt_row; ?>][TKT_uses]" value="<?php echo $TKT_uses; ?>"> |
| 73 | 85 | <input type="text" class="edit-ticket-TKT_uses ee-small-text-inp ee-numeric" name="archived_ticket[<?php echo $tkt_row; ?>][TKT_uses]" value="<?php echo $TKT_uses; ?>" disabled> |
| 74 | - <?php else : ?> |
|
| 75 | - <input type="text" class="edit-ticket-TKT_uses ee-small-text-inp ee-numeric" name="<?php echo $edit_tickets_name; ?>[<?php echo $tkt_row; ?>][TKT_uses]" value="<?php echo $TKT_uses; ?>"> |
|
| 86 | + <?php else { |
|
| 87 | + : ?> |
|
| 88 | + <input type="text" class="edit-ticket-TKT_uses ee-small-text-inp ee-numeric" name="<?php echo $edit_tickets_name; |
|
| 89 | +} |
|
| 90 | +?>[<?php echo $tkt_row; ?>][TKT_uses]" value="<?php echo $TKT_uses; ?>"> |
|
| 76 | 91 | <?php endif; ?> |
| 77 | 92 | </td> |
| 78 | 93 | <td> |
| 79 | 94 | <?php if ( $disabled ) : ?> |
| 80 | 95 | <input type="hidden" class="edit-ticket-TKT_min ee-small-text-inp ee-numeric" name="<?php echo $edit_tickets_name; ?>[<?php echo $tkt_row; ?>][TKT_min]" value="<?php echo $TKT_min; ?>"> |
| 81 | 96 | <input type="text" class="edit-ticket-TKT_min ee-small-text-inp ee-numeric" name="archived_ticket[<?php echo $tkt_row; ?>][TKT_min]" value="<?php echo $TKT_min; ?>" disabled> |
| 82 | - <?php else: ?> |
|
| 83 | - <input type="text" class="edit-ticket-TKT_min ee-small-text-inp ee-numeric" name="<?php echo $edit_tickets_name; ?>[<?php echo $tkt_row; ?>][TKT_min]" value="<?php echo $TKT_min; ?>"> |
|
| 97 | + <?php else { |
|
| 98 | + : ?> |
|
| 99 | + <input type="text" class="edit-ticket-TKT_min ee-small-text-inp ee-numeric" name="<?php echo $edit_tickets_name; |
|
| 100 | +} |
|
| 101 | +?>[<?php echo $tkt_row; ?>][TKT_min]" value="<?php echo $TKT_min; ?>"> |
|
| 84 | 102 | <?php endif; ?> |
| 85 | 103 | </td> |
| 86 | 104 | <td> |
| 87 | 105 | <?php if ( $disabled ) : ?> |
| 88 | 106 | <input type="hidden" class="edit-ticket-TKT_max ee-small-text-inp ee-numeric" name="<?php echo $edit_tickets_name; ?>[<?php echo $tkt_row; ?>][TKT_max]" value="<?php echo $TKT_max; ?>"> |
| 89 | 107 | <input type="text" class="edit-ticket-TKT_max ee-small-text-inp ee-numeric" name="<?php echo $edit_tickets_name; ?>[<?php echo $tkt_row; ?>][TKT_max]" value="<?php echo $TKT_max; ?>" disabled> |
| 90 | - <?php else : ?> |
|
| 91 | - <input type="text" class="edit-ticket-TKT_max ee-small-text-inp ee-numeric" name="<?php echo $edit_tickets_name; ?>[<?php echo $tkt_row; ?>][TKT_max]" value="<?php echo $TKT_max; ?>"> |
|
| 108 | + <?php else { |
|
| 109 | + : ?> |
|
| 110 | + <input type="text" class="edit-ticket-TKT_max ee-small-text-inp ee-numeric" name="<?php echo $edit_tickets_name; |
|
| 111 | +} |
|
| 112 | +?>[<?php echo $tkt_row; ?>][TKT_max]" value="<?php echo $TKT_max; ?>"> |
|
| 92 | 113 | <?php endif; ?> |
| 93 | 114 | </td> |
| 94 | 115 | </tr> |
@@ -109,8 +130,11 @@ discard block |
||
| 109 | 130 | ?> |
| 110 | 131 | <input class="TKT-taxable-checkbox" type="hidden" name="<?php echo $edit_tickets_name;?>[<?php echo $tkt_row; ?>][TKT_taxable]" value="<?php echo $tax_value; ?>"> |
| 111 | 132 | <input class="TKT-taxable-checkbox" id="edit-ticket-TKT_taxable-<?php echo $tkt_row; ?>" type="checkbox" name="archived_ticket[<?php echo $tkt_row; ?>][TKT_taxable]" value="1"<?php echo $TKT_taxable; ?> disabled> |
| 112 | - <?php else : ?> |
|
| 113 | - <input class="TKT-taxable-checkbox" id="edit-ticket-TKT_taxable-<?php echo $tkt_row; ?>" type="checkbox" name="<?php echo $edit_tickets_name;?>[<?php echo $tkt_row; ?>][TKT_taxable]" value="1"<?php echo $TKT_taxable; ?>> |
|
| 133 | + <?php else { |
|
| 134 | + : ?> |
|
| 135 | + <input class="TKT-taxable-checkbox" id="edit-ticket-TKT_taxable-<?php echo $tkt_row; |
|
| 136 | +} |
|
| 137 | +?>" type="checkbox" name="<?php echo $edit_tickets_name;?>[<?php echo $tkt_row; ?>][TKT_taxable]" value="1"<?php echo $TKT_taxable; ?>> |
|
| 114 | 138 | <?php endif; ?> |
| 115 | 139 | <label for="edit-ticket-TKT_taxable-<?php echo $tkt_row; ?>"> <?php _e('This ticket is taxable.', 'event_espresso'); ?> |
| 116 | 140 | <?php } //end tax_rows check ?> |
@@ -3,7 +3,7 @@ discard block |
||
| 3 | 3 | <td class="ee-tkt-order-field"><span class="ee-status-strip-td ee-status-strip<?php echo $tkt_status_class; ?>"></span><input type="hidden" name="<?php echo $edit_tickets_name; ?>[<?php echo $tkt_row; ?>][TKT_order]" class="edit-ticket-TKT_order" value ="<?php echo $TKT_order; ?>"></td> |
| 4 | 4 | <td><input maxlength="245" type="text" name="<?php echo $edit_tickets_name; ?>[<?php echo $tkt_row; ?>][TKT_name]" class="edit-ticket-TKT_name ee-large-text-inp" placeholder="Ticket Title" value="<?php echo $TKT_name; ?>"></td> |
| 5 | 5 | <td> |
| 6 | - <?php if ( $disabled ) : ?> |
|
| 6 | + <?php if ($disabled) : ?> |
|
| 7 | 7 | <input type="hidden" id="edit-ticket-TKT_start_date-<?php echo $tkt_row; ?>" name="<?php echo $edit_tickets_name; ?>[<?php echo $tkt_row; ?>][TKT_start_date]" class="edit-ticket-TKT_start_date ee-text-inp" value="<?php echo $TKT_start_date; ?>" > |
| 8 | 8 | <input type="text" name="archived_ticket[TKT_start_date]" class="edit-ticket-TKT_start_date ee-text-inp" value="<?php echo $TKT_start_date; ?>" disabled> |
| 9 | 9 | <?php else : ?> |
@@ -11,7 +11,7 @@ discard block |
||
| 11 | 11 | <?php endif; ?> |
| 12 | 12 | </td> |
| 13 | 13 | <td> |
| 14 | - <?php if ( $disabled ) : ?> |
|
| 14 | + <?php if ($disabled) : ?> |
|
| 15 | 15 | <input type="hidden" id="edit-ticket-TKT_end_date-<?php echo $tkt_row; ?>" name="<?php echo $edit_tickets_name; ?>[<?php echo $tkt_row; ?>][TKT_end_date]" class="edit-ticket-TKT_end_date ee-text-inp" value="<?php echo $TKT_end_date; ?>" > |
| 16 | 16 | <input type="text" name="archived_ticket[TKT_end_date]" class="edit-ticket-TKT_end_date ee-text-inp" value="<?php echo $TKT_end_date; ?>" disabled> |
| 17 | 17 | <?php else : ?> |
@@ -19,7 +19,7 @@ discard block |
||
| 19 | 19 | <?php endif; ?> |
| 20 | 20 | </td> |
| 21 | 21 | <td> |
| 22 | - <?php if ( $disabled ) : ?> |
|
| 22 | + <?php if ($disabled) : ?> |
|
| 23 | 23 | <input id="edit-ticket-TKT_base_price-<?php echo $tkt_row; ?>" type="hidden" name="<?php echo $edit_tickets_name; ?>[<?php echo $tkt_row; ?>][TKT_base_price]" class="edit-ticket-TKT_base_price ee-small-text-inp edit-price-PRC_amount ee-numeric" value="<?php echo $TKT_base_price; ?>"> |
| 24 | 24 | <input type="text" name="archived_ticket[<?php echo $tkt_row; ?>][TKT_base_price]" class="edit-ticket-TKT_base_price ee-small-text-inp edit-price-PRC_amount ee-numeric" value="<?php echo $TKT_base_price; ?>" disabled> |
| 25 | 25 | <?php else : ?> |
@@ -28,7 +28,7 @@ discard block |
||
| 28 | 28 | <input type="hidden" id="edit-ticket-TKT_base_price_ID-<?php echo $tkt_row; ?>" name="<?php echo $edit_tickets_name; ?>[<?php echo $tkt_row; ?>][TKT_base_price_ID]" value="<?php echo $TKT_base_price_ID; ?>"> |
| 29 | 29 | </td> |
| 30 | 30 | <td> |
| 31 | - <?php if ( $disabled ) : ?> |
|
| 31 | + <?php if ($disabled) : ?> |
|
| 32 | 32 | <input type="hidden" class="edit-ticket-TKT_qty ee-small-text-inp ee-numeric" name="<?php echo $edit_tickets_name; ?>[<?php echo $tkt_row; ?>][TKT_qty]" value="<?php echo $TKT_qty_for_input; ?>"> |
| 33 | 33 | <input type="text" class="edit-ticket-TKT_qty ee-small-text-inp ee-numeric" name="archived_ticket[<?php echo $tkt_row; ?>][TKT_qty]" value="<?php echo $TKT_qty_for_input; ?>" disabled> |
| 34 | 34 | <?php else : ?> |
@@ -49,10 +49,10 @@ discard block |
||
| 49 | 49 | <input type="hidden" name="<?php echo $edit_tickets_name; ?>[<?php echo $tkt_row; ?>][TKT_ID]" class="edit-ticket-TKT_ID" value="<?php echo $TKT_ID; ?>"> |
| 50 | 50 | <input type="hidden" name="<?php echo $edit_tickets_name; ?>[<?php echo $tkt_row; ?>][TKT_row]" class="edit-ticket-TKT_row" value="<?php echo $tkt_row; ?>"> |
| 51 | 51 | |
| 52 | - <!--<div class="total-price-container"><?php printf( esc_html__('Total Final Price: %s', 'event_espresso'), '<span class="ticket-price-amount">' . $TKT_price . '</span>'); ?> </div>--> |
|
| 52 | + <!--<div class="total-price-container"><?php printf(esc_html__('Total Final Price: %s', 'event_espresso'), '<span class="ticket-price-amount">'.$TKT_price.'</span>'); ?> </div>--> |
|
| 53 | 53 | <textarea name="<?php echo $edit_tickets_name; ?>[<?php echo $tkt_row; ?>][TKT_description]" class="edit-ticket-TKT_description ee-full-textarea-inp" placeholder="Ticket Description"><?php echo $TKT_description; ?></textarea> |
| 54 | 54 | |
| 55 | - <?php do_action( 'AHEE__event_tickets_datetime_ticket_row_template_after_desc', $tkt_row, $TKT_ID ); ?> |
|
| 55 | + <?php do_action('AHEE__event_tickets_datetime_ticket_row_template_after_desc', $tkt_row, $TKT_ID); ?> |
|
| 56 | 56 | |
| 57 | 57 | <div class="basic-ticket-container"> |
| 58 | 58 | <h4 class="tickets-heading"><?php esc_html_e('Ticket Details', 'event_espresso'); ?></h4> |
@@ -68,7 +68,7 @@ discard block |
||
| 68 | 68 | <tbody> |
| 69 | 69 | <tr> |
| 70 | 70 | <td> |
| 71 | - <?php if ( $disabled ) : ?> |
|
| 71 | + <?php if ($disabled) : ?> |
|
| 72 | 72 | <input type="hidden" class="edit-ticket-TKT_uses ee-small-text-inp ee-numeric" name="<?php echo $edit_tickets_name; ?>[<?php echo $tkt_row; ?>][TKT_uses]" value="<?php echo $TKT_uses; ?>"> |
| 73 | 73 | <input type="text" class="edit-ticket-TKT_uses ee-small-text-inp ee-numeric" name="archived_ticket[<?php echo $tkt_row; ?>][TKT_uses]" value="<?php echo $TKT_uses; ?>" disabled> |
| 74 | 74 | <?php else : ?> |
@@ -76,7 +76,7 @@ discard block |
||
| 76 | 76 | <?php endif; ?> |
| 77 | 77 | </td> |
| 78 | 78 | <td> |
| 79 | - <?php if ( $disabled ) : ?> |
|
| 79 | + <?php if ($disabled) : ?> |
|
| 80 | 80 | <input type="hidden" class="edit-ticket-TKT_min ee-small-text-inp ee-numeric" name="<?php echo $edit_tickets_name; ?>[<?php echo $tkt_row; ?>][TKT_min]" value="<?php echo $TKT_min; ?>"> |
| 81 | 81 | <input type="text" class="edit-ticket-TKT_min ee-small-text-inp ee-numeric" name="archived_ticket[<?php echo $tkt_row; ?>][TKT_min]" value="<?php echo $TKT_min; ?>" disabled> |
| 82 | 82 | <?php else: ?> |
@@ -84,7 +84,7 @@ discard block |
||
| 84 | 84 | <?php endif; ?> |
| 85 | 85 | </td> |
| 86 | 86 | <td> |
| 87 | - <?php if ( $disabled ) : ?> |
|
| 87 | + <?php if ($disabled) : ?> |
|
| 88 | 88 | <input type="hidden" class="edit-ticket-TKT_max ee-small-text-inp ee-numeric" name="<?php echo $edit_tickets_name; ?>[<?php echo $tkt_row; ?>][TKT_max]" value="<?php echo $TKT_max; ?>"> |
| 89 | 89 | <input type="text" class="edit-ticket-TKT_max ee-small-text-inp ee-numeric" name="<?php echo $edit_tickets_name; ?>[<?php echo $tkt_row; ?>][TKT_max]" value="<?php echo $TKT_max; ?>" disabled> |
| 90 | 90 | <?php else : ?> |
@@ -102,15 +102,15 @@ discard block |
||
| 102 | 102 | <label for="edit-ticket-TKT_required"><?php esc_html_e('This ticket is required (will appear first in frontend ticket lists).', 'event_espresso'); ?></label> |
| 103 | 103 | </div> |
| 104 | 104 | <div class="ticket-is-taxable-container"> |
| 105 | - <?php if ( !empty($tax_rows) ) { ?> |
|
| 106 | - <?php if ( $disabled ) : ?> |
|
| 105 | + <?php if ( ! empty($tax_rows)) { ?> |
|
| 106 | + <?php if ($disabled) : ?> |
|
| 107 | 107 | <?php |
| 108 | - $tax_value = !empty( $TKT_taxable ) ? 1 : 0; |
|
| 108 | + $tax_value = ! empty($TKT_taxable) ? 1 : 0; |
|
| 109 | 109 | ?> |
| 110 | - <input class="TKT-taxable-checkbox" type="hidden" name="<?php echo $edit_tickets_name;?>[<?php echo $tkt_row; ?>][TKT_taxable]" value="<?php echo $tax_value; ?>"> |
|
| 110 | + <input class="TKT-taxable-checkbox" type="hidden" name="<?php echo $edit_tickets_name; ?>[<?php echo $tkt_row; ?>][TKT_taxable]" value="<?php echo $tax_value; ?>"> |
|
| 111 | 111 | <input class="TKT-taxable-checkbox" id="edit-ticket-TKT_taxable-<?php echo $tkt_row; ?>" type="checkbox" name="archived_ticket[<?php echo $tkt_row; ?>][TKT_taxable]" value="1"<?php echo $TKT_taxable; ?> disabled> |
| 112 | 112 | <?php else : ?> |
| 113 | - <input class="TKT-taxable-checkbox" id="edit-ticket-TKT_taxable-<?php echo $tkt_row; ?>" type="checkbox" name="<?php echo $edit_tickets_name;?>[<?php echo $tkt_row; ?>][TKT_taxable]" value="1"<?php echo $TKT_taxable; ?>> |
|
| 113 | + <input class="TKT-taxable-checkbox" id="edit-ticket-TKT_taxable-<?php echo $tkt_row; ?>" type="checkbox" name="<?php echo $edit_tickets_name; ?>[<?php echo $tkt_row; ?>][TKT_taxable]" value="1"<?php echo $TKT_taxable; ?>> |
|
| 114 | 114 | <?php endif; ?> |
| 115 | 115 | <label for="edit-ticket-TKT_taxable-<?php echo $tkt_row; ?>"> <?php esc_html_e('This ticket is taxable.', 'event_espresso'); ?> |
| 116 | 116 | <?php } //end tax_rows check ?> |
@@ -167,10 +167,10 @@ discard block |
||
| 167 | 167 | <?php echo $ticket_datetimes_list; ?> |
| 168 | 168 | </ul> |
| 169 | 169 | |
| 170 | - <?php do_action( 'AHEE__event_tickets_datetime_ticket_row_template__advanced_details_end', $tkt_row, $TKT_ID ); ?> |
|
| 170 | + <?php do_action('AHEE__event_tickets_datetime_ticket_row_template__advanced_details_end', $tkt_row, $TKT_ID); ?> |
|
| 171 | 171 | <div class="ee-editor-footer-container"> |
| 172 | 172 | <div class="ee-editor-id-container"> |
| 173 | - <span class="ee-item-id"><?php echo $TKT_ID ? sprintf( esc_html__( 'Ticket ID: %d', 'event_espresso' ), $TKT_ID ) : ''; ?></span> |
|
| 173 | + <span class="ee-item-id"><?php echo $TKT_ID ? sprintf(esc_html__('Ticket ID: %d', 'event_espresso'), $TKT_ID) : ''; ?></span> |
|
| 174 | 174 | </div> |
| 175 | 175 | <div class="save-cancel-button-container"> |
| 176 | 176 | <label for="edit-ticket-TKT_is_default_selector"><?php esc_html_e('use this new ticket as a default ticket for any new events', 'event_espresso'); ?></label> |