first commit
This commit is contained in:
5
apps/backend/modules/stOrder/templates/_is_default.php
Normal file
5
apps/backend/modules/stOrder/templates/_is_default.php
Normal file
@@ -0,0 +1,5 @@
|
||||
<?php $is_blocked = ($order_status->getType() != OrderStatusPeer::ST_PENDING || $order_status->getIsDefault()) ?>
|
||||
<?php echo st_admin_checkbox_tag('order_status[is_default]', true, $order_status->getIsDefault(), array('disabled' => $is_blocked)) ?>
|
||||
<?php if ($is_blocked && $order_status->getIsDefault()): ?>
|
||||
<?php echo input_hidden_tag('order_status[is_default]', true) ?>
|
||||
<?php endif; ?>
|
||||
Reference in New Issue
Block a user