add new delivery type for turbo

This commit is contained in:
phyusin
2018-08-30 17:04:32 +06:30
parent fef6a4ccd0
commit 78da662a57
9 changed files with 30 additions and 7 deletions

View File

@@ -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

View File

@@ -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

View File

@@ -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%>

View File

@@ -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%>