To add only Other Payment Name beside SX Resturant
This commit is contained in:
@@ -23,6 +23,11 @@
|
||||
<img src="<%= asset_path('SX-Logo-small.png') %>" width="40" height="40" alt="Logo" />
|
||||
<span class="navbar-brand-txt">SX Restaurant</span>
|
||||
</a>
|
||||
<% if @payment_method_setting_nav.present? %>
|
||||
<span class="navbar-brand m-0">/
|
||||
<span id="otherPayment"></span> Payment
|
||||
</span>
|
||||
<% end %>
|
||||
|
||||
</div>
|
||||
<!-- Start Shop Info -->
|
||||
@@ -73,4 +78,8 @@
|
||||
</a> -->
|
||||
</div>
|
||||
</div>
|
||||
</nav>
|
||||
</nav>
|
||||
<script type="text/javascript">
|
||||
var otherPayment = location.href.split('/')[location.href.split('/').length -1 ];
|
||||
document.getElementById("otherPayment").innerHTML = otherPayment;
|
||||
</script>
|
||||
Reference in New Issue
Block a user