PluginProbe
ERP: Complete HR, Accounting & CRM Suite Built for WooCommerce / 1.3.13
ERP: Complete HR, Accounting & CRM Suite Built for WooCommerce v1.3.13
1.17.9 1.17.8 1.17.7 1.17.6 1.17.5 1.17.4 1.2.2 1.2.3 1.2.4 1.2.5 1.2.6 1.2.7 1.2.8 1.3.0 1.3.1 1.3.11 1.3.12 1.3.13 1.3.14 1.3.2 1.3.3 1.3.4 1.3.5 1.3.6 1.3.7 All 143 releases
erp / includes / admin / views / address.php

address.php in ERP: Complete HR, Accounting & CRM Suite Built for WooCommerce 1.3.13, at includes/admin/views/address.php

69 lines 2.3 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <ul class="edit-address">
2 <li class="row">
3 <?php erp_html_form_input( array(
4 'label' => __( 'Location Name', 'erp' ),
5 'name' => 'location_name',
6 'value' => '{{ data.name }}',
7 'required' => true
8 ) ); ?>
9 </li>
10
11 <li class="row">
12 <?php erp_html_form_input( array(
13 'label' => __( 'Address Line 1', 'erp' ),
14 'name' => 'address_1',
15 'value' => '{{{ data.address_1 }}}',
16 'required' => true
17 ) ); ?>
18 </li>
19
20 <li class="row">
21 <?php erp_html_form_input( array(
22 'label' => __( 'Address Line 2', 'erp' ),
23 'name' => 'address_2',
24 'value' => '{{ data.address_2 }}',
25 ) ); ?>
26 </li>
27
28 <li class="row">
29 <?php erp_html_form_input( array(
30 'label' => __( 'City', 'erp' ),
31 'name' => 'city',
32 'value' => '{{ data.city }}',
33 ) ); ?>
34 </li>
35
36 <li class="row" data-selected="{{ data.country }}">
37 <label for="erp-popup-country"><?php _e( 'Country', 'erp' ); ?> <span class="required">*</span></label>
38 <select name="country" id="erp-popup-country" class="erp-country-select select2" data-parent="ul">
39 <?php $country = \WeDevs\ERP\Countries::instance(); ?>
40 <?php echo $country->country_dropdown( erp_get_country() ); ?>
41 </select>
42 </li>
43
44 <li class="row state-field" data-selected="{{ data.state }}">
45 <?php erp_html_form_input( array(
46 'label' => __( 'Province / State', 'erp' ),
47 'name' => 'state',
48 'id' => 'erp-state',
49 'type' => 'select',
50 'class' => 'erp-state-select',
51 'options' => array( 0 => __( '- Select -', 'erp' ) )
52 ) ); ?>
53 </li>
54
55 <li class="row">
56 <?php erp_html_form_input( array(
57 'label' => __( 'Postal / Zip Code', 'erp' ),
58 'name' => 'zip',
59 'type' => 'text',
60 'value' => '{{ data.zip }}',
61 ) ); ?>
62 </li>
63
64 <input type="hidden" name="location_id" value="{{ data.id }}">
65 <input type="hidden" name="company_id" value="{{ data.company_id }}">
66 <input type="hidden" name="action" value="erp-company-location">
67 <?php wp_nonce_field( 'erp-company-location' ); ?>
68 </ul>
69