add new delivery type for turbo
This commit is contained in:
@@ -98,6 +98,8 @@
|
||||
DELIVERY
|
||||
<% elsif order.delivery.delivery_type == 'pick_up' %>
|
||||
PICK-UP
|
||||
<% elsif order.delivery.delivery_type == 'turbo' %>
|
||||
TURBO
|
||||
<% else %>
|
||||
DIRECT DELIVERY
|
||||
<% end %>
|
||||
@@ -148,6 +150,8 @@
|
||||
DELIVERY
|
||||
<% elsif order.delivery.delivery_type == 'pick_up' %>
|
||||
PICK-UP
|
||||
<% elsif order.delivery.delivery_type == 'turbo' %>
|
||||
TURBO
|
||||
<% else %>
|
||||
DIRECT DELIVERY
|
||||
<% end %>
|
||||
@@ -197,6 +201,8 @@
|
||||
DELIVERY
|
||||
<% elsif order.delivery.delivery_type == 'pick_up' %>
|
||||
PICK-UP
|
||||
<% elsif order.delivery.delivery_type == 'turbo' %>
|
||||
TURBO
|
||||
<% else %>
|
||||
DIRECT DELIVERY
|
||||
<% end %>
|
||||
@@ -246,6 +252,8 @@
|
||||
DELIVERY
|
||||
<% elsif order.delivery.delivery_type == 'pick_up' %>
|
||||
PICK-UP
|
||||
<% elsif order.delivery.delivery_type == 'turbo' %>
|
||||
TURBO
|
||||
<% else %>
|
||||
DIRECT DELIVERY
|
||||
<% end %>
|
||||
@@ -295,6 +303,8 @@
|
||||
DELIVERY
|
||||
<% elsif order.delivery.delivery_type == 'pick_up' %>
|
||||
PICK-UP
|
||||
<% elsif order.delivery.delivery_type == 'turbo' %>
|
||||
TURBO
|
||||
<% else %>
|
||||
DIRECT DELIVERY
|
||||
<% end %>
|
||||
|
||||
@@ -125,6 +125,8 @@
|
||||
provider = "Pick-Up"
|
||||
elsif order_reservation.provider == 'direct_delivery'
|
||||
provider = "Direct Delivery"
|
||||
elsif order_reservation.provider == 'turbo'
|
||||
provider = "TURBO"
|
||||
else
|
||||
provider = order_reservation.provider
|
||||
end
|
||||
|
||||
@@ -101,6 +101,8 @@
|
||||
provider = "Pick-Up"
|
||||
elsif order_reservation.provider == 'direct_delivery'
|
||||
provider = "Direct Delivery"
|
||||
elsif order_reservation.provider == 'turbo'
|
||||
provider = "TURBO"
|
||||
else
|
||||
provider = order_reservation.provider
|
||||
end
|
||||
|
||||
@@ -96,11 +96,11 @@
|
||||
<thead>
|
||||
<%if @payment_type.present?%>
|
||||
<tr>
|
||||
<td colspan="6"><strong><%=@payment_type.upcase%> Payment Details</strong></td>
|
||||
<td colspan="7"><strong><%=@payment_type.upcase%> Payment Details</strong></td>
|
||||
</tr>
|
||||
<%else%>
|
||||
<tr>
|
||||
<td colspan="6"><strong>All Payment Details</strong></td>
|
||||
<td colspan="7"><strong>All Payment Details</strong></td>
|
||||
</tr>
|
||||
<%end%>
|
||||
|
||||
|
||||
@@ -83,11 +83,11 @@
|
||||
<thead>
|
||||
<%if @payment_type.present?%>
|
||||
<tr>
|
||||
<td colspan="6"><strong><%=@payment_type.upcase%> Payment Details</strong></td>
|
||||
<td colspan="7"><strong><%=@payment_type.upcase%> Payment Details</strong></td>
|
||||
</tr>
|
||||
<%else%>
|
||||
<tr>
|
||||
<td colspan="6"><strong>All Payment Details</strong></td>
|
||||
<td colspan="7"><strong>All Payment Details</strong></td>
|
||||
</tr>
|
||||
<%end%>
|
||||
|
||||
|
||||
@@ -134,6 +134,8 @@
|
||||
provider = "Pick-Up"
|
||||
elsif order_reservation.provider == 'direct_delivery'
|
||||
provider = "Direct Delivery"
|
||||
elsif order_reservation.provider == 'turbo'
|
||||
provider = "TURBO"
|
||||
else
|
||||
provider = order_reservation.provider
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user