File tree Expand file tree Collapse file tree 1 file changed +10
-10
lines changed
app/code/Magento/Sales/view/adminhtml/templates/order/create Expand file tree Collapse file tree 1 file changed +10
-10
lines changed Original file line number Diff line number Diff line change 24
24
<?= $ block ->getChildHtml ('data ' ) ?>
25
25
</div>
26
26
</form>
27
- <?php $ scriptString = <<<script
27
+ <?php $ scriptString = <<<Script
28
28
require(['jquery'], function($){
29
29
'use strict';
30
30
31
- script ;
31
+ Script ;
32
32
if ($ block ->getCustomerSelectorDisplay ()) {
33
- $ scriptString .= <<<script
33
+ $ scriptString .= <<<Script
34
34
$('div#order-customer-selector').css('display', ' {$ block ->getCustomerSelectorDisplay ()}');
35
35
$('div#order-customer-selector').removeClass('no-display');
36
- script ;
36
+ Script ;
37
37
}
38
38
if ($ block ->getStoreSelectorDisplay ()) {
39
- $ scriptString .= <<<script
39
+ $ scriptString .= <<<Script
40
40
$('div#order-store-selector').css('display', ' {$ block ->getStoreSelectorDisplay ()}');
41
41
$('div#order-store-selector').removeClass('no-display');
42
- script ;
42
+ Script ;
43
43
}
44
44
if ($ block ->getDataSelectorDisplay ()) {
45
- $ scriptString .= <<<script
45
+ $ scriptString .= <<<Script
46
46
$('div#order-data').css('display', ' {$ block ->getDataSelectorDisplay ()}');
47
47
$('div#order-data').removeClass('no-display');
48
- script ;
48
+ Script ;
49
49
}
50
- $ scriptString .= <<<script
50
+ $ scriptString .= <<<Script
51
51
});
52
- script ;
52
+ Script ;
53
53
?>
54
54
<?= /* @noEscape */ $ secureRenderer ->renderTag ('script ' , [], $ scriptString , false ) ?>
You can’t perform that action at this time.
0 commit comments