# erp/1.2.6/includes/admin/views/tools/export.php

ERP: Complete HR, Accounting &amp; CRM Suite Built for WooCommerce, version 1.2.6. 41 lines.

- Page: https://pluginprobe.com/plugins/erp/1.2.6/code/includes/admin/views/tools/export.php
- Raw: https://pluginprobe.com/plugins/erp/1.2.6/raw/includes/admin/views/tools/export.php
- Modified: 2017-10-26T08:27:54+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/erp/1.2.6/code/includes/admin/views/tools/export.php#L10-L20`.

```php
<div class="postbox">
    <div class="inside">
        <h3><?php _e( 'Export CSV', 'erp' ); ?></h3>

        <form method="post" action="<?php echo admin_url( 'admin.php?page=erp-tools' ); ?>" id="export_form">

            <table class="form-table">
                <tbody>
                    <tr>
                        <th>
                            <label for="type"><?php _e( 'Type', 'erp' ); ?></label>
                        </th>
                        <td>
                            <select name="type" id="type">
                                <?php foreach ( $import_export_types as $key => $value ) { ?>
                                    <option value="<?php echo $key; ?>"><?php _e( $value, 'erp' ); ?></option>
                                <?php } ?>
                            </select>
                            <p class="description"><?php _e( 'Select item type to export.', 'erp' ); ?></p>
                        </td>
                    </tr>
                    <tr>
                        <th>
                            <label for="fields"><?php _e( 'Fields', 'erp' ); ?> <span class="required">*</span></label>
                        </th>
                        <td>
                            <label><input type="checkbox" id="selecctall"/> <strong><?php _e( 'Select All', 'erp' ); ?></strong></label>
                            <br />
                            <div id="fields"></div>
                            <p class="description"><?php _e( 'Only selected field will be on the csv file.', 'erp' ); ?></p>
                        </td>
                    </tr>
                </tbody>
            </table>

            <?php wp_nonce_field( 'erp-import-export-nonce' ); ?>
            <?php submit_button( __( 'Export', 'erp' ), 'primary', 'erp_export_csv' ); ?>
        </form>
    </div><!-- .inside -->
</div><!-- .postbox -->

```
