class: SmartyResource mimetype: text {if $resource->test neq ''} :: ::{$resource->test_message} {/if} {if $resource->duplicate eq 'true'} :: ::----- DUPLICATE ----- ::----- DUPLICATE ----- ::----- DUPLICATE ----- {/if} {if $resource->cash eq 'Y'} :: ::$$$ CASH ORDER $$$ ::$$$ CASH ORDER $$$ ::$$$ CASH ORDER $$$ {/if} {if $resource->promo_id eq 185} :: ::$$$ AIRPORT EMPLOYEEE $$$ ::$$$ CHECK BADGE $$$ ::$$$ AIRPORT EMPLOYEEE $$$ {/if} :: ::Order For: {$resource->first_name} {$resource->last_name} {if $resource->brand_loyalty_number neq ''} ::Loyalty No: {$resource->brand_loyalty_number} {/if} ::Order Id: {$resource->order_id} ::Placed On: {$resource->order_day} at {$resource->order_time} {if $resource->order_type eq 'D'} :: ::!----- DELIVERY ------! {assign var=delivery_location_info value=$resource->delivery_info} {if $delivery_location_info->name neq ''} ::Delivery To: {$delivery_location_info->name} {else} ::Delivery Order {/if} :: Time: {$resource->requested_delivery_time} :: ::{$delivery_location_info->address1}{if $delivery_location_info->address2 neq ''} ::{$delivery_location_info->address2}{/if} ::{$delivery_location_info->city}, {$delivery_location_info->state} :: Phone: {$delivery_location_info->phone_no}:: {if $delivery_location_info->instructions neq ''} ::{$delivery_location_info->instructions} {/if} ::Dlv Charge: ${$resource->delivery_amt} ::!----- DELIVERY ------! {else} ::Pickup: {$resource->pickup_date} {$resource->pickup_time} ::Phone: {$resource->user_phone_no} {/if} :: :: ------ ::------- SUMMARY -------- :: ::Items: {$resource->order_qty} :: {if $resource->test neq ''} ::{$resource->test_message} :: {/if} {foreach from=$resource->order_summary.cart_items key=index item=menu_item} {assign var=item_name value=$menu_item.item_name} {assign var=item_size value=$menu_item.size_name} {assign var=item_quant value=$menu_item.item_quantity} {assign var=item_price value=$menu_item.item_price} ::-{if $item_quant neq '1'}{$item_quant} {/if}{if $item_size|lower neq 'one size'}{$item_size} {/if}{$item_name} {$item_price} {/foreach} :: {foreach from=$resource->receipt_items_for_merchant_printout key=index item=receipt_item}{assign var=label value=$receipt_item.title}{assign var=amount value=$receipt_item.amount} ::{$label}: {$amount} {/foreach} {if $resource->note neq ''}:: ::Instructions: {$resource->note} {/if} :: ------