Added forms to stop errors when creating orders via the backend
This commit is contained in:
parent
2801d39054
commit
20bef36f65
|
@ -0,0 +1,9 @@
|
|||
<% content_for :head do %>
|
||||
<script type="text/javascript">
|
||||
jQuery(document).ready(function(){
|
||||
$("label:contains('<%= payment_method.name %>')").hide();
|
||||
$("label:contains('<%= payment_method.name %>') input").disable();
|
||||
});
|
||||
</script>
|
||||
<% end %>
|
||||
|
Loading…
Reference in New Issue