|
<% If Application(LICENSENUMBER & "calcshipcostbyweight") = "y" then
strCurrencyDisplay = ""
strWeightDisplay = " " & Application(LICENSENUMBER & "weightunit")
strColumnHeading = GetString("ContentText_OrderWeight")
Else
strCurrencyDisplay = aryCurrencies(1) & " "
strWeightDisplay = ""
strColumnHeading = GetString("ContentText_OrderValue")
End if %>
<% =strColumnHeading %> |
<%
'-----------------------------------------
'PRICES INCLUDING TAX
'-----------------------------------------
If Application(LICENSENUMBER & "pricesinctax") = "y" then
If Application(LICENSENUMBER & "showtaxdisplay") = "y" then
%>
<% WriteString("ContentText_Shipping") %> <% WriteString("ContentText_ExTax") %> |
<% WriteString("ContentText_Shipping") %> <% WriteString("ContentText_IncTax") %> |
<% Else %>
<% WriteString("ContentText_Shipping") %> |
|
<% End if
Else
'-----------------------------------------
'PRICES EXCLUDING TAX
'-----------------------------------------
If Application(LICENSENUMBER & "showtaxdisplay") = "y" then %>
<% WriteString("ContentText_Shipping") %> <% WriteString("ContentText_ExTax") %> |
<% WriteString("ContentText_Tax") %> |
<% Else %>
<% WriteString("ContentText_Shipping") %> |
|
<% End if
End if
response.write "
" & vbcrlf
end if
end if
SM_ID = objRecordSet2("SM_ID")
If objRecordSet2("SM_AutoMethod") = "n" then
%>
>
|
<%
If objRecordSet2("S_Zone") <> numZoneLast then
numZoneNumber = objRecordSet2("S_Zone")
response.write(aryZone(numZoneNumber))
else
response.write(" ")
end if
numZoneLast = objRecordSet2("S_Zone") %> |
<%
If objRecordSet2("S_Live") = "y" then
if objRecordSet2("S_Boundary") <> 999999 then
if Application(LICENSENUMBER & "calcshipcostbyweight") = "y" then
response.write(objRecordSet2("S_Boundary") & strWeightDisplay)
else
response.write(strCurrencyDisplay & CurrencyDisplay(objRecordSet2("S_Boundary"), aryCurrencies(3), aryCurrencies(4)))
end if
else
WriteString("ContentText_AllHigherOrders")
end if
else
response.write("-")
end if
response.write " | " & vbcrlf
numShipping = objRecordSet2("S_ShippingRate")
'-----------------------------------------
'PRICES INCLUDING TAX
'-----------------------------------------
If Application(LICENSENUMBER & "pricesinctax") = "y" then
If Application(LICENSENUMBER & "showtaxdisplay") = "y" then
%>
<%
If objRecordSet2("S_Live") = "y" then
If numShipping = 0 Then
WriteString("ContentText_Free")
Else
Response.Write(aryCurrencies(1) & " " & CurrencyDisplay(Round(numShipping * (1/(1 + (numTaxrate/100))),2), aryCurrencies(3), aryCurrencies(4)))
End If
else
response.write("-")
end if
%> |
<%
If objRecordSet2("S_Live") = "y" then
If numShipping = 0 Then
WriteString("ContentText_Free")
Else
Response.Write(aryCurrencies(1) & " " & CurrencyDisplay(numShipping, aryCurrencies(3), aryCurrencies(4)))
End If
else
response.write("-")
end if
%> |
<% Else %>
<%
If objRecordSet2("S_Live") = "y" then
If numShipping = 0 Then
WriteString("ContentText_Free")
Else
Response.Write(aryCurrencies(1) & " " & CurrencyDisplay(numShipping, aryCurrencies(3), aryCurrencies(4)))
End If
else
response.write("-")
end if
%> |
|
<% End if
Else
'-----------------------------------------
'PRICES EXCLUDING TAX
'-----------------------------------------
If Application(LICENSENUMBER & "showtaxdisplay") = "y" then
%>
<%
If objRecordSet2("S_Live") = "y" then
If numShipping = 0 Then
WriteString("ContentText_Free")
Else
Response.Write(aryCurrencies(1) & " " & CurrencyDisplay(numShipping, aryCurrencies(3), aryCurrencies(4)))
End If
else
response.write("-")
end if
%> |
<%
If objRecordSet2("S_Live") = "y" then
If numShipping = 0 Then
WriteString("ContentText_Free")
Else
Response.Write(numTaxrate & "%")
End If
else
response.write("-")
end if
%> |
<% Else %>
<%
If objRecordSet2("S_Live") = "y" then
If numShipping = 0 Then
WriteString("ContentText_Free")
Else
Response.Write(aryCurrencies(1) & " " & CurrencyDisplay(numShipping, aryCurrencies(3), aryCurrencies(4)))
End If
else
response.write("-")
end if
%> |
|
<% End if
End if %>
<% end if
objRecordSet2.moveNext
loop
objRecordSet2.close
%>