← All changes
|
inc/admin/views/meta-boxes/order/exports-invoice.php
+8
-11
4.1.7
→
4.4.10
View file →
| @@ -3,9 +3,9 @@ | ||
| 3 | 3 | * Admin View: Order invoice export pdf Meta box |
| 4 | 4 | * |
| 5 | 5 | * @author hungkv |
| 6 | 6 | * @since 3.2.7.8 |
| 7 | - * @version 1.0.0 | |
| 7 | + * @version 1.0.1 | |
| 8 | 8 | */ |
| 9 | 9 | |
| 10 | 10 | /** |
| 11 | 11 | * Prevent loading this file directly |
| @@ -15,11 +15,8 @@ | ||
| 15 | 15 | return; |
| 16 | 16 | } |
| 17 | 17 | |
| 18 | 18 | $currency_symbol = learn_press_get_currency_symbol( $order->get_currency() ); |
| 19 | - | |
| 20 | -// get script learnpress js pdf | |
| 21 | -wp_enqueue_script( 'learnpress-jspdf' ); | |
| 22 | 19 | ?> |
| 23 | 20 | |
| 24 | 21 | <?php global $post; ?> |
| 25 | 22 | |
| @@ -65,21 +62,21 @@ | ||
| 65 | 62 | <!--End print invoice--> |
| 66 | 63 | </div> |
| 67 | 64 | <div class="export-options panel"> |
| 68 | 65 | <div class="export-options__content"> |
| 69 | - <h5>Please select the fields you want to display</h5> | |
| 66 | + <h4>Please select the fields you want to display</h4> | |
| 70 | 67 | <div class="export-options__select"> |
| 71 | - <input type="checkbox" name="site_title" value="" checked="checked"> | |
| 68 | + <input type="checkbox" name="invoice-title" value="" checked="checked"> | |
| 72 | 69 | <label for="order_date"> <?php echo esc_html__( 'Site Title', 'learnpress' ); ?></label><br> |
| 73 | - <input type="checkbox" name="order_date" value="" checked="checked"> | |
| 70 | + <input type="checkbox" name="invoice-date" value="" checked="checked"> | |
| 74 | 71 | <label for="order_date"> <?php echo esc_html__( 'Order Date', 'learnpress' ); ?></label><br> |
| 75 | - <input type="checkbox" name="invoice_no" value="" checked="checked"> | |
| 72 | + <input type="checkbox" name="invoice-no" value="" checked="checked"> | |
| 76 | 73 | <label for="order_date"> <?php echo esc_html__( 'Invoice No.', 'learnpress' ); ?></label><br> |
| 77 | - <input type="checkbox" name="order_customer" value="" checked="checked"> | |
| 74 | + <input type="checkbox" name="invoice-customer" value="" checked="checked"> | |
| 78 | 75 | <label for="order_date"> <?php echo esc_html__( 'Customer', 'learnpress' ); ?></label><br> |
| 79 | - <input type="checkbox" name="order_email" value="" checked="checked"> | |
| 76 | + <input type="checkbox" name="invoice-email" value="" checked="checked"> | |
| 80 | 77 | <label for="order_date"> <?php echo esc_html__( 'Email', 'learnpress' ); ?></label><br> |
| 81 | - <input type="checkbox" name="order_payment" value="" checked="checked"> | |
| 78 | + <input type="checkbox" name="invoice-method" value="" checked="checked"> | |
| 82 | 79 | <label for="order_payment"> <?php echo esc_html__( 'Payment Medthod', 'learnpress' ); ?></label> |
| 83 | 80 | </div> |
| 84 | 81 | <div class="export-options__loading"> |
| 85 | 82 | <div class="spinner"></div> |