27
27
<option value="0"<?php if ($ block ->getFieldValue ('manage_stock ' ) == 0 ): ?> selected="selected"<?php endif ; ?> ><?= /* @escapeNotVerified */ __ ('No ' ) ?> </option>
28
28
</select>
29
29
<input type="hidden" id="inventory_manage_stock_default" value="<?= /* @escapeNotVerified */ $ block ->getDefaultConfigValue ('manage_stock ' ) ?> ">
30
- <?php $ _checked = ($ block ->getFieldValue ('use_config_manage_stock ' ) || $ block ->IsNew ()) ? 'checked="checked" ' : '' ?>
30
+ <?php $ _checked = ($ block ->getFieldValue ('use_config_manage_stock ' ) || $ block ->isNew ()) ? 'checked="checked" ' : '' ?>
31
31
<input type="checkbox" id="inventory_use_config_manage_stock" name="<?= /* @escapeNotVerified */ $ block ->getFieldSuffix () ?> [stock_data][use_config_manage_stock]" value="1" <?= /* @escapeNotVerified */ $ _checked ?> onclick="toggleValueElements(this, this.parentNode);" <?= /* @escapeNotVerified */ $ _readonly ?> >
32
32
<label for="inventory_use_config_manage_stock"><?= /* @escapeNotVerified */ __ ('Use Config Settings ' ) ?> </label>
33
33
<?php if (!$ block ->isReadonly ()): ?>
@@ -67,7 +67,7 @@ toggleValueElements($('inventory_use_config_manage_stock'), $('inventory_use_con
67
67
<input type="text" class="input-text validate-number" id="inventory_min_qty" name="<?= /* @escapeNotVerified */ $ block ->getFieldSuffix () ?> [stock_data][min_qty]" value="<?= /* @escapeNotVerified */ $ block ->getFieldValue ('min_qty ' ) * 1 ?> " <?= /* @escapeNotVerified */ $ _readonly ?> >
68
68
69
69
<div class="control-inner-wrap">
70
- <?php $ _checked = ($ block ->getFieldValue ('use_config_min_qty ' ) || $ block ->IsNew ()) ? 'checked="checked" ' : '' ?>
70
+ <?php $ _checked = ($ block ->getFieldValue ('use_config_min_qty ' ) || $ block ->isNew ()) ? 'checked="checked" ' : '' ?>
71
71
<input type="checkbox" id="inventory_use_config_min_qty" name="<?= /* @escapeNotVerified */ $ block ->getFieldSuffix () ?> [stock_data][use_config_min_qty]" value="1" <?= /* @escapeNotVerified */ $ _checked ?> onclick="toggleValueElements(this, this.parentNode);" <?= /* @escapeNotVerified */ $ _readonly ?> >
72
72
<label for="inventory_use_config_min_qty"><?= /* @escapeNotVerified */ __ ('Use Config Settings ' ) ?> </label>
73
73
</div>
@@ -94,7 +94,7 @@ toggleValueElements($('inventory_use_config_min_qty'), $('inventory_use_config_m
94
94
name="<?= /* @escapeNotVerified */ $ block ->getFieldSuffix () ?> [stock_data][min_sale_qty]"
95
95
value="<?= /* @escapeNotVerified */ $ block ->getFieldValue ('min_sale_qty ' ) * 1 ?> " <?= /* @escapeNotVerified */ $ _readonly ?> >
96
96
<div class="control-inner-wrap">
97
- <?php $ _checked = ($ block ->getFieldValue ('use_config_min_sale_qty ' ) || $ block ->IsNew ()) ? 'checked="checked" ' : '' ?>
97
+ <?php $ _checked = ($ block ->getFieldValue ('use_config_min_sale_qty ' ) || $ block ->isNew ()) ? 'checked="checked" ' : '' ?>
98
98
<input type="checkbox" id="inventory_use_config_min_sale_qty" name="<?= /* @escapeNotVerified */ $ block ->getFieldSuffix () ?> [stock_data][use_config_min_sale_qty]" value="1" <?= /* @escapeNotVerified */ $ _checked ?> onclick="toggleValueElements(this, this.parentNode);" class="checkbox" <?= /* @escapeNotVerified */ $ _readonly ?> >
99
99
<label for="inventory_use_config_min_sale_qty"><?= /* @escapeNotVerified */ __ ('Use Config Settings ' ) ?> </label>
100
100
</div>
@@ -117,7 +117,7 @@ toggleValueElements($('inventory_use_config_min_sale_qty'), $('inventory_use_con
117
117
</label>
118
118
<div class="control">
119
119
<input type="text" class="input-text validate-number" id="inventory_max_sale_qty" name="<?= /* @escapeNotVerified */ $ block ->getFieldSuffix () ?> [stock_data][max_sale_qty]" value="<?= /* @escapeNotVerified */ $ block ->getFieldValue ('max_sale_qty ' ) * 1 ?> " <?= /* @escapeNotVerified */ $ _readonly ?> >
120
- <?php $ _checked = ($ block ->getFieldValue ('use_config_max_sale_qty ' ) || $ block ->IsNew ()) ? 'checked="checked" ' : '' ?>
120
+ <?php $ _checked = ($ block ->getFieldValue ('use_config_max_sale_qty ' ) || $ block ->isNew ()) ? 'checked="checked" ' : '' ?>
121
121
<div class="control-inner-wrap">
122
122
<input type="checkbox" id="inventory_use_config_max_sale_qty" name="<?= /* @escapeNotVerified */ $ block ->getFieldSuffix () ?> [stock_data][use_config_max_sale_qty]" value="1" <?= /* @escapeNotVerified */ $ _checked ?> onclick="toggleValueElements(this, this.parentNode);" class="checkbox" <?= /* @escapeNotVerified */ $ _readonly ?> >
123
123
<label for="inventory_use_config_max_sale_qty"><?= /* @escapeNotVerified */ __ ('Use Config Settings ' ) ?> </label>
@@ -182,7 +182,7 @@ toggleValueElements($('inventory_use_config_max_sale_qty'), $('inventory_use_con
182
182
</select>
183
183
184
184
<div class="control-inner-wrap">
185
- <?php $ _checked = ($ block ->getFieldValue ('use_config_backorders ' ) || $ block ->IsNew ()) ? 'checked="checked" ' : '' ?>
185
+ <?php $ _checked = ($ block ->getFieldValue ('use_config_backorders ' ) || $ block ->isNew ()) ? 'checked="checked" ' : '' ?>
186
186
<input type="checkbox" id="inventory_use_config_backorders" name="<?= /* @escapeNotVerified */ $ block ->getFieldSuffix () ?> [stock_data][use_config_backorders]" value="1" <?= /* @escapeNotVerified */ $ _checked ?> onclick="toggleValueElements(this, this.parentNode);" <?= /* @escapeNotVerified */ $ _readonly ?> >
187
187
<label for="inventory_use_config_backorders"><?= /* @escapeNotVerified */ __ ('Use Config Settings ' ) ?> </label>
188
188
</div>
@@ -207,7 +207,7 @@ toggleValueElements($('inventory_use_config_backorders'), $('inventory_use_confi
207
207
<input type="text" class="input-text validate-number" id="inventory_notify_stock_qty" name="<?= /* @escapeNotVerified */ $ block ->getFieldSuffix () ?> [stock_data][notify_stock_qty]" value="<?= /* @escapeNotVerified */ $ block ->getFieldValue ('notify_stock_qty ' ) * 1 ?> " <?= /* @escapeNotVerified */ $ _readonly ?> >
208
208
209
209
<div class="control-inner-wrap">
210
- <?php $ _checked = ($ block ->getFieldValue ('use_config_notify_stock_qty ' ) || $ block ->IsNew ()) ? 'checked="checked" ' : '' ?>
210
+ <?php $ _checked = ($ block ->getFieldValue ('use_config_notify_stock_qty ' ) || $ block ->isNew ()) ? 'checked="checked" ' : '' ?>
211
211
<input type="checkbox" id="inventory_use_config_notify_stock_qty" name="<?= /* @escapeNotVerified */ $ block ->getFieldSuffix () ?> [stock_data][use_config_notify_stock_qty]" value="1" <?= /* @escapeNotVerified */ $ _checked ?> onclick="toggleValueElements(this, this.parentNode);" <?= /* @escapeNotVerified */ $ _readonly ?> >
212
212
<label for="inventory_use_config_notify_stock_qty"><?= /* @escapeNotVerified */ __ ('Use Config Settings ' ) ?> </label>
213
213
</div>
@@ -238,7 +238,7 @@ toggleValueElements($('inventory_use_config_notify_stock_qty'), $('inventory_use
238
238
<input type="hidden" id="inventory_enable_qty_increments_default" value="<?= /* @escapeNotVerified */ $ block ->getDefaultConfigValue ('enable_qty_increments ' ) ?> ">
239
239
240
240
<div class="control-inner-wrap">
241
- <?php $ _checked = ($ block ->getFieldValue ('use_config_enable_qty_inc ' ) || $ block ->IsNew ()) ? 'checked="checked" ' : '' ?>
241
+ <?php $ _checked = ($ block ->getFieldValue ('use_config_enable_qty_inc ' ) || $ block ->isNew ()) ? 'checked="checked" ' : '' ?>
242
242
<input type="checkbox" id="inventory_use_config_enable_qty_increments" name="<?= /* @escapeNotVerified */ $ block ->getFieldSuffix () ?> [stock_data][use_config_enable_qty_increments]" value="1" <?= /* @escapeNotVerified */ $ _checked ?> onclick="toggleValueElements(this, this.parentNode);" <?= /* @escapeNotVerified */ $ _readonly ?> >
243
243
<label for="inventory_use_config_enable_qty_increments"><?= /* @escapeNotVerified */ __ ('Use Config Settings ' ) ?> </label>
244
244
</div>
@@ -262,7 +262,7 @@ toggleValueElements($('inventory_use_config_enable_qty_increments'), $('inventor
262
262
<div class="control">
263
263
<input type="text" class="input-text validate-digits" id="inventory_qty_increments" name="<?= /* @escapeNotVerified */ $ block ->getFieldSuffix () ?> [stock_data][qty_increments]" value="<?= /* @escapeNotVerified */ $ block ->getFieldValue ('qty_increments ' ) * 1 ?> " <?= /* @escapeNotVerified */ $ _readonly ?> >
264
264
<div class="control-inner-wrap">
265
- <?php $ _checked = ($ block ->getFieldValue ('use_config_qty_increments ' ) || $ block ->IsNew ()) ? 'checked="checked" ' : '' ?>
265
+ <?php $ _checked = ($ block ->getFieldValue ('use_config_qty_increments ' ) || $ block ->isNew ()) ? 'checked="checked" ' : '' ?>
266
266
<input type="checkbox" id="inventory_use_config_qty_increments" name="<?= /* @escapeNotVerified */ $ block ->getFieldSuffix () ?> [stock_data][use_config_qty_increments]" value="1" <?= /* @escapeNotVerified */ $ _checked ?> onclick="toggleValueElements(this, this.parentNode);" <?= /* @escapeNotVerified */ $ _readonly ?> >
267
267
<label for="inventory_use_config_qty_increments"><?= /* @escapeNotVerified */ __ ('Use Config Settings ' ) ?> </label>
268
268
</div>
0 commit comments