>

{Literal}Sale/Promotion Details{/Literal}

<% if (sales.discount != 0) sales.discount = parseInt(sales.discount * 100); %>
{Literal}Percent Discount of{/Literal}:
%
{Literal}Quantity of{/Literal}  
{Literal}item(s) for the total price of{/Literal}
<% if(sales.quantityLevel != 0 && sales.quantityPrice != 0 && sales.quantityPriceIsPct) { %> <% } else { %> <% } %> <% var quantityPrice = sales.quantityPrice; if(sales.quantityLevel != 0 && sales.quantityPrice != 0 && sales.quantityPriceIsPct) quantityPrice = parseInt(sales.quantityPrice * 100); %> <% _.each(sales.quantityPriceSales, function(sale) { var quantityPrice = sale.quantityPrice; if(sales.quantityLevel != 0 && sales.quantityPrice != 0 && sales.quantityPriceIsPct) quantityPrice = parseInt(sale.quantityPrice * 100); %> <%})%>
{Literal}Quantity{/Literal}{Literal}Percent Discount{/Literal}{Literal}Price Each{/Literal} {Literal}($){/Literal}add
remove
remove
{Literal} Buy{/Literal}  
{Literal}items(s) and the next item is{/Literal}
% {Literal}off{/Literal}.
{Literal}Buy{/Literal}  
{Literal}item(s) and the next item is{/Literal}
{Literal}off{/Literal}
{Literal}Qualifying Qty of{/Literal}:
<% if(dataType == 'salePrice') var id = sales.id; else var id = qualifyingQtyType.id; %>
<% if(dataType == 'salePrice') var type = !sales.groupIsCategory ? sales.group : ''; else var type = qualifyingQtyType.qualifyingType; %>
<% if(dataType == 'salePrice') var category = sales.groupIsCategory ? sales.group : ''; else var category = qualifyingQtyType.qualifyingType; %>
{Literal}Select Item Type{/Literal}
{Literal}Select Item Category{/Literal}
{Literal}Select Item Type{/Literal}
{Literal}Select Item Category{/Literal}
<% var start = moment(sales.start).format("YYYY-MM-DD"); var end = moment(sales.end).format("YYYY-MM-DD"); %>

<% var fromMinutesTimeFormat = moment(sales.start).format("hh:mm A"); var thruMinutesTimeFormat = moment(sales.end).format("hh:mm A"); %>
{Literal}Save{/Literal} {Literal}Cancel{/Literal} {Literal}Delete{/Literal}
{Literal}Confirm Deletion{/Literal}

{Literal}Are you sure that you would like to remove this sale/promotion?{/Literal}

{Literal}Delete{/Literal} {Literal}Cancel{/Literal}

{Literal}Select Item Type{/Literal}

<% _.each(itemTypes, function(itemTypes) { %>
  <%= itemTypes.name %>
check
<% }); %>
{Literal}Cancel{/Literal}

{Literal}Select Item Category{/Literal}

<% _.each(itemCategories, function(thisCategory) { %>
  <%= thisCategory.name %>
check
<% }); %>
{Literal}Cancel{/Literal}