@@ -7,38 +7,38 @@ |
||
7 | 7 | * @version 1.0.19 |
8 | 8 | */ |
9 | 9 | |
10 | -defined( 'ABSPATH' ) || exit; |
|
10 | +defined('ABSPATH') || exit; |
|
11 | 11 | |
12 | 12 | ?> |
13 | 13 | |
14 | 14 | <small class='form-text text-muted mb-2'> |
15 | - <?php esc_html_e( 'The amount that users add to this field will be added to the total amount for this form', 'invoicing' ); ?> |
|
15 | + <?php esc_html_e('The amount that users add to this field will be added to the total amount for this form', 'invoicing'); ?> |
|
16 | 16 | </small> |
17 | 17 | |
18 | 18 | <div class='form-group'> |
19 | 19 | <label class="d-block"> |
20 | - <span><?php esc_html_e( 'Field Label', 'invoicing' ); ?></span> |
|
20 | + <span><?php esc_html_e('Field Label', 'invoicing'); ?></span> |
|
21 | 21 | <input v-model='active_form_element.label' class='form-control' type="text"/> |
22 | 22 | </label> |
23 | 23 | </div> |
24 | 24 | |
25 | 25 | <div class='form-group'> |
26 | 26 | <label class="d-block"> |
27 | - <span><?php esc_html_e( 'Default Amount', 'invoicing' ); ?></span> |
|
27 | + <span><?php esc_html_e('Default Amount', 'invoicing'); ?></span> |
|
28 | 28 | <input v-model='active_form_element.value' class='form-control' type="text"/> |
29 | 29 | </label> |
30 | 30 | </div> |
31 | 31 | |
32 | 32 | <div class='form-group'> |
33 | 33 | <label class="d-block"> |
34 | - <span><?php esc_html_e( 'Placeholder text', 'invoicing' ); ?></span> |
|
34 | + <span><?php esc_html_e('Placeholder text', 'invoicing'); ?></span> |
|
35 | 35 | <input v-model='active_form_element.placeholder' class='form-control' type="text"/> |
36 | 36 | </label> |
37 | 37 | </div> |
38 | 38 | |
39 | 39 | <div class='form-group'> |
40 | 40 | <label class="d-block"> |
41 | - <span><?php esc_html_e( 'Help Text', 'invoicing' ); ?></span> |
|
42 | - <textarea placeholder='<?php esc_attr_e( 'Add some help text for this field', 'invoicing' ); ?>' v-model='active_form_element.description' class='form-control' rows='3'></textarea> |
|
41 | + <span><?php esc_html_e('Help Text', 'invoicing'); ?></span> |
|
42 | + <textarea placeholder='<?php esc_attr_e('Add some help text for this field', 'invoicing'); ?>' v-model='active_form_element.description' class='form-control' rows='3'></textarea> |
|
43 | 43 | </label> |
44 | 44 | </div> |
@@ -7,32 +7,32 @@ |
||
7 | 7 | * @version 1.0.19 |
8 | 8 | */ |
9 | 9 | |
10 | -defined( 'ABSPATH' ) || exit; |
|
10 | +defined('ABSPATH') || exit; |
|
11 | 11 | |
12 | 12 | ?> |
13 | 13 | |
14 | 14 | <div class='form-group'> |
15 | 15 | <label class="d-block"> |
16 | - <span><?php esc_html_e( 'Field Label', 'invoicing' ); ?></span> |
|
16 | + <span><?php esc_html_e('Field Label', 'invoicing'); ?></span> |
|
17 | 17 | <input v-model='active_form_element.label' class='form-control' type="text"/> |
18 | 18 | </label> |
19 | 19 | </div> |
20 | 20 | |
21 | 21 | <div class='form-group'> |
22 | 22 | <label class="d-block"> |
23 | - <span><?php esc_html_e( 'Placeholder text', 'invoicing' ); ?></span> |
|
23 | + <span><?php esc_html_e('Placeholder text', 'invoicing'); ?></span> |
|
24 | 24 | <input v-model='active_form_element.placeholder' class='form-control' type="text"/> |
25 | 25 | </label> |
26 | 26 | </div> |
27 | 27 | |
28 | 28 | <div class='form-group'> |
29 | 29 | <label class="d-block"> |
30 | - <span><?php esc_html_e( 'Help Text', 'invoicing' ); ?></span> |
|
31 | - <textarea placeholder='<?php esc_attr_e( 'Add some help text for this field', 'invoicing' ); ?>' v-model='active_form_element.description' class='form-control' rows='3'></textarea> |
|
30 | + <span><?php esc_html_e('Help Text', 'invoicing'); ?></span> |
|
31 | + <textarea placeholder='<?php esc_attr_e('Add some help text for this field', 'invoicing'); ?>' v-model='active_form_element.description' class='form-control' rows='3'></textarea> |
|
32 | 32 | </label> |
33 | 33 | </div> |
34 | 34 | |
35 | 35 | <div class='form-group form-check'> |
36 | 36 | <input :for="active_form_element.id + '_edit'" v-model='active_form_element.required' type='checkbox' class='form-check-input' /> |
37 | - <label class='form-check-label' :for="active_form_element.id + '_edit'"><?php esc_html_e( 'Is this field required?', 'invoicing' ); ?></label> |
|
37 | + <label class='form-check-label' :for="active_form_element.id + '_edit'"><?php esc_html_e('Is this field required?', 'invoicing'); ?></label> |
|
38 | 38 | </div> |
@@ -7,32 +7,32 @@ |
||
7 | 7 | * @version 1.0.19 |
8 | 8 | */ |
9 | 9 | |
10 | -defined( 'ABSPATH' ) || exit; |
|
10 | +defined('ABSPATH') || exit; |
|
11 | 11 | |
12 | 12 | ?> |
13 | 13 | |
14 | 14 | <div class='form-group'> |
15 | 15 | <label class="d-block"> |
16 | - <span><?php esc_html_e( 'Field Label', 'invoicing' ); ?></span> |
|
16 | + <span><?php esc_html_e('Field Label', 'invoicing'); ?></span> |
|
17 | 17 | <input v-model='active_form_element.label' class='form-control' type="text"/> |
18 | 18 | </label> |
19 | 19 | </div> |
20 | 20 | |
21 | 21 | <div class='form-group'> |
22 | 22 | <label class="d-block"> |
23 | - <span><?php esc_html_e( 'Placeholder text', 'invoicing' ); ?></span> |
|
23 | + <span><?php esc_html_e('Placeholder text', 'invoicing'); ?></span> |
|
24 | 24 | <input v-model='active_form_element.placeholder' class='form-control' type="text"/> |
25 | 25 | </label> |
26 | 26 | </div> |
27 | 27 | |
28 | 28 | <div class='form-group'> |
29 | 29 | <label class="d-block"> |
30 | - <span><?php esc_html_e( 'Help Text', 'invoicing' ); ?></span> |
|
31 | - <textarea placeholder='<?php esc_attr_e( 'Add some help text for this field', 'invoicing' ); ?>' v-model='active_form_element.description' class='form-control' rows='3'></textarea> |
|
30 | + <span><?php esc_html_e('Help Text', 'invoicing'); ?></span> |
|
31 | + <textarea placeholder='<?php esc_attr_e('Add some help text for this field', 'invoicing'); ?>' v-model='active_form_element.description' class='form-control' rows='3'></textarea> |
|
32 | 32 | </label> |
33 | 33 | </div> |
34 | 34 | |
35 | 35 | <div class='form-group form-check'> |
36 | 36 | <input :for="active_form_element.id + '_edit'" v-model='active_form_element.required' type='checkbox' class='form-check-input' /> |
37 | - <label class='form-check-label' :for="active_form_element.id + '_edit'"><?php esc_html_e( 'Is this field required?', 'invoicing' ); ?></label> |
|
37 | + <label class='form-check-label' :for="active_form_element.id + '_edit'"><?php esc_html_e('Is this field required?', 'invoicing'); ?></label> |
|
38 | 38 | </div> |
@@ -7,37 +7,37 @@ |
||
7 | 7 | * @version 1.0.19 |
8 | 8 | */ |
9 | 9 | |
10 | -defined( 'ABSPATH' ) || exit; |
|
10 | +defined('ABSPATH') || exit; |
|
11 | 11 | |
12 | 12 | ?> |
13 | 13 | |
14 | 14 | <div class='form-group'> |
15 | 15 | <label class="d-block"> |
16 | - <span><?php esc_html_e( 'Field Label', 'invoicing' ); ?></span> |
|
16 | + <span><?php esc_html_e('Field Label', 'invoicing'); ?></span> |
|
17 | 17 | <input v-model='active_form_element.label' class='form-control' type="text"/> |
18 | 18 | </label> |
19 | 19 | </div> |
20 | 20 | |
21 | 21 | <div class='form-group form-check'> |
22 | 22 | <input :for="active_form_element.id + '_edit_hide'" v-model='active_form_element.hide_billing_email' type='checkbox' class='form-check-input' /> |
23 | - <label class='form-check-label' :for="active_form_element.id + '_edit_hide'"><?php esc_html_e( 'Hide if the user is logged in', 'invoicing' ); ?></label> |
|
23 | + <label class='form-check-label' :for="active_form_element.id + '_edit_hide'"><?php esc_html_e('Hide if the user is logged in', 'invoicing'); ?></label> |
|
24 | 24 | </div> |
25 | 25 | |
26 | 26 | <div class='form-group'> |
27 | 27 | <label class="d-block"> |
28 | - <span><?php esc_html_e( 'Placeholder text', 'invoicing' ); ?></span> |
|
28 | + <span><?php esc_html_e('Placeholder text', 'invoicing'); ?></span> |
|
29 | 29 | <input v-model='active_form_element.placeholder' class='form-control' type="text"/> |
30 | 30 | </label> |
31 | 31 | </div> |
32 | 32 | |
33 | 33 | <div class='form-group'> |
34 | 34 | <label class="d-block"> |
35 | - <span><?php esc_html_e( 'Help Text', 'invoicing' ); ?></span> |
|
36 | - <textarea placeholder='<?php esc_attr_e( 'Add some help text for this field', 'invoicing' ); ?>' v-model='active_form_element.description' class='form-control' rows='3'></textarea> |
|
35 | + <span><?php esc_html_e('Help Text', 'invoicing'); ?></span> |
|
36 | + <textarea placeholder='<?php esc_attr_e('Add some help text for this field', 'invoicing'); ?>' v-model='active_form_element.description' class='form-control' rows='3'></textarea> |
|
37 | 37 | </label> |
38 | 38 | </div> |
39 | 39 | |
40 | 40 | <div class='form-group form-check'> |
41 | 41 | <input :for="active_form_element.id + '_edit'" v-model='active_form_element.required' type='checkbox' class='form-check-input' /> |
42 | - <label class='form-check-label' :for="active_form_element.id + '_edit'"><?php esc_html_e( 'Is this field required?', 'invoicing' ); ?></label> |
|
42 | + <label class='form-check-label' :for="active_form_element.id + '_edit'"><?php esc_html_e('Is this field required?', 'invoicing'); ?></label> |
|
43 | 43 | </div> |
@@ -7,32 +7,32 @@ |
||
7 | 7 | * @version 1.0.19 |
8 | 8 | */ |
9 | 9 | |
10 | -defined( 'ABSPATH' ) || exit; |
|
10 | +defined('ABSPATH') || exit; |
|
11 | 11 | |
12 | 12 | ?> |
13 | 13 | |
14 | 14 | <div class='form-group'> |
15 | 15 | <label class="d-block"> |
16 | - <span><?php esc_html_e( 'Field Label', 'invoicing' ); ?></span> |
|
16 | + <span><?php esc_html_e('Field Label', 'invoicing'); ?></span> |
|
17 | 17 | <input v-model='active_form_element.label' class='form-control' type="text"/> |
18 | 18 | </label> |
19 | 19 | </div> |
20 | 20 | |
21 | 21 | <div class='form-group'> |
22 | 22 | <label class="d-block"> |
23 | - <span><?php esc_html_e( 'Placeholder text', 'invoicing' ); ?></span> |
|
23 | + <span><?php esc_html_e('Placeholder text', 'invoicing'); ?></span> |
|
24 | 24 | <input v-model='active_form_element.placeholder' class='form-control' type="text"/> |
25 | 25 | </label> |
26 | 26 | </div> |
27 | 27 | |
28 | 28 | <div class='form-group'> |
29 | 29 | <label class="d-block"> |
30 | - <span><?php esc_html_e( 'Help Text', 'invoicing' ); ?></span> |
|
31 | - <textarea placeholder='<?php esc_attr_e( 'Add some help text for this field', 'invoicing' ); ?>' v-model='active_form_element.description' class='form-control' rows='3'></textarea> |
|
30 | + <span><?php esc_html_e('Help Text', 'invoicing'); ?></span> |
|
31 | + <textarea placeholder='<?php esc_attr_e('Add some help text for this field', 'invoicing'); ?>' v-model='active_form_element.description' class='form-control' rows='3'></textarea> |
|
32 | 32 | </label> |
33 | 33 | </div> |
34 | 34 | |
35 | 35 | <div class='form-group form-check'> |
36 | 36 | <input :for="active_form_element.id + '_edit'" v-model='active_form_element.required' type='checkbox' class='form-check-input' /> |
37 | - <label class='form-check-label' :for="active_form_element.id + '_edit'"><?php esc_html_e( 'Is this field required?', 'invoicing' ); ?></label> |
|
37 | + <label class='form-check-label' :for="active_form_element.id + '_edit'"><?php esc_html_e('Is this field required?', 'invoicing'); ?></label> |
|
38 | 38 | </div> |
@@ -7,25 +7,25 @@ |
||
7 | 7 | * @version 1.0.19 |
8 | 8 | */ |
9 | 9 | |
10 | -defined( 'ABSPATH' ) || exit; |
|
10 | +defined('ABSPATH') || exit; |
|
11 | 11 | |
12 | 12 | ?> |
13 | 13 | |
14 | 14 | <div class='form-group'> |
15 | 15 | <label class="d-block"> |
16 | - <span><?php esc_html_e( 'Field Label', 'invoicing' ); ?></span> |
|
16 | + <span><?php esc_html_e('Field Label', 'invoicing'); ?></span> |
|
17 | 17 | <input v-model='active_form_element.label' class='form-control' type="text"/> |
18 | 18 | </label> |
19 | 19 | </div> |
20 | 20 | |
21 | 21 | <div class='form-group'> |
22 | 22 | <label class="d-block"> |
23 | - <span><?php esc_html_e( 'Help Text', 'invoicing' ); ?></span> |
|
24 | - <textarea placeholder='<?php esc_attr_e( 'Add some help text for this field', 'invoicing' ); ?>' v-model='active_form_element.description' class='form-control' rows='3'></textarea> |
|
23 | + <span><?php esc_html_e('Help Text', 'invoicing'); ?></span> |
|
24 | + <textarea placeholder='<?php esc_attr_e('Add some help text for this field', 'invoicing'); ?>' v-model='active_form_element.description' class='form-control' rows='3'></textarea> |
|
25 | 25 | </label> |
26 | 26 | </div> |
27 | 27 | |
28 | 28 | <div class='form-group form-check'> |
29 | 29 | <input :for="active_form_element.id + '_edit'" v-model='active_form_element.required' type='checkbox' class='form-check-input' /> |
30 | - <label class='form-check-label' :for="active_form_element.id + '_edit'"><?php esc_html_e( 'Is this field required?', 'invoicing' ); ?></label> |
|
30 | + <label class='form-check-label' :for="active_form_element.id + '_edit'"><?php esc_html_e('Is this field required?', 'invoicing'); ?></label> |
|
31 | 31 | </div> |
@@ -7,7 +7,7 @@ discard block |
||
7 | 7 | * @version 1.0.19 |
8 | 8 | */ |
9 | 9 | |
10 | -defined( 'ABSPATH' ) || exit; |
|
10 | +defined('ABSPATH') || exit; |
|
11 | 11 | |
12 | 12 | ?> |
13 | 13 | |
@@ -15,11 +15,11 @@ discard block |
||
15 | 15 | |
16 | 16 | <label class='form-group'> |
17 | 17 | <input v-model='active_form_element.hide_cart' type='checkbox' /> |
18 | - <span class='form-check-label'><?php esc_html_e( 'Hide cart details', 'invoicing' ); ?></span> |
|
18 | + <span class='form-check-label'><?php esc_html_e('Hide cart details', 'invoicing'); ?></span> |
|
19 | 19 | </label> |
20 | 20 | |
21 | 21 | <div class="mb-1"> |
22 | - <?php esc_html_e( 'Form Items', 'invoicing' ); ?> |
|
22 | + <?php esc_html_e('Form Items', 'invoicing'); ?> |
|
23 | 23 | </div> |
24 | 24 | |
25 | 25 | <draggable v-model='form_items' group='selectable_form_items'> |
@@ -38,22 +38,22 @@ discard block |
||
38 | 38 | <div class='p-3'> |
39 | 39 | |
40 | 40 | <span class='form-text'> |
41 | - <a target="_blank" :href="'<?php echo esc_url( admin_url( '/post.php?action=edit&post' ) ) ?>=' + item.id"> |
|
42 | - <?php _e( 'Edit the item name, price and other details', 'invoicing' ); ?> |
|
41 | + <a target="_blank" :href="'<?php echo esc_url(admin_url('/post.php?action=edit&post')) ?>=' + item.id"> |
|
42 | + <?php _e('Edit the item name, price and other details', 'invoicing'); ?> |
|
43 | 43 | </a> |
44 | 44 | </span> |
45 | 45 | |
46 | 46 | <label class='form-group d-block'> |
47 | 47 | <input v-model='item.allow_quantities' type='checkbox' /> |
48 | - <span><?php _e( 'Allow users to buy several quantities', 'invoicing' ); ?></span> |
|
48 | + <span><?php _e('Allow users to buy several quantities', 'invoicing'); ?></span> |
|
49 | 49 | </label> |
50 | 50 | |
51 | 51 | <label class='form-group d-block'> |
52 | 52 | <input v-model='item.required' type='checkbox' /> |
53 | - <span><?php _e( 'This item is required', 'invoicing' ); ?></span> |
|
53 | + <span><?php _e('This item is required', 'invoicing'); ?></span> |
|
54 | 54 | </label> |
55 | 55 | |
56 | - <button type='button' class='button button-link button-link-delete' @click.prevent='removeItem(item)'><?php _e( 'Delete Item', 'invoicing' ); ?></button> |
|
56 | + <button type='button' class='button button-link button-link-delete' @click.prevent='removeItem(item)'><?php _e('Delete Item', 'invoicing'); ?></button> |
|
57 | 57 | |
58 | 58 | </div> |
59 | 59 | </div> |
@@ -61,19 +61,19 @@ discard block |
||
61 | 61 | </div> |
62 | 62 | </draggable> |
63 | 63 | |
64 | - <small v-if='! form_items.length' class='form-text text-danger'><?php _e( 'You have not set up any items. Please select an item below or create a new item.', 'invoicing' ); ?></small> |
|
64 | + <small v-if='! form_items.length' class='form-text text-danger'><?php _e('You have not set up any items. Please select an item below or create a new item.', 'invoicing'); ?></small> |
|
65 | 65 | |
66 | 66 | <div class="mt-4 mb-4"> |
67 | 67 | |
68 | 68 | <div class="mb-2"> |
69 | 69 | <select class='w-100' v-init-item-search> |
70 | - <option value="" selected="selected"><?php _e( 'Select an item to add...', 'invoicing' ) ?></option> |
|
70 | + <option value="" selected="selected"><?php _e('Select an item to add...', 'invoicing') ?></option> |
|
71 | 71 | </select> |
72 | 72 | |
73 | 73 | </div> |
74 | 74 | |
75 | - <button type="button" @click.prevent='addSelectedItem' class="button button-primary"><?php _e( 'Add Selected Item', 'invoicing' ) ?></button> |
|
76 | - <a href="<?php echo esc_url( admin_url( 'post-new.php?post_type=wpi_item' ) ); ?>" target="_blank" class="button button-secondary"><?php _e( 'Create New Item.', 'invoicing' ) ?></a> |
|
75 | + <button type="button" @click.prevent='addSelectedItem' class="button button-primary"><?php _e('Add Selected Item', 'invoicing') ?></button> |
|
76 | + <a href="<?php echo esc_url(admin_url('post-new.php?post_type=wpi_item')); ?>" target="_blank" class="button button-secondary"><?php _e('Create New Item.', 'invoicing') ?></a> |
|
77 | 77 | |
78 | 78 | </div> |
79 | 79 | </div> |
@@ -82,13 +82,13 @@ discard block |
||
82 | 82 | |
83 | 83 | <label class="w-100 d-block"> |
84 | 84 | |
85 | - <span><?php esc_html_e( 'Let customers...', 'invoicing' ) ?></span> |
|
85 | + <span><?php esc_html_e('Let customers...', 'invoicing') ?></span> |
|
86 | 86 | |
87 | 87 | <select class='w-100' style="padding: 6px 24px 6px 8px; border-color: #e0e0e0;" v-model='active_form_element.items_type'> |
88 | - <option value='total' :disabled='canCheckoutSeveralSubscriptions(active_form_element)'><?php _e( 'Buy all items on the list', 'invoicing' ); ?></option> |
|
89 | - <option value='radio'><?php _e( 'Select a single item from the list', 'invoicing' ); ?></option> |
|
90 | - <option value='checkbox' :disabled='canCheckoutSeveralSubscriptions(active_form_element)'><?php _e( 'Select one or more items on the list', 'invoicing' ) ;?></option> |
|
91 | - <option value='select'><?php _e( 'Select a single item from a dropdown', 'invoicing' ); ?></option> |
|
88 | + <option value='total' :disabled='canCheckoutSeveralSubscriptions(active_form_element)'><?php _e('Buy all items on the list', 'invoicing'); ?></option> |
|
89 | + <option value='radio'><?php _e('Select a single item from the list', 'invoicing'); ?></option> |
|
90 | + <option value='checkbox' :disabled='canCheckoutSeveralSubscriptions(active_form_element)'><?php _e('Select one or more items on the list', 'invoicing'); ?></option> |
|
91 | + <option value='select'><?php _e('Select a single item from a dropdown', 'invoicing'); ?></option> |
|
92 | 92 | </select> |
93 | 93 | |
94 | 94 | </label> |
@@ -97,7 +97,7 @@ discard block |
||
97 | 97 | |
98 | 98 | <div class='form-group'> |
99 | 99 | <label class="d-block"> |
100 | - <span><?php esc_html_e( 'Help Text', 'invoicing' ); ?></span> |
|
101 | - <textarea placeholder='<?php esc_attr_e( 'Add some help text for this field', 'invoicing' ); ?>' v-model='active_form_element.description' class='form-control' rows='3'></textarea> |
|
100 | + <span><?php esc_html_e('Help Text', 'invoicing'); ?></span> |
|
101 | + <textarea placeholder='<?php esc_attr_e('Add some help text for this field', 'invoicing'); ?>' v-model='active_form_element.description' class='form-control' rows='3'></textarea> |
|
102 | 102 | </label> |
103 | 103 | </div> |
@@ -7,7 +7,7 @@ discard block |
||
7 | 7 | * @version 1.0.19 |
8 | 8 | */ |
9 | 9 | |
10 | -defined( 'ABSPATH' ) || exit; |
|
10 | +defined('ABSPATH') || exit; |
|
11 | 11 | |
12 | 12 | ?> |
13 | 13 | |
@@ -31,33 +31,33 @@ discard block |
||
31 | 31 | |
32 | 32 | <div class='form-group'> |
33 | 33 | <label class="d-block"> |
34 | - <span><?php esc_html_e( 'Field Label', 'invoicing' ); ?></span> |
|
34 | + <span><?php esc_html_e('Field Label', 'invoicing'); ?></span> |
|
35 | 35 | <input v-model='field.label' class='form-control' type="text"/> |
36 | 36 | </label> |
37 | 37 | </div> |
38 | 38 | |
39 | 39 | <div class='form-group'> |
40 | 40 | <label class="d-block"> |
41 | - <span><?php esc_html_e( 'Placeholder text', 'invoicing' ); ?></span> |
|
41 | + <span><?php esc_html_e('Placeholder text', 'invoicing'); ?></span> |
|
42 | 42 | <input v-model='field.placeholder' class='form-control' type="text"/> |
43 | 43 | </label> |
44 | 44 | </div> |
45 | 45 | |
46 | 46 | <div class='form-group'> |
47 | 47 | <label class="d-block"> |
48 | - <span><?php esc_html_e( 'Help Text', 'invoicing' ); ?></span> |
|
49 | - <textarea placeholder='<?php esc_attr_e( 'Add some help text for this field', 'invoicing' ); ?>' v-model='field.description' class='form-control' rows='3'></textarea> |
|
48 | + <span><?php esc_html_e('Help Text', 'invoicing'); ?></span> |
|
49 | + <textarea placeholder='<?php esc_attr_e('Add some help text for this field', 'invoicing'); ?>' v-model='field.description' class='form-control' rows='3'></textarea> |
|
50 | 50 | </label> |
51 | 51 | </div> |
52 | 52 | |
53 | 53 | <div class='form-group form-check'> |
54 | 54 | <input :for="active_form_element.id + '_edit_required' + index" v-model='field.required' type='checkbox' class='form-check-input' /> |
55 | - <label class='form-check-label' :for="active_form_element.id + '_edit_required' + index""><?php esc_html_e( 'Is required', 'invoicing' ); ?></label> |
|
55 | + <label class='form-check-label' :for="active_form_element.id + '_edit_required' + index""><?php esc_html_e('Is required', 'invoicing'); ?></label> |
|
56 | 56 | </div> |
57 | 57 | |
58 | 58 | <div class='form-group form-check'> |
59 | 59 | <input :for="active_form_element.id + '_edit_visible' + index" v-model='field.visible' type='checkbox' class='form-check-input' /> |
60 | - <label class='form-check-label' :for="active_form_element.id + '_edit_visible' + index""><?php esc_html_e( 'Is visible', 'invoicing' ); ?></label> |
|
60 | + <label class='form-check-label' :for="active_form_element.id + '_edit_visible' + index""><?php esc_html_e('Is visible', 'invoicing'); ?></label> |
|
61 | 61 | </div> |
62 | 62 | |
63 | 63 | </div> |
@@ -7,11 +7,11 @@ |
||
7 | 7 | * @version 1.0.19 |
8 | 8 | */ |
9 | 9 | |
10 | -defined( 'ABSPATH' ) || exit; |
|
10 | +defined('ABSPATH') || exit; |
|
11 | 11 | |
12 | 12 | ?> |
13 | 13 | |
14 | 14 | <div class='form-group'> |
15 | - <label :for="active_form_element.id + '_edit'"><?php esc_html_e( 'The total payable text', 'invoicing' ) ?></label> |
|
15 | + <label :for="active_form_element.id + '_edit'"><?php esc_html_e('The total payable text', 'invoicing') ?></label> |
|
16 | 16 | <textarea :id="active_form_element.id + '_edit'" v-model='active_form_element.text' class='form-control' rows='3'></textarea> |
17 | 17 | </div> |