{strip} {$_background_color = "#eeeeee"} {$_products_bg = "#ffffff"} {$_bonus_background = "#ffffcc"} {$_button_background = "#fcd630"} {$_main_border_color = "#cccccc"} {$_border_color = "#dddddd"}
{$order.id} {$order.create_datetime|wa_date:'humandate'} {$status}
{if empty($action_data.params['workflow.settle_target_id']) || $action_data.params['workflow.settle_target_id'] == shopHelper::decodeOrderId($order.id)}

%17%

[`Order status`]

{if !empty($order.params.auth_pin)}

%16%: {$order.params.auth_pin}

{/if} {/if}

%1%

{if !empty($action_data.params['workflow.settle_target_id'])} {if $action_data.params['workflow.settle_target_id'] == shopHelper::decodeOrderId($order.id)} {sprintf(_w('Administrator has settled your unsettled order %s.'), $order.id)} {else} {sprintf(_w('Administrator has settled your unsettled order %s by merging it with order %s.'), $order.id, shopHelper::encodeOrderId($action_data.params['workflow.settle_target_id']))} {/if} {else} {sprintf(_w('Administrator has merged your order %s with an unsettled order.'), $order.id)} {/if}

%contact_info%

{if strlen($wa->shop->settings("email"))}

[`Email`]: {$wa->shop->settings("email")}

{/if} {if strlen($wa->shop->settings("phone"))}

[`Phone`]: {$wa->shop->settings("phone")}

{/if}

© {date("Y")} {$wa->shop->settings("name")}
{$order.params.storefront_decoded}

{/strip}